summaryrefslogtreecommitdiff
path: root/security/xmlsec1
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-05 19:00:11 +0000
committerjoerg <joerg>2006-01-05 19:00:11 +0000
commit4c9707abfca2f8efd7237988b1dac0d98db3f381 (patch)
tree0fe1977356635f25674cccca8d14bace32e6fc3f /security/xmlsec1
parentf50f1ae9ee3948822dbdcecc3c029a0050e19868 (diff)
downloadpkgsrc-4c9707abfca2f8efd7237988b1dac0d98db3f381.tar.gz
Fix compilation with OpenSSL 0.9.8.
Diffstat (limited to 'security/xmlsec1')
-rw-r--r--security/xmlsec1/distinfo3
-rw-r--r--security/xmlsec1/patches/patch-aa16
2 files changed, 18 insertions, 1 deletions
diff --git a/security/xmlsec1/distinfo b/security/xmlsec1/distinfo
index f5727014d7a..4aaa91dedc5 100644
--- a/security/xmlsec1/distinfo
+++ b/security/xmlsec1/distinfo
@@ -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 --git a/security/xmlsec1/patches/patch-aa b/security/xmlsec1/patches/patch-aa
new file mode 100644
index 00000000000..c923da34c62
--- /dev/null
+++ b/security/xmlsec1/patches/patch-aa
@@ -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) {