Remove HAVE_LIGHTY from the client_ca_names feature.

This commit is contained in:
David Garske
2025-06-20 11:23:53 -07:00
parent 4c6279c6c7
commit b98cf8882b
2 changed files with 4 additions and 7 deletions

View File

@@ -12186,8 +12186,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
} }
#endif #endif
#if defined(OPENSSL_EXTRA) || defined(HAVE_LIGHTY) #ifdef OPENSSL_EXTRA
#ifdef OPENSSL_EXTRA
/* registers client cert callback, called during handshake if server /* registers client cert callback, called during handshake if server
requests client auth but user has not loaded client cert/key */ requests client auth but user has not loaded client cert/key */
void wolfSSL_CTX_set_client_cert_cb(WOLFSSL_CTX *ctx, client_cert_cb cb) void wolfSSL_CTX_set_client_cert_cb(WOLFSSL_CTX *ctx, client_cert_cb cb)
@@ -12399,9 +12398,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
} }
return ret; return ret;
} }
#endif /* OPENSSL_EXTRA */ #endif /* OPENSSL_EXTRA */
#endif /* OPENSSL_EXTRA || HAVE_LIGHTY */
#ifndef WOLFSSL_NO_CA_NAMES #ifndef WOLFSSL_NO_CA_NAMES
WOLF_STACK_OF(WOLFSSL_X509_NAME)* wolfSSL_CTX_get_client_CA_list( WOLF_STACK_OF(WOLFSSL_X509_NAME)* wolfSSL_CTX_get_client_CA_list(

View File

@@ -1086,8 +1086,8 @@
#undef WSSL_HARDEN_TLS #undef WSSL_HARDEN_TLS
#if !defined(WOLFSSL_NO_CA_NAMES) && \ /* Client CA Names feature */
(defined(OPENSSL_EXTRA) || defined(HAVE_LIGHTY)) #if !defined(WOLFSSL_NO_CA_NAMES) && defined(OPENSSL_EXTRA)
#define SSL_CA_NAMES(ssl) ((ssl)->client_ca_names != NULL ? \ #define SSL_CA_NAMES(ssl) ((ssl)->client_ca_names != NULL ? \
(ssl)->client_ca_names : \ (ssl)->client_ca_names : \
(ssl)->ctx->client_ca_names) (ssl)->ctx->client_ca_names)