forked from wolfSSL/wolfssl
31
configure.ac
31
configure.ac
@@ -2681,14 +2681,11 @@ then
|
||||
# Requires PSK make sure on
|
||||
if test "x$ENABLED_PSK" = "xno"
|
||||
then
|
||||
ENABLED_PSK="yes"
|
||||
ENABLED_PSK="yes"
|
||||
fi
|
||||
|
||||
# Requires RC4 make sure on
|
||||
if test "x$ENABLED_ARC4" = "xno"
|
||||
then
|
||||
ENABLED_ARC4="yes"
|
||||
fi
|
||||
# Requires RC4 make sure on (if not forcefully disabled with --disable-arc4)
|
||||
test "$enable_arc4" = "" && enable_arc4=yes
|
||||
|
||||
if test "x$ENABLED_CERTEXT" = "xno"
|
||||
then
|
||||
@@ -3021,17 +3018,18 @@ then
|
||||
fi
|
||||
|
||||
# ARC4
|
||||
if test "$ENABLED_OPENSSH" = "yes" || test "$ENABLED_WPAS" = "yes"
|
||||
then
|
||||
# Requires RC4 make sure on (if not forcefully disabled with --disable-arc4)
|
||||
test "$enable_arc4" = "" && enable_arc4=yes
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE([arc4],
|
||||
[AS_HELP_STRING([--enable-arc4],[Enable ARC4 (default: disabled)])],
|
||||
[ ENABLED_ARC4=$enableval ],
|
||||
[ ENABLED_ARC4=no ]
|
||||
)
|
||||
|
||||
if test "$ENABLED_OPENSSH" = "yes" || test "$ENABLED_WPAS" = "yes"
|
||||
then
|
||||
ENABLED_ARC4="yes"
|
||||
fi
|
||||
|
||||
if test "$ENABLED_ARC4" = "no"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DNO_RC4"
|
||||
@@ -4414,7 +4412,7 @@ fi
|
||||
|
||||
if test "$ENABLED_OPENSSH" = "yes" || test "$ENABLED_WPAS" = "yes" || test "$ENABLED_QT" = "yes"
|
||||
then
|
||||
ENABLED_ARC4="yes"
|
||||
test "$enable_arc4" = "" && enable_arc4=yes
|
||||
fi
|
||||
|
||||
if test "$ENABLED_ARC4" = "no"
|
||||
@@ -6377,6 +6375,15 @@ fi
|
||||
if test "x$ENABLED_CERTS" = "xno" || test "x$ENABLED_LEANPSK" = "xyes" || test "x$ENABLED_ASN" = "xno"; then
|
||||
AM_CFLAGS="$AM_CFLAGS -DNO_ASN -DNO_CERTS"
|
||||
fi
|
||||
|
||||
|
||||
# Depricated Algorithm Handling
|
||||
if test "$ENABLED_ARC4" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALLOW_RC4"
|
||||
fi
|
||||
|
||||
|
||||
################################################################################
|
||||
|
||||
# USER SETTINGS
|
||||
|
@@ -2501,6 +2501,19 @@ extern void uITRON4_free(void *p) ;
|
||||
#endif
|
||||
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Depricated Algorithm Handling
|
||||
* Unless allowed via a build macro, disable support
|
||||
* ---------------------------------------------------------------------------*/
|
||||
|
||||
/* RC4: Per RFC7465 Feb 2015, the cipher suite has been deprecated due to a
|
||||
* number of exploits capable of decrypting portions of encrypted messages. */
|
||||
#ifndef WOLFSSL_ALLOW_RC4
|
||||
#undef NO_RC4
|
||||
#define NO_RC4
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user