summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-10-25 11:59:37 +0000
committermiod <miod@openbsd.org>2015-10-25 11:59:37 +0000
commitc1eeab684f6c84c94e5010e72636e1a5a7007c39 (patch)
tree015ff33f3dde6eda00cbd3411d2e7cfb0ad4ce74
parentIntroduce if_rtrequest() the successor of ifa_rtrequest(). (diff)
downloadwireguard-openbsd-c1eeab684f6c84c94e5010e72636e1a5a7007c39.tar.xz
wireguard-openbsd-c1eeab684f6c84c94e5010e72636e1a5a7007c39.zip
Missing initializer; spotted by coverity.
-rw-r--r--regress/lib/libcrypto/asn1/asn1time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/asn1/asn1time.c b/regress/lib/libcrypto/asn1/asn1time.c
index 4db0f12769b..7ed7197ee55 100644
--- a/regress/lib/libcrypto/asn1/asn1time.c
+++ b/regress/lib/libcrypto/asn1/asn1time.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asn1time.c,v 1.6 2015/10/22 14:10:55 jsing Exp $ */
+/* $OpenBSD: asn1time.c,v 1.7 2015/10/25 11:59:37 miod Exp $ */
/*
* Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
*
@@ -295,7 +295,7 @@ asn1_utctime_test(int test_no, struct asn1_time_test *att)
{
const unsigned char *der;
unsigned char *p = NULL;
- ASN1_UTCTIME *ut;
+ ASN1_UTCTIME *ut = NULL;
int failure = 1;
int len;