From: Dr. Stephen Henson Date: Tue, 17 Nov 2009 13:25:53 +0000 (+0000) Subject: PR: 2103 X-Git-Tag: OpenSSL-fips-2_0-rc1~1432 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=446a6a8af7774900ee1f0333a047da9d66f8e742 PR: 2103 Submitted by: Rob Austein Approved by: steve@openssl.org Initialise atm.flags to 0. --- diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 514573325e..87ebf62525 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -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;