]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: switch to modern init for LibreSSL 2.7.0+
authorViktor Szakats <commit@vsz.me>
Mon, 7 Aug 2023 16:32:46 +0000 (16:32 +0000)
committerViktor Szakats <commit@vsz.me>
Mon, 7 Aug 2023 23:55:58 +0000 (23:55 +0000)
commitbec0c5bbf34369920598678161d2df8bea0e243b
tree7886a0dbe77a211ba6b12d9a9e42f3d939b039f6
parent78d6232f1f326b9ab4d6cdf9582d8fcc2207ffcb
openssl: switch to modern init for LibreSSL 2.7.0+

LibreSSL 2.7.0 (2018-03-21) introduced automatic initialization,
`OPENSSL_init_ssl()` function and deprecated the old, manual init
method, as seen in OpenSSL 1.1.0. Switch to the modern method when
available.

Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.0-relnotes.txt

Reviewed-by: Daniel Stenberg
Closes #11611
lib/vtls/openssl.c