From 1e963007c0d9466726a8680e52a95955288d8927 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Tue, 7 Oct 2014 05:35:11 +0000 Subject: debian/patches/0001-Update-openssl-to-0.9.8za.patch: cherry-pick openssl 0.9.8za in via upstream. --- Cryptlib/OpenSSL/crypto/asn1/a_strex.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Cryptlib/OpenSSL/crypto/asn1/a_strex.c') 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; -- cgit v1.2.3