openssl/func-parm-err.patch
OBS User autobuild da29a2e6df Accepting request 24437 from Base:System
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
2009-11-16 09:08:26 +00:00

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