mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05: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:
parent
5d46fbddb1
commit
7bbf5866e0
2 changed files with 3 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue