summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-11-17 13:25:53 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-11-17 13:25:53 +0000
commit446a6a8af7774900ee1f0333a047da9d66f8e742 (patch)
treebd0541b5455b2d629668d6a9a9ceb87350626c43 /crypto/x509
parent320d3fd6af25e19e5a306d6c2de8df36c767dd42 (diff)
PR: 2103
Submitted by: Rob Austein <sra@hactrn.net> Approved by: steve@openssl.org Initialise atm.flags to 0.
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_vfy.c1
1 files changed, 1 insertions, 0 deletions
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;