PR: 2103
authorDr. Stephen Henson <steve@openssl.org>
Tue, 17 Nov 2009 13:25:53 +0000 (13:25 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 17 Nov 2009 13:25:53 +0000 (13:25 +0000)
Submitted by: Rob Austein <sra@hactrn.net>
Approved by: steve@openssl.org

Initialise atm.flags to 0.

crypto/x509/x509_vfy.c

index 5145733..87ebf62 100644 (file)
@@ -1727,6 +1727,7 @@ int X509_cmp_time(const ASN1_TIME *ctm, time_t *cmp_time)
                        offset= -offset;
                }
        atm.type=ctm->type;
+       atm.flags = 0;
        atm.length=sizeof(buff2);
        atm.data=(unsigned char *)buff2;