From: Ilya Shipitsin Date: Sun, 21 May 2023 10:51:46 +0000 (+0200) Subject: BUILD: quic: re-enable chacha20_poly1305 for libressl X-Git-Tag: v2.8-dev13~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97c344dae0f75220ffe48949977192f43b9c3d75;p=thirdparty%2Fhaproxy.git BUILD: quic: re-enable chacha20_poly1305 for libressl this reverts d2be9d4c48b71b2132938dbfac36142cc7b8f7c4 LibreSSL implements EVP_chacha20_poly1305() with EVP_CIPHER for every released version starting with 3.6.0 --- diff --git a/include/haproxy/quic_tls.h b/include/haproxy/quic_tls.h index 7b5e043a1b..5a4e6ac4ff 100644 --- a/include/haproxy/quic_tls.h +++ b/include/haproxy/quic_tls.h @@ -118,10 +118,8 @@ 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 #ifndef USE_OPENSSL_WOLFSSL case TLS1_3_CK_AES_128_CCM_SHA256: return EVP_aes_128_ccm();