bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

commoncpp2-1.8.1 fails to build with openssl-1.1 and libressl


From: Stefan Strogin
Subject: commoncpp2-1.8.1 fails to build with openssl-1.1 and libressl
Date: Wed, 20 Feb 2019 23:09:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

./configure --with-openssl

(...)
ssl.cpp: In member function ‘bool ost::SSLStream::getSession()’:
ssl.cpp:358:23: error: ‘SSLv3_client_method’ was not declared in this scope
     ctx = SSL_CTX_new(SSLv3_client_method());
                       ^~~~~~~~~~~~~~~~~~~
ssl.cpp:358:23: note: suggested alternative: ‘SSLv23_client_method’
     ctx = SSL_CTX_new(SSLv3_client_method());
                       ^~~~~~~~~~~~~~~~~~~
                       SSLv23_client_method

Details and build logs: https://bugs.gentoo.org/674416

SSLv3_client_method() is deprecated in openssl-1.1 and libressl.
They suggest to use SSLv23_client_method.

--
Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]