mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-26 06:32:13 +00:00
BUILD: quic: temporarly ignore chacha20_poly1305 for libressl
LibreSSL does not implement EVP_chacha20_poly1305() with EVP_CIPHER but uses the EVP_AEAD API instead: https://man.openbsd.org/EVP_AEAD_CTX_init This patch disables this cipher for libreSSL for now.
This commit is contained in:
parent
844009d77a
commit
d2be9d4c48
@ -135,8 +135,10 @@ static inline const EVP_CIPHER *tls_aead(const SSL_CIPHER *cipher)
|
||||
return EVP_aes_128_gcm();
|
||||
case TLS1_3_CK_AES_256_GCM_SHA384:
|
||||
return EVP_aes_256_gcm();
|
||||
#if !defined(LIBRESSL_VERSION_NUMBER)
|
||||
case TLS1_3_CK_CHACHA20_POLY1305_SHA256:
|
||||
return EVP_chacha20_poly1305();
|
||||
#endif
|
||||
case TLS1_3_CK_AES_128_CCM_SHA256:
|
||||
return EVP_aes_128_ccm();
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user