summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/mft.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-03-12 11:46:36 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-03-12 11:46:36 +0000
commitdad371b7f3bbd1e7ce1d92349b90a213b12cfd21 (patch)
tree4c9b5a09e4c753ec28ecf61e920d5fe83fdd4ca4 /usr.sbin/rpki-client/mft.c
parentc361239e7bf61af241c8d864b441a8d3c0a81463 (diff)
Initialize the local signtime variable in the individual *_parse()
functions ok job
Diffstat (limited to 'usr.sbin/rpki-client/mft.c')
-rw-r--r--usr.sbin/rpki-client/mft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/mft.c b/usr.sbin/rpki-client/mft.c
index 0e2b207bf34..2345d0fc586 100644
--- a/usr.sbin/rpki-client/mft.c
+++ b/usr.sbin/rpki-client/mft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mft.c,v 1.84 2023/03/09 18:53:24 tb Exp $ */
+/* $OpenBSD: mft.c,v 1.85 2023/03/12 11:46:35 tb Exp $ */
/*
* Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -353,7 +353,7 @@ mft_parse(X509 **x509, const char *fn, const unsigned char *der, size_t len)
size_t cmsz;
unsigned char *cms;
char *crldp = NULL, *crlfile;
- time_t signtime;
+ time_t signtime = 0;
memset(&p, 0, sizeof(struct parse));
p.fn = fn;