pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/xmlsec1 Fix compilation with OpenSSL 0.9.8.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e2578e4efcd
branches:  trunk
changeset: 505627:8e2578e4efcd
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jan 05 19:00:11 2006 +0000

description:
Fix compilation with OpenSSL 0.9.8.

diffstat:

 security/xmlsec1/distinfo         |   3 ++-
 security/xmlsec1/patches/patch-aa |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 0543bc3a69f2 -r 8e2578e4efcd security/xmlsec1/distinfo
--- a/security/xmlsec1/distinfo Thu Jan 05 18:34:54 2006 +0000
+++ b/security/xmlsec1/distinfo Thu Jan 05 19:00:11 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:10:14 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/01/05 19:00:11 joerg Exp $
 
 SHA1 (xmlsec1-1.2.6.tar.gz) = de5b7a70825d96ee9ee7e1aa43194df8412cf72d
 RMD160 (xmlsec1-1.2.6.tar.gz) = bdc7692be5c4f4c27c177fe5271b13382a44d452
 Size (xmlsec1-1.2.6.tar.gz) = 1595648 bytes
+SHA1 (patch-aa) = 1718c051201bf7803057b2a8ad7b004f90e35147
diff -r 0543bc3a69f2 -r 8e2578e4efcd security/xmlsec1/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/xmlsec1/patches/patch-aa Thu Jan 05 19:00:11 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2006/01/05 19:00:11 joerg Exp $
+
+--- src/openssl/x509vfy.c.orig 2006-01-02 13:44:25.000000000 +0000
++++ src/openssl/x509vfy.c
+@@ -499,7 +499,11 @@ xmlSecOpenSSLX509StoreInitialize(xmlSecK
+       }    
+       X509_LOOKUP_add_dir(lookup, (char*)path, X509_FILETYPE_DEFAULT);
+     }
++#if OPENSSL_VERSION_NUMBER < 0x00908000L
+     ctx->xst->depth = 9; /* the default cert verification path in openssl */  
++#else
++    X509_STORE_set_depth(ctx->xst, 9);
++#endif
+       
+     ctx->untrusted = sk_X509_new_null();
+     if(ctx->untrusted == NULL) {



Home | Main Index | Thread Index | Old Index