From 446a6a8af7774900ee1f0333a047da9d66f8e742 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 17 Nov 2009 13:25:53 +0000 Subject: [PATCH] PR: 2103 Submitted by: Rob Austein Approved by: steve@openssl.org Initialise atm.flags to 0. --- crypto/x509/x509_vfy.c | 1 + 1 file changed, 1 insertion(+) 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; -- GitLab