summaryrefslogtreecommitdiff
path: root/security/qca-tls
diff options
context:
space:
mode:
authorwiz <wiz>2008-05-25 21:50:45 +0000
committerwiz <wiz>2008-05-25 21:50:45 +0000
commit97dda8bf2bc623f7a69b2a8ff2e85c6c83587afa (patch)
treee5a5ad0d78fba361b31aa5ef7c1c9fc2cd83c8c4 /security/qca-tls
parent7622068693aac7291caeacb4e6c439b5b70d4984 (diff)
downloadpkgsrc-97dda8bf2bc623f7a69b2a8ff2e85c6c83587afa.tar.gz
Improve previous patch to still build on NetBSD 4.0 branch.
Addresses PR 38744.
Diffstat (limited to 'security/qca-tls')
-rw-r--r--security/qca-tls/distinfo4
-rw-r--r--security/qca-tls/patches/patch-ab11
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;