Skip to content

Commit cbd199f

Browse files
committed
Fix wolfssl method check
We use CyaTLSv1_client_method in the code, so configure should check for that instead of CyaSSLv23_client_method.
1 parent dbac483 commit cbd199f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ AC_DEFUN([BB_CYASSL],
9191
AC_ARG_ENABLE(cyassl, [ --enable-cyassl enable TLS support for auth server communication (no)], [], [enable_cyassl=no])
9292
if test "x$enable_cyassl" = xyes; then
9393
AC_CHECK_HEADERS(cyassl/ssl.h)
94-
AC_SEARCH_LIBS([CyaSSLv23_client_method], [cyassl wolfssl], [], [
95-
AC_MSG_ERROR([unable to find the CyaSSLv23_client_method function.])
94+
AC_SEARCH_LIBS([CyaTLSv1_client_method], [cyassl wolfssl], [], [
95+
AC_MSG_ERROR([unable to find the CyaTLSv1_client_method function.])
9696
])
9797
AC_DEFINE(USE_CYASSL,, "Compile with CyaSSL support")
9898
fi

0 commit comments

Comments
 (0)