summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-14 08:16:35 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-14 08:16:35 +0000
commit727c031cf0287b8be3f1e7dff4155a75539231f5 (patch)
tree30215eeb40804a5b6a555ca9a025e3e4cecf704c /dev-libs/poco/files
parentFix Manifest (diff)
downloadhistorical-727c031cf0287b8be3f1e7dff4155a75539231f5.tar.gz
historical-727c031cf0287b8be3f1e7dff4155a75539231f5.tar.bz2
historical-727c031cf0287b8be3f1e7dff4155a75539231f5.zip
Fix building with OpenSSL >= 1.0.0 wrt #327769 by Diego E. Pettenò.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/poco/files')
-rw-r--r--dev-libs/poco/files/1.3.3_p1-openssl-1.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/poco/files/1.3.3_p1-openssl-1.patch b/dev-libs/poco/files/1.3.3_p1-openssl-1.patch
new file mode 100644
index 000000000000..2377edd85a63
--- /dev/null
+++ b/dev-libs/poco/files/1.3.3_p1-openssl-1.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/327769
+
+--- NetSSL_OpenSSL/src/SecureSocketImpl.cpp
++++ NetSSL_OpenSSL/src/SecureSocketImpl.cpp
+@@ -430,7 +430,11 @@
+
+ if (!strcmp(extstr, "subjectAltName"))
+ {
++ #if OPENSSL_VERSION_NUMBER >= 0x10000000L
++ const X509V3_EXT_METHOD* meth = X509V3_EXT_get(ext);
++ #else
+ X509V3_EXT_METHOD* meth = X509V3_EXT_get(ext);
++ #endif
+ if (!meth)
+ break;
+