2009-11-16 10:08:26 +01:00
|
|
|
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
|
2008-10-22 18:31:03 +02:00
|
|
|
if(!(ttmp = ASN1_TYPE_new())) goto err;
|
2009-11-16 10:08:26 +01:00
|
|
|
if ((len == -1) && !(attrtype & MBSTRING_FLAG))
|
2008-10-22 18:31:03 +02:00
|
|
|
{
|
|
|
|
- if (!ASN1_TYPE_set1(ttmp, attrtype, data))
|
|
|
|
+ if (!ASN1_TYPE_set1(ttmp, attrtype, stmp))
|
|
|
|
goto err;
|
|
|
|
}
|
|
|
|
else
|