]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tcptls.c: fix build with OpenSSL 4
authorBernd Kuhls <bernd@kuhls.net>
Sat, 2 May 2026 12:08:41 +0000 (14:08 +0200)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 2 Jun 2026 16:15:39 +0000 (16:15 +0000)
commit4409c4960435b6867b25fb074e2d809135ff80b8
treea890fa18ee07084e2080fdc814e409db099b109d
parent6ac1bb93afed223fb68315f079bb5da1f181137e
tcptls.c: fix build with OpenSSL 4

tcptls.c: In function '__ssl_setup':
tcptls.c:417:52: error: implicit declaration of function 'SSLv3_client_method';
 did you mean 'SSLv23_client_method'? [-Wimplicit-function-declaration]
  417 |                         cfg->ssl_ctx = SSL_CTX_new(SSLv3_client_method());

SSLv3_client_method was removed from OpenSSL 4.0.0:
https://github.com/openssl/openssl/blob/openssl-4.0.0/doc/man7/ossl-removed-api.pod?plain=1#L440

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Resolves: #1952
main/tcptls.c