]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tcptls: use TLS_client_method with OpenSSL 1.1 52/4952/1
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 21:22:09 +0000 (23:22 +0200)
commitab8b7b9ac18dc1ffb38a844afe05759de36acae6
tree0075aba32a51eb1cc621c503d1ae517b9d05b0c1
parentc572e172665647abd27ea65a4c45f893161c8c44
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