diff options
author | 2010-07-11 04:07:19 +0000 | |
---|---|---|
committer | 2010-07-11 04:07:19 +0000 | |
commit | fe71670c1227a02b626cb780d5325e819d628412 (patch) | |
tree | c0df58d981835d2e5867724578b185acaa74043a /dev-libs/pwlib/files | |
parent | Fix quoting... (diff) | |
download | historical-fe71670c1227a02b626cb780d5325e819d628412.tar.gz historical-fe71670c1227a02b626cb780d5325e819d628412.tar.bz2 historical-fe71670c1227a02b626cb780d5325e819d628412.zip |
Missing #ifdef in patch, thanks to Michael Sterrett for noticing.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/pwlib/files')
-rw-r--r-- | dev-libs/pwlib/files/pwlib-1.10.10-openssl-1.patch | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-libs/pwlib/files/pwlib-1.10.10-openssl-1.patch b/dev-libs/pwlib/files/pwlib-1.10.10-openssl-1.patch index 170949495765..01c592832ff1 100644 --- a/dev-libs/pwlib/files/pwlib-1.10.10-openssl-1.patch +++ b/dev-libs/pwlib/files/pwlib-1.10.10-openssl-1.patch @@ -2,12 +2,15 @@ http://bugs.gentoo.org/326797 --- src/ptclib/pssl.cxx +++ src/ptclib/pssl.cxx -@@ -888,7 +888,7 @@ +@@ -888,7 +888,11 @@ InitialisationMutex.Signal(); // create the new SSL context -- SSL_METHOD * meth = SSLv23_method(); ++ #if OPENSSL_VERSION_NUMBER >= 0x10000000L + const SSL_METHOD * meth = SSLv23_method(); ++ #else + SSL_METHOD * meth = SSLv23_method(); ++ #endif context = SSL_CTX_new(meth); if (context == NULL) PSSLAssert("Error creating context: "); |