Project

General

Profile

Change request #652

Warning with OpenSSL 1.1

Added by David Demelier about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
irccd
Target version:
Start date:
05/30/2017
Due date:
% Done:

100%

Estimated time:
0.20 h
MFD after:
MFD revision:
Branch:
release-2.1
Bookmark:
@
Platform:

Description

Starting with OpenSSL 1.1, lots of warnings are shown during compilation:

/home/markand/dev/irccd-2.1/libcommon/irccd/net.hpp:2144:92: warning: ‘const SSL_METHOD* TLSv1_method()’ is deprecated [-Wdeprecated-declarations]
     TlsSocket(TcpSocket &sock, Mode mode = Server, const SSL_METHOD *method = TLSv1_method())
                                                                                            ^
In file included from /usr/include/openssl/ct.h:13:0,
                 from /usr/include/openssl/ssl.h:61,
                 from /home/markand/dev/irccd-2.1/libcommon/irccd/net.hpp:504,
                 from /home/markand/dev/irccd-2.1/libirccd/irccd/irccd.hpp:33,
                 from /home/markand/dev/irccd-2.1/libirccd/irccd/command.cpp:20:
/usr/include/openssl/ssl.h:1612:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
 ^

Associated revisions

Revision 440:b5338d71730c (diff)
Added by David Demelier about 2 years ago

Fix #652: use TLS_method if available

OpenSSL 1.1 added deprecation warnings on some functions, use more recent
alternatives if available.

Task: #652

History

#1

Updated by David Demelier about 2 years ago

  • Target version changed from 2.1.0 to 2.1.1
#2

Updated by David Demelier about 2 years ago

  • Branch changed from default to release-2.1
#3

Updated by David Demelier about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#4

Updated by David Demelier about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF