src: TLS_DEFAULT_CIPHERSUITES was deprecated in OpenSSL 3.0.0
This commit is contained in:
parent
8c4fbb86d8
commit
0cc7c598ff
10
src/tls.h
10
src/tls.h
|
@ -57,11 +57,15 @@ constexpr char DEFAULT_CIPHER_LIST[] =
|
||||||
"AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256";
|
"AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256";
|
||||||
|
|
||||||
constexpr char DEFAULT_TLS13_CIPHER_LIST[] =
|
constexpr char DEFAULT_TLS13_CIPHER_LIST[] =
|
||||||
#if OPENSSL_1_1_1_API && !defined(OPENSSL_IS_BORINGSSL)
|
#if OPENSSL_3_0_0_API
|
||||||
|
"TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256"
|
||||||
|
#elif OPENSSL_1_1_1_API && !defined(OPENSSL_IS_BORINGSSL)
|
||||||
TLS_DEFAULT_CIPHERSUITES
|
TLS_DEFAULT_CIPHERSUITES
|
||||||
#else // !(OPENSSL_1_1_1_API && !defined(OPENSSL_IS_BORINGSSL))
|
#else // !OPENSSL_3_0_0_API && !(OPENSSL_1_1_1_API &&
|
||||||
|
// !defined(OPENSSL_IS_BORINGSSL))
|
||||||
""
|
""
|
||||||
#endif // !(OPENSSL_1_1_1_API && !defined(OPENSSL_IS_BORINGSSL))
|
#endif // !OPENSSL_3_0_0_API && !(OPENSSL_1_1_1_API &&
|
||||||
|
// !defined(OPENSSL_IS_BORINGSSL))
|
||||||
;
|
;
|
||||||
|
|
||||||
constexpr auto NGHTTP2_TLS_MIN_VERSION = TLS1_VERSION;
|
constexpr auto NGHTTP2_TLS_MIN_VERSION = TLS1_VERSION;
|
||||||
|
|
Loading…
Reference in New Issue