diff options
author | wiz <wiz@pkgsrc.org> | 2008-05-25 21:50:45 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2008-05-25 21:50:45 +0000 |
commit | ba24b47a6f65d1c7d5c28f84839e8c7359f44649 (patch) | |
tree | e5a5ad0d78fba361b31aa5ef7c1c9fc2cd83c8c4 /security | |
parent | da74f8d90f5f0f5050a28e643da8c87abdc0c27e (diff) | |
download | pkgsrc-ba24b47a6f65d1c7d5c28f84839e8c7359f44649.tar.gz |
Improve previous patch to still build on NetBSD 4.0 branch.
Addresses PR 38744.
Diffstat (limited to 'security')
-rw-r--r-- | security/qca-tls/distinfo | 4 | ||||
-rw-r--r-- | security/qca-tls/patches/patch-ab | 11 |
2 files changed, 9 insertions, 6 deletions
diff --git a/security/qca-tls/distinfo b/security/qca-tls/distinfo index edfc87485a3..82642c31e27 100644 --- a/security/qca-tls/distinfo +++ b/security/qca-tls/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.10 2008/05/15 11:06:05 wiz Exp $ +$NetBSD: distinfo,v 1.11 2008/05/25 21:50:45 wiz Exp $ SHA1 (qca-tls-1.0.tar.bz2) = 775e764c5be342048eba11dae5c5fd3b636d23c5 RMD160 (qca-tls-1.0.tar.bz2) = c553782e77ab54edde7e4f0676a3caad74dfa910 Size (qca-tls-1.0.tar.bz2) = 23489 bytes SHA1 (patch-aa) = 2c28782e3af7ecffa0b5758f1671c0773bc9af03 -SHA1 (patch-ab) = 27db22ca8bd5b0678a077b41f5505669311956b0 +SHA1 (patch-ab) = 6f17140b26669208b30e1e829816c6ffe9d98b0c diff --git a/security/qca-tls/patches/patch-ab b/security/qca-tls/patches/patch-ab index d6095cc7e06..2540b81f8b3 100644 --- a/security/qca-tls/patches/patch-ab +++ b/security/qca-tls/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.6 2008/05/15 11:06:05 wiz Exp $ +$NetBSD: patch-ab,v 1.7 2008/05/25 21:50:45 wiz Exp $ ---- qca-tls.cpp.orig 2003-12-10 16:53:57.000000000 +0000 +--- qca-tls.cpp.orig 2003-12-10 17:53:57.000000000 +0100 +++ qca-tls.cpp @@ -454,7 +454,11 @@ public: if(!r) { @@ -26,12 +26,15 @@ $NetBSD: patch-ab,v 1.6 2008/05/15 11:06:05 wiz Exp $ X509 *t = d2i_X509(NULL, &p, len); if(!t) return false; -@@ -945,7 +953,7 @@ public: +@@ -945,7 +953,11 @@ public: RSAKeyContext *key; SSL *ssl; -- SSL_METHOD *method; ++#if OPENSSL_VERSION_NUMBER < 0x00909000L + SSL_METHOD *method; ++#else + const SSL_METHOD *method; ++#endif SSL_CTX *context; BIO *rbio, *wbio; CertContext cc; |