commit | 8ea1f5f6cd4fda36748dd5b7178957c0779e9a58 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Tue Feb 08 17:45:58 2022 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Feb 09 12:11:31 2022 +0100 |
tree | 0250ce78c5d7cd6cb4528974f6001f426516644a | |
parent | 3f269bb3709c3c4bc83c35bd1719a6bbea6506e5 [diff] |
MINOR: ssl: Remove call to SSL_CTX_set_tlsext_ticket_key_cb with OpenSSLv3 SSL_CTX_set_tlsext_ticket_key_cb was deprecated on OpenSSLv3 because it uses an HMAC_pointer which is deprecated as well. According to the v3's manpage it should be replaced by SSL_CTX_set_tlsext_ticket_key_evp_cb which uses a EVP_MAC_CTX pointer. This new callback was introduced in OpenSSLv3 so we need to keep the two calls in the source base and to split the usage depending on the OpenSSL version.