travis: Run tests against wolfSSL
Check for wolfssl/options.h because if it isn't included, checking other headers will trigger a warning about hardening the wolfSSL build, which will cause the check to fail with -Werror. If the file doesn't exist because user_settings.h is used, the check may be skipped by configuring with `ac_cv_header_wolfssl_options_h=yes`.
This commit is contained in:
+1
-1
@@ -1142,7 +1142,7 @@ if test x$wolfssl = xtrue; then
|
||||
AC_CHECK_LIB([$wolfssl_lib],[wolfSSL_Init],[LIBS="$LIBS"],
|
||||
[AC_MSG_ERROR([wolfSSL lib$wolfssl_lib not found])],[$DLLIB])
|
||||
AC_SUBST(WOLFSSL_LIB, [-l$wolfssl_lib])
|
||||
AC_CHECK_HEADER([wolfssl/ssl.h],,[AC_MSG_ERROR([wolfSSL header wolfssl/ssl.h not found!])])
|
||||
AC_CHECK_HEADER([wolfssl/options.h],,[AC_MSG_ERROR([wolfSSL header wolfssl/options.h not found!])])
|
||||
fi
|
||||
|
||||
if test x$gcrypt = xtrue; then
|
||||
|
||||
Reference in New Issue
Block a user