File func-parm-err.patch of Package openssl-0.9.8k

Index: openssl-0.9.8h/crypto/x509/x509_att.c
================================================================================
--- openssl-0.9.8h/crypto/x509/x509_att.c
+++ openssl-0.9.8h/crypto/x509/x509_att.c
@@ -305,7 +305,7 @@
 	if(!(ttmp = ASN1_TYPE_new())) goto err;
 	if (len == -1)
 		{
-		if (!ASN1_TYPE_set1(ttmp, attrtype, data))
+		if (!ASN1_TYPE_set1(ttmp, attrtype, stmp))
 			goto err;
 		}
 	else