mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 02:52:46 +02:00
BUILD: ssl: fix typo in HAVE_SSL_CTX_ADD_SERVER_CUSTOM_EXT macro
HAVE_SSL_CTX_ADD_SERVER_CUSTOM_EXT was introduced in ec60909871
however it was defined as HAVE_SL_CTX_ADD_SERVER_CUSTOM_EXT (missing "S")
let us fix typo
This commit is contained in:
committed by
William Lallemand
parent
5d46fbddb1
commit
7bbf5866e0
@@ -50,7 +50,7 @@
|
||||
#endif
|
||||
|
||||
#if ((OPENSSL_VERSION_NUMBER >= 0x1000200fL) && !defined(OPENSSL_NO_TLSEXT) && !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_IS_BORINGSSL))
|
||||
#define HAVE_SL_CTX_ADD_SERVER_CUSTOM_EXT
|
||||
#define HAVE_SSL_CTX_ADD_SERVER_CUSTOM_EXT
|
||||
#endif
|
||||
|
||||
#if ((OPENSSL_VERSION_NUMBER >= 0x10002000L) && !defined(LIBRESSL_VERSION_NUMBER))
|
||||
|
||||
@@ -1497,7 +1497,7 @@ static int ssl_sock_load_ocsp(SSL_CTX *ctx, const struct cert_key_and_chain *ckc
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAVE_SL_CTX_ADD_SERVER_CUSTOM_EXT
|
||||
#ifdef HAVE_SSL_CTX_ADD_SERVER_CUSTOM_EXT
|
||||
|
||||
#define CT_EXTENSION_TYPE 18
|
||||
|
||||
@@ -3217,7 +3217,7 @@ static int ssl_sock_put_ckch_into_ctx(const char *path, const struct cert_key_an
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SL_CTX_ADD_SERVER_CUSTOM_EXT
|
||||
#ifdef HAVE_SSL_CTX_ADD_SERVER_CUSTOM_EXT
|
||||
if (sctl_ex_index >= 0 && ckch->sctl) {
|
||||
if (ssl_sock_load_sctl(ctx, ckch->sctl) < 0) {
|
||||
memprintf(err, "%s '%s.sctl' is present but cannot be read or parsed'.\n",
|
||||
|
||||
Reference in New Issue
Block a user