aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pwlib152
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2006-02-23 06:19:01 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2006-02-23 06:19:01 +0800
commit59d8d20da2c6c68c007a4b2bfea39166e2c151a9 (patch)
treeda9f1f9e6aec13a89e8f4c534717b9a54ec623fc /devel/pwlib152
parent673074ded50ae72054e23dec35303ed0bff09281 (diff)
downloadfreebsd-ports-gnome-59d8d20da2c6c68c007a4b2bfea39166e2c151a9.tar.gz
freebsd-ports-gnome-59d8d20da2c6c68c007a4b2bfea39166e2c151a9.tar.zst
freebsd-ports-gnome-59d8d20da2c6c68c007a4b2bfea39166e2c151a9.zip
Fix patch when when openssl-beta is not used.
Approved by: maintainer
Diffstat (limited to 'devel/pwlib152')
-rw-r--r--devel/pwlib152/files/patch-src_ptclib_pssl.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/pwlib152/files/patch-src_ptclib_pssl.cxx b/devel/pwlib152/files/patch-src_ptclib_pssl.cxx
index 9c510451ae0e..4d5d8d34e99e 100644
--- a/devel/pwlib152/files/patch-src_ptclib_pssl.cxx
+++ b/devel/pwlib152/files/patch-src_ptclib_pssl.cxx
@@ -1,5 +1,5 @@
--- src/ptclib/pssl.cxx.orig Wed Apr 16 04:00:19 2003
-+++ src/ptclib/pssl.cxx Wed Feb 15 23:54:42 2006
++++ src/ptclib/pssl.cxx Wed Feb 22 09:24:08 2006
@@ -285,14 +285,22 @@
PSSLPrivateKey::PSSLPrivateKey(const BYTE * keyData, PINDEX keySize)
@@ -46,13 +46,15 @@
}
-@@ -477,7 +493,8 @@
+@@ -477,7 +493,11 @@
PBase64::Decode(certStr, certData);
if (certData.GetSize() > 0) {
const BYTE * certPtr = certData;
-- certificate = d2i_X509(NULL, (unsigned char **)&certPtr, certData.GetSize());
-+// certificate = d2i_X509(NULL, (unsigned char **)&certPtr, certData.GetSize());
++#if (OPENSSL_VERSION_NUMBER < 0x0090801f)
+ certificate = d2i_X509(NULL, (unsigned char **)&certPtr, certData.GetSize());
++#else
+ certificate = d2i_X509(NULL, (const unsigned char **)&certPtr, certData.GetSize());
++#endif
}
else
certificate = NULL;