mirror of
https://github.com/curl/curl.git
synced 2026-06-02 00:54:15 +03:00
openssl: use SSL_CTX_set_ciphersuites with LibreSSL 3.4.1
LibreSSL 3.4.1 (2021-10-14) added support for `SSL_CTX_set_ciphersuites`. Ref: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.4.1-relnotes.txt Reviewed-by: Jay Satiro Closes #11616
This commit is contained in:
parent
e43474b472
commit
b0bb86c1e9
1 changed files with 6 additions and 4 deletions
|
|
@ -203,11 +203,13 @@
|
|||
/* Whether SSL_CTX_set_ciphersuites is available.
|
||||
* OpenSSL: supported since 1.1.1 (commit a53b5be6a05)
|
||||
* BoringSSL: no
|
||||
* LibreSSL: no
|
||||
* LibreSSL: supported since 3.4.1 (released 2021-10-14)
|
||||
*/
|
||||
#if ((OPENSSL_VERSION_NUMBER >= 0x10101000L) && \
|
||||
!defined(LIBRESSL_VERSION_NUMBER) && \
|
||||
!defined(OPENSSL_IS_BORINGSSL))
|
||||
#if ((OPENSSL_VERSION_NUMBER >= 0x10101000L && \
|
||||
!defined(LIBRESSL_VERSION_NUMBER)) || \
|
||||
(defined(LIBRESSL_VERSION_NUMBER) && \
|
||||
LIBRESSL_VERSION_NUMBER >= 0x3040100fL)) && \
|
||||
!defined(OPENSSL_IS_BORINGSSL)
|
||||
#define HAVE_SSL_CTX_SET_CIPHERSUITES
|
||||
#if !defined(OPENSSL_IS_AWSLC)
|
||||
#define HAVE_SSL_CTX_SET_POST_HANDSHAKE_AUTH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue