]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tcptls: use TLS_client_method with OpenSSL 1.1 49/4949/2
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Sat, 21 Jan 2017 05:59:15 +0000 (07:59 +0200)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Tue, 14 Feb 2017 20:53:59 +0000 (22:53 +0200)
commite97e50b68b0497f906a73a1acc26c3a97d9c9d7f
treecd9ecfbd6accd0e26212ee2a6e0f82c60c1c8a74
parent0d555f0d81d3b04366a64c91acb89d24b90aead9
tcptls: use TLS_client_method with OpenSSL 1.1

OpenSSL 1.1 introduced TLS_client_method() and deprecated the previous
version-specific methods (such as TLSv1_client_method(). Other than
being simpler to use and more correct (gain support for TLS newer that
TLS1, in our case), the older ones produce a deprecation warning that
fails the build in dev-mode.

ASTERISK-26109 #close

Change-Id: I257b1c8afd09dcb0d96cda3a41cb9f7a15d0ba07
main/tcptls.c