There's some kind of crash internally in wolfSSL. It doesn't seem like anyone knows how to fix it. Just disable it for now. Signed-off-by: Rosen Penev <rosenp@gmail.com>
13 lines
802 B
Diff
13 lines
802 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -152,8 +152,8 @@ AS_IF([test "x$want_crypto" = "xauto" -o
|
|
)
|
|
])
|
|
AS_IF([test "x$want_crypto" = "xauto" -o "x$want_crypto" = "xpolarssl"], [
|
|
- PKG_CHECK_MODULES(MBEDTLS, [mbedtls >= $POLARSSL_MINIMUM],
|
|
- [want_crypto="polarssl"; CRYPTO_PKG="polarssl"; CRYPTO_CFLAGS="$MBEDTLS_CFLAGS"; CRYPTO_LIBS="$MBEDTLS_LIBS"; POLARSSL_IS_MBEDTLS=yes],
|
|
+ AC_CHECK_LIB(mbedcrypto, mbedtls_strerror,
|
|
+ [want_crypto="polarssl"; CRYPTO_PKG="polarssl"; CRYPTO_LIBS="-lmbedcrypto"; POLARSSL_IS_MBEDTLS=yes],
|
|
[AC_CHECK_HEADER([polarssl/version.h],
|
|
[AC_EGREP_CPP([version_ok], [#include <polarssl/version.h>
|
|
#if defined (POLARSSL_VERSION_NUMBER) && POLARSSL_VERSION_NUMBER >= $POLARSSL_MINIMUM
|