summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL/crypto/asn1/a_strex.c
diff options
context:
space:
mode:
authorGary Ching-Pang Lin <glin@suse.com>2014-07-14 09:03:36 -0400
committerPeter Jones <pjones@redhat.com>2014-07-14 09:03:36 -0400
commitf9368474dd80b630adf745314b0336c16a35b0ad (patch)
treeb82d269a6f732af91e6b599003888d8b10a13bf2 /Cryptlib/OpenSSL/crypto/asn1/a_strex.c
parent875eb1b9d501d853b2c44f86a32a51b59f85eef9 (diff)
downloadefi-boot-shim-f9368474dd80b630adf745314b0336c16a35b0ad.tar.gz
efi-boot-shim-f9368474dd80b630adf745314b0336c16a35b0ad.zip
Update openssl to 0.9.8za
Also update to Tiano Cryptlib r15638
Diffstat (limited to 'Cryptlib/OpenSSL/crypto/asn1/a_strex.c')
-rwxr-xr-xCryptlib/OpenSSL/crypto/asn1/a_strex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cryptlib/OpenSSL/crypto/asn1/a_strex.c b/Cryptlib/OpenSSL/crypto/asn1/a_strex.c
index 264ebf23..ead37ac3 100755
--- a/Cryptlib/OpenSSL/crypto/asn1/a_strex.c
+++ b/Cryptlib/OpenSSL/crypto/asn1/a_strex.c
@@ -567,6 +567,7 @@ int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in)
if(mbflag == -1) return -1;
mbflag |= MBSTRING_FLAG;
stmp.data = NULL;
+ stmp.length = 0;
ret = ASN1_mbstring_copy(&str, in->data, in->length, mbflag, B_ASN1_UTF8STRING);
if(ret < 0) return ret;
*out = stmp.data;