mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
0738863699
PR: ports/181879 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
15 lines
376 B
C++
15 lines
376 B
C++
--- ulxmlrpcpp/contrib/ssl_connection.cpp.orig
|
|
+++ ulxmlrpcpp/contrib/ssl_connection.cpp
|
|
@@ -227,7 +227,11 @@
|
|
if (ssl_ctx != 0)
|
|
SSL_CTX_free(ssl_ctx);
|
|
|
|
+#if defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10000000L
|
|
+ const SSL_METHOD *meth = SSLv23_method();
|
|
+#else
|
|
SSL_METHOD *meth = SSLv23_method();
|
|
+#endif
|
|
|
|
ssl_ctx = SSL_CTX_new (meth);
|
|
|