Undo the logic around enable sha as its enabled by default already.

This commit is contained in:
Anthony Hu
2022-03-14 16:29:13 -04:00
parent 821e293ed4
commit b3319bd952

View File

@@ -3512,16 +3512,12 @@ AC_ARG_ENABLE([md5],
[ ENABLED_MD5=yes ]
)
# SHA
AC_ARG_ENABLE([sha],
[AS_HELP_STRING([--enable-sha],[Enable SHA (default: enabled)])],
[ ENABLED_SHA=$enableval ],
[ ENABLED_SHA=yes ]
)
if test "$ENABLED_WOLFENGINE" = "no"
then
if test "$ENABLED_SHA" = "no"
then
AM_CFLAGS="$AM_CFLAGS -DNO_SHA -DNO_OLD_TLS"
@@ -3533,7 +3529,6 @@ then
ENABLED_SHA=no
fi
fi
fi
# SipHash