File func-parm-err.patch of Package openssl

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
openSUSE Build Service is sponsored by