mirror of https://github.com/wolfSSL/wolfssl.git
Disable MD5 by default
Disable the use of MD5 by default. Add the conditional use of MD5 when --enable-all-crypto is present. Add the use of MD5 when --enable-opensslextra is present. Add the use of MD5 when --enable-tlsv10 is present.pull/8895/head
parent
1c1c556e5e
commit
07f76723e2
11
configure.ac
11
configure.ac
|
@ -1323,6 +1323,7 @@ then
|
|||
test "$enable_blake2s" = "" && enable_blake2s=yes
|
||||
test "$enable_md2" = "" && enable_md2=yes
|
||||
test "$enable_md4" = "" && enable_md4=yes
|
||||
test "$enable_md5" = "" && enable_md5=yes
|
||||
test "$enable_anon" = "" && enable_anon=yes
|
||||
test "$enable_ssh" = "" && test "$enable_hmac" != "no" && enable_ssh=yes
|
||||
|
||||
|
@ -4816,6 +4817,7 @@ fi
|
|||
if test "$ENABLED_TLSV10" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_ALLOW_TLSV10"
|
||||
enable_md5=yes
|
||||
fi
|
||||
|
||||
|
||||
|
@ -4862,8 +4864,6 @@ then
|
|||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_NO_TLS12 -DNO_OLD_TLS"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# STACK SIZE info for testwolfcrypt and examples
|
||||
AC_ARG_ENABLE([stacksize],
|
||||
[AS_HELP_STRING([--enable-stacksize],[Enable stack size info on examples (default: disabled)])],
|
||||
|
@ -5476,9 +5476,9 @@ AC_ARG_ENABLE([arc4],
|
|||
|
||||
# MD5
|
||||
AC_ARG_ENABLE([md5],
|
||||
[AS_HELP_STRING([--enable-md5],[Enable MD5 (default: enabled)])],
|
||||
[AS_HELP_STRING([--enable-md5],[Enable MD5 (default: disabled)])],
|
||||
[ ENABLED_MD5=$enableval ],
|
||||
[ ENABLED_MD5=yes ]
|
||||
[ ENABLED_MD5=no ]
|
||||
)
|
||||
|
||||
# SHA
|
||||
|
@ -10188,7 +10188,8 @@ fi
|
|||
|
||||
if test "$ENABLED_OPENSSLEXTRA" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DOPENSSL_EXTRA"
|
||||
enable_md5=yes
|
||||
AM_CFLAGS="$AM_CFLAGS -DOPENSSL_EXTRA"
|
||||
fi
|
||||
|
||||
if test "$ENABLED_OPENSSLEXTRA" = "x509small"
|
||||
|
|
Loading…
Reference in New Issue