Missing initializer; spotted by coverity.
authormiod <miod@openbsd.org>
Sun, 25 Oct 2015 11:59:37 +0000 (11:59 +0000)
committermiod <miod@openbsd.org>
Sun, 25 Oct 2015 11:59:37 +0000 (11:59 +0000)
regress/lib/libcrypto/asn1/asn1time.c

index 4db0f12..7ed7197 100644 (file)
@@ -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;