SSLv3_client_method() is deprecated in OpenSSL-1.1 and LibreSSL.
They suggest to use SSLv23_client_method().
Do so to fix compilation with OpenSSL >=1.1 and LibreSSL.
Index: src/ssl.cpp
===================================================================
--- src/ssl.cpp (revision 1907)
+++ src/ssl.cpp (working copy)
@@ -386,7 +386,7 @@
if(so == INVALID_SOCKET)
return false;
- ctx = SSL_CTX_new(SSLv3_client_method());
+ ctx = SSL_CTX_new(SSLv23_client_method());
if(!ctx) {
SSL_CTX_free(ctx);
return false;
_______________________________________________
Bug-commoncpp mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-commoncpp