pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/openssl/patches Might be good to actually add...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bb71214a9655
branches:  trunk
changeset: 548955:bb71214a9655
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Oct 25 12:04:34 2008 +0000

description:
Might be good to actually add the patch that fixes the problem

diffstat:

 security/openssl/patches/patch-am |  13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r 90df2951d5ba -r bb71214a9655 security/openssl/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/openssl/patches/patch-am Sat Oct 25 12:04:34 2008 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index