From 637f207934680500a780c3788b41956250086e9f Mon Sep 17 00:00:00 2001 From: Syrone Wong Date: Sat, 7 Jan 2017 12:19:55 +0800 Subject: [PATCH] mbedtls: Make rc4, camellia, blowfish cipher checks optional Per Felix Fietkau's request in https://github.com/lede-project/source/pull/657 Signed-off-by: Syrone Wong --- m4/mbedtls.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m4/mbedtls.m4 b/m4/mbedtls.m4 index eaf0d62b..2c478b96 100644 --- a/m4/mbedtls.m4 +++ b/m4/mbedtls.m4 @@ -57,7 +57,7 @@ AC_DEFUN([ss_MBEDTLS], ]] )], [AC_MSG_RESULT([ok])], - [AC_MSG_ERROR([MBEDTLS_ARC4_C required])] + [AC_MSG_WARN([We will continue without ARC4 stream cipher support, MBEDTLS_ARC4_C required])] ) AC_MSG_CHECKING([whether mbedtls supports the Blowfish block cipher or not]) @@ -73,7 +73,7 @@ AC_DEFUN([ss_MBEDTLS], ]] )], [AC_MSG_RESULT([ok])], - [AC_MSG_ERROR([MBEDTLS_BLOWFISH_C required])] + [AC_MSG_WARN([We will continue without Blowfish block cipher support, MBEDTLS_BLOWFISH_C required])] ) AC_MSG_CHECKING([whether mbedtls supports the Camellia block cipher or not]) @@ -89,6 +89,6 @@ AC_DEFUN([ss_MBEDTLS], ]] )], [AC_MSG_RESULT([ok])], - [AC_MSG_ERROR([MBEDTLS_CAMELLIA_C required])] + [AC_MSG_WARN([We will continue without Camellia block cipher support, MBEDTLS_CAMELLIA_C required])] ) ])