We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f09a0b3 + ac0acf0 commit 2fab294Copy full SHA for 2fab294
configure.ac
@@ -314,7 +314,16 @@ then
314
ENABLED_TLS1_PRF="no"
315
AC_MSG_WARN([--enable-tls1-prf ignored because OpenSSL doesn't have support for NID_tls1_prf.])
316
else
317
- AM_CFLAGS="$AM_CFLAGS -DWE_HAVE_TLS1_PRF -DWE_HAVE_EVP_PKEY"
+ AC_CHECK_LIB(wolfssl, wc_PRF_TLS)
318
+ AC_CHECK_LIB(wolfssl, wc_PRF_TLSv1)
319
+
320
+ if test "$ac_cv_lib_wolfssl_wc_PRF_TLS" = "yes" && test "$ac_cv_lib_wolfssl_wc_PRF_TLSv1" = "yes"
321
+ then
322
+ AM_CFLAGS="$AM_CFLAGS -DWE_HAVE_TLS1_PRF -DWE_HAVE_EVP_PKEY"
323
+ else
324
+ ENABLED_TLS1_PRF="no"
325
+ AC_MSG_WARN([--enable-tls1-prf ignored because wolfSSL doesn't have support for it.])
326
+ fi
327
fi
328
329
0 commit comments