summaryrefslogtreecommitdiff
path: root/security/qca-tls
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-31 09:47:04 +0000
committerjoerg <joerg>2006-01-31 09:47:04 +0000
commit2ca65bef6fdcbd350e9e286259ae38df6f21a3d5 (patch)
tree87714a0e57bf0b358d6b7a2bc0982245a6fa0b60 /security/qca-tls
parent0dc699ae44aa4b7dc586d856200d360fe63381e7 (diff)
downloadpkgsrc-2ca65bef6fdcbd350e9e286259ae38df6f21a3d5.tar.gz
OpenSSL 0.9.7 doesn't work with unsigned char in this parts, so try
to conditionalize it for OpenSSL 0.9.8 and newer.
Diffstat (limited to 'security/qca-tls')
-rw-r--r--security/qca-tls/distinfo4
-rw-r--r--security/qca-tls/patches/patch-ab6
2 files changed, 5 insertions, 5 deletions
diff --git a/security/qca-tls/distinfo b/security/qca-tls/distinfo
index 5ea95c330bd..c51aaa0e86d 100644
--- a/security/qca-tls/distinfo
+++ b/security/qca-tls/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/12/27 22:28:08 joerg Exp $
+$NetBSD: distinfo,v 1.6 2006/01/31 09:47:04 joerg 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) = 379df4bf16f951c1a1dc044b9aa6683b3755efba
+SHA1 (patch-ab) = 3d59570c75a52f0ce9850584326ceeb4bf59f08f
diff --git a/security/qca-tls/patches/patch-ab b/security/qca-tls/patches/patch-ab
index dc30a602e83..06835de5d6b 100644
--- a/security/qca-tls/patches/patch-ab
+++ b/security/qca-tls/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1 2005/12/27 22:28:08 joerg Exp $
+$NetBSD: patch-ab,v 1.2 2006/01/31 09:47:05 joerg Exp $
--- qca-tls.cpp.orig 2005-12-27 22:22:32.000000000 +0000
+++ qca-tls.cpp
@@ -6,7 +6,7 @@ $NetBSD: patch-ab,v 1.1 2005/12/27 22:28:08 joerg Exp $
if(!r) {
// try this other public function, for whatever reason
p = (void *)in;
-+#ifdef OSSL_097
++#if OPENSSL_VERSION_NUMBER >= 0x00908000
+ r = d2i_RSA_PUBKEY(NULL, (const unsigned char **)&p, len);
+#else
r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p, len);
@@ -18,7 +18,7 @@ $NetBSD: patch-ab,v 1.1 2005/12/27 22:28:08 joerg Exp $
bool createFromDER(const char *in, unsigned int len)
{
-+#ifdef OSSL_097
++#if OPENSSL_VERSION_NUMBER >= 0x00908000
+ const unsigned char *p = (const unsigned char *)in;
+#else
unsigned char *p = (unsigned char *)in;