mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 07:07:04 +02:00
BUILD: ssl: define EVP_CTRL_AEAD_GET_TAG for older versions
Amaury reported that previous commit 08ac282375
("MINOR: Add aes_gcm_enc
converter") broke the CI on OpenSSL 1.0.2 due to the define above not
existing there. Let's just map it to its older name when not existing.
For reference, these were renamed when switching to 1.1.0:
https://marc.info/?l=openssl-cvs&m=142244190907706&w=2
No backport is needed.
This commit is contained in:
parent
1ee7bf5bd9
commit
26cd248feb
@ -381,6 +381,10 @@ static inline unsigned long ERR_peek_error_func(const char **func)
|
||||
#define EVP_CTRL_AEAD_SET_TAG EVP_CTRL_GCM_SET_TAG
|
||||
#endif
|
||||
|
||||
#if !defined(EVP_CTRL_AEAD_GET_TAG)
|
||||
#define EVP_CTRL_AEAD_GET_TAG EVP_CTRL_GCM_GET_TAG
|
||||
#endif
|
||||
|
||||
/* Supported hash function for TLS tickets */
|
||||
#ifdef OPENSSL_NO_SHA256
|
||||
#define TLS_TICKET_HASH_FUNCT EVP_sha1
|
||||
|
Loading…
Reference in New Issue
Block a user