SHA256
3
0
forked from pool/openssl
openssl/func-parm-err.patch

14 lines
412 B
Diff

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