diff options
author | Job Snijders <job@cvs.openbsd.org> | 2023-03-13 09:24:38 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2023-03-13 09:24:38 +0000 |
commit | f8399c60550612ed86ffb98a8c84152b1d97e21d (patch) | |
tree | 56cda5ea17fb09ac7a08eb865f7f821c526363fa /usr.sbin/rpki-client/mft.c | |
parent | b6336b8478f3f874da59b3f50dc9216dae3ce2ed (diff) |
Rename some data fields to closer match their provenance
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r-- | usr.sbin/rpki-client/mft.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c index a8848ed4856..eb7db16c801 100644 --- a/usr.sbin/rpki-client/mft.c +++ b/usr.sbin/rpki-client/mft.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mft.c,v 1.86 2023/03/12 11:54:56 job Exp $ */ +/* $OpenBSD: mft.c,v 1.87 2023/03/13 09:24:37 job Exp $ */ /* * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> @@ -130,8 +130,8 @@ mft_parse_time(const ASN1_GENERALIZEDTIME *from, return 0; } - if ((p->res->valid_since = timegm(&tm_from)) == -1 || - (p->res->valid_until = timegm(&tm_until)) == -1) + if ((p->res->thisupdate = timegm(&tm_from)) == -1 || + (p->res->nextupdate = timegm(&tm_until)) == -1) errx(1, "%s: timegm failed", p->fn); return 1; |