]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: quic: re-enable chacha20_poly1305 for libressl
authorIlya Shipitsin <chipitsine@gmail.com>
Sun, 21 May 2023 10:51:46 +0000 (12:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 May 2023 17:20:36 +0000 (19:20 +0200)
this reverts d2be9d4c48b71b2132938dbfac36142cc7b8f7c4

LibreSSL implements EVP_chacha20_poly1305() with EVP_CIPHER for every
released version starting with 3.6.0

include/haproxy/quic_tls.h

index 7b5e043a1bb7fe3859a78585b055425e210b3e68..5a4e6ac4ffa22d2e9ed22a88b66d261293acda99 100644 (file)
@@ -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();