lighttpd requires WOLFSSL_KEY_GEN. Without it, a call to wolfSSL_CTX_use_PrivateKey fails.

pull/4721/head
Anthony Hu 2022-01-04 13:09:13 -05:00
parent a0b9e2bead
commit 038a9d8fa9
1 changed files with 1 additions and 0 deletions

View File

@ -4697,6 +4697,7 @@ then
AM_CFLAGS="$AM_CFLAGS -DHAVE_LIGHTY -DHAVE_WOLFSSL_SSL_H=1"
AM_CFLAGS="$AM_CFLAGS -DHAVE_EX_DATA"
AM_CFLAGS="$AM_CFLAGS -DOPENSSL_ALL"
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_KEY_GEN"
# recommended if building wolfSSL specifically for use by lighttpd
if test "x$ENABLED_ALL" = "xno"; then
AM_CFLAGS="$AM_CFLAGS -DOPENSSL_NO_SSL2 -DOPENSSL_NO_COMP"