forked from pool/openssl
da29a2e6df
Copy from Base:System/openssl based on submit request 24437 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/24437 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=28
14 lines
478 B
Diff
14 lines
478 B
Diff
Index: openssl-0.9.8k/crypto/x509/x509_att.c
|
|
===================================================================
|
|
--- openssl-0.9.8k.orig/crypto/x509/x509_att.c
|
|
+++ openssl-0.9.8k/crypto/x509/x509_att.c
|
|
@@ -312,7 +312,7 @@ int X509_ATTRIBUTE_set1_data(X509_ATTRIB
|
|
if(!(ttmp = ASN1_TYPE_new())) goto err;
|
|
if ((len == -1) && !(attrtype & MBSTRING_FLAG))
|
|
{
|
|
- if (!ASN1_TYPE_set1(ttmp, attrtype, data))
|
|
+ if (!ASN1_TYPE_set1(ttmp, attrtype, stmp))
|
|
goto err;
|
|
}
|
|
else
|