summaryrefslogtreecommitdiffstats
path: root/crypto/asn1
diff options
context:
space:
mode:
authorRaphael Spreitzer <raphael.spreitzer@gmail.com>2014-08-27 22:53:10 -0400
committerRich Salz <rsalz@akamai.com>2014-08-27 22:59:52 -0400
commitabc2dfbcc3f2f03c4870ec95a9c48423c6745b81 (patch)
treec9d26649d7fbfdf7df2ad5727f004c2396b6e25a /crypto/asn1
parent23ea9f6f03332c07977964c674fa00699d999220 (diff)
RT2400: ASN1_STRING_to_UTF8 missing initializer
Reviewed-by: Tim Hudson <tjh@openssl.org> (cherry picked from commit f9fb43e176ad2a914108cd2b403425dc1ebc7262)
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/a_strex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/a_strex.c b/crypto/asn1/a_strex.c
index ead37ac325..8fb4193bc0 100644
--- a/crypto/asn1/a_strex.c
+++ b/crypto/asn1/a_strex.c
@@ -568,6 +568,7 @@ int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in)
mbflag |= MBSTRING_FLAG;
stmp.data = NULL;
stmp.length = 0;
+ stmp.flags = 0;
ret = ASN1_mbstring_copy(&str, in->data, in->length, mbflag, B_ASN1_UTF8STRING);
if(ret < 0) return ret;
*out = stmp.data;