summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-07-11 21:42:47 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-07-11 21:42:47 +0000
commit0c644f1462a68e3a3169c2a977321cfb85c3601e (patch)
tree2e46dca13d340d46386e4edfdc20c9835f5558fb /crypto/asn1
parenta2da5c7daa183999440a6a1dd9eafae368cbd45f (diff)
PR: 1985
Submitted by: Artem Chuprina <ran@cryptocom.ru> Approved by: steve@openssl.org Initialise flags.
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/a_time.c1
1 files changed, 1 insertions, 0 deletions
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;