From: Dr. Stephen Henson Date: Sat, 11 Jul 2009 21:42:47 +0000 (+0000) Subject: PR: 1985 X-Git-Tag: OpenSSL_1_0_0-beta3~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c644f1462a68e3a3169c2a977321cfb85c3601e;p=oweals%2Fopenssl.git PR: 1985 Submitted by: Artem Chuprina Approved by: steve@openssl.org Initialise flags. --- diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c index 7be158da26..e2eb9b243e 100644 --- a/crypto/asn1/a_time.c +++ b/crypto/asn1/a_time.c @@ -180,6 +180,7 @@ int ASN1_TIME_set_string(ASN1_TIME *s, const char *str) t.length = strlen(str); t.data = (unsigned char *)str; + t.flags = 0; t.type = V_ASN1_UTCTIME;