diff options
author | adrianp <adrianp@pkgsrc.org> | 2008-10-25 12:04:34 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2008-10-25 12:04:34 +0000 |
commit | ab2f6500292aceaa4693a4c85c7b8e040b38318a (patch) | |
tree | 0698f53accd822bb31f74cee51b26cfda3a50374 /security | |
parent | 60bf859bf17c3578182f08afc8c945f3ce4323e2 (diff) | |
download | pkgsrc-ab2f6500292aceaa4693a4c85c7b8e040b38318a.tar.gz |
Might be good to actually add the patch that fixes the problem
Diffstat (limited to 'security')
-rw-r--r-- | security/openssl/patches/patch-am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/openssl/patches/patch-am b/security/openssl/patches/patch-am new file mode 100644 index 00000000000..c34822b608f --- /dev/null +++ b/security/openssl/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.5 2008/10/25 12:04:34 adrianp Exp $ + +--- crypto/x509/x509_att.c.orig 2008-04-02 12:11:51.000000000 +0100 ++++ crypto/x509/x509_att.c +@@ -303,7 +303,7 @@ int X509_ATTRIBUTE_set1_data(X509_ATTRIB + } + if(!(attr->value.set = sk_ASN1_TYPE_new_null())) goto err; + if(!(ttmp = ASN1_TYPE_new())) goto err; +- if (len == -1) ++ if ((len == -1) && !(attrtype & MBSTRING_FLAG)) + { + if (!ASN1_TYPE_set1(ttmp, attrtype, data)) + goto err; |