Skip to content

Commit b98cf88

Browse files
committed
Remove HAVE_LIGHTY from the client_ca_names feature.
1 parent 4c6279c commit b98cf88

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

src/ssl.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12186,8 +12186,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
1218612186
}
1218712187
#endif
1218812188

12189-
#if defined(OPENSSL_EXTRA) || defined(HAVE_LIGHTY)
12190-
#ifdef OPENSSL_EXTRA
12189+
#ifdef OPENSSL_EXTRA
1219112190
/* registers client cert callback, called during handshake if server
1219212191
requests client auth but user has not loaded client cert/key */
1219312192
void wolfSSL_CTX_set_client_cert_cb(WOLFSSL_CTX *ctx, client_cert_cb cb)
@@ -12399,9 +12398,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
1239912398
}
1240012399
return ret;
1240112400
}
12402-
#endif /* OPENSSL_EXTRA */
12403-
12404-
#endif /* OPENSSL_EXTRA || HAVE_LIGHTY */
12401+
#endif /* OPENSSL_EXTRA */
1240512402

1240612403
#ifndef WOLFSSL_NO_CA_NAMES
1240712404
WOLF_STACK_OF(WOLFSSL_X509_NAME)* wolfSSL_CTX_get_client_CA_list(

wolfssl/internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,8 +1086,8 @@
10861086

10871087
#undef WSSL_HARDEN_TLS
10881088

1089-
#if !defined(WOLFSSL_NO_CA_NAMES) && \
1090-
(defined(OPENSSL_EXTRA) || defined(HAVE_LIGHTY))
1089+
/* Client CA Names feature */
1090+
#if !defined(WOLFSSL_NO_CA_NAMES) && defined(OPENSSL_EXTRA)
10911091
#define SSL_CA_NAMES(ssl) ((ssl)->client_ca_names != NULL ? \
10921092
(ssl)->client_ca_names : \
10931093
(ssl)->ctx->client_ca_names)

0 commit comments

Comments
 (0)