diff options
author | Job Snijders <job@cvs.openbsd.org> | 2022-04-20 10:46:21 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2022-04-20 10:46:21 +0000 |
commit | cefc080d6ef5721457172b1641d1e2d7a38b1e7e (patch) | |
tree | 3ee2f52055fb7dbd880d967525c2ffcb810b09fc /usr.sbin/rpki-client/mft.c | |
parent | 9e3b82aa8c97a55b041bccb95813e3a7ce63eeef (diff) |
Add Concatenated JSON output in filemode (rpki-client -j -f *)
The schema is still work in progress.
OK claudio@
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r-- | usr.sbin/rpki-client/mft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c index 4d8caf2ac73..565a441b0bb 100644 --- a/usr.sbin/rpki-client/mft.c +++ b/usr.sbin/rpki-client/mft.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mft.c,v 1.59 2022/04/19 18:52:36 tb Exp $ */ +/* $OpenBSD: mft.c,v 1.60 2022/04/20 10:46:20 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -86,7 +86,7 @@ mft_parse_time(const ASN1_GENERALIZEDTIME *from, return 0; } - if ((p->res->valid_from = timegm(&tm_from)) == -1 || + if ((p->res->valid_since = timegm(&tm_from)) == -1 || (p->res->valid_until = timegm(&tm_until)) == -1) errx(1, "%s: timegm failed", p->fn); |