diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-05 19:00:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-05 19:00:11 +0000 |
commit | c1cf303452f39849d9f431fae041605cbddb35a7 (patch) | |
tree | 0fe1977356635f25674cccca8d14bace32e6fc3f /security | |
parent | 0e1e82d5eb22711695203aac626635c8813028c1 (diff) | |
download | pkgsrc-c1cf303452f39849d9f431fae041605cbddb35a7.tar.gz |
Fix compilation with OpenSSL 0.9.8.
Diffstat (limited to 'security')
-rw-r--r-- | security/xmlsec1/distinfo | 3 | ||||
-rw-r--r-- | security/xmlsec1/patches/patch-aa | 16 |
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) { |