PR: 1985
authorDr. Stephen Henson <steve@openssl.org>
Sat, 11 Jul 2009 21:42:47 +0000 (21:42 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 11 Jul 2009 21:42:47 +0000 (21:42 +0000)
Submitted by: Artem Chuprina <ran@cryptocom.ru>
Approved by: steve@openssl.org

Initialise flags.

crypto/asn1/a_time.c

index 7be158da260b446c7d1d5fca806e3116a0dae263..e2eb9b243efbb17c046b097c50fcf4ae43d94b9c 100644 (file)
@@ -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;