summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-11-17 13:25:35 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-11-17 13:25:35 +0000
commit5e8d95f5903fe91662db5f521efd34a9e347e564 (patch)
tree1060ab1c69c9d31fd098ef88cdc192aebe5c31bf /crypto/x509
parent2156704924e56928af0b87ddf10cf29e9425c072 (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;