mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
configure.ac: remove automatic --enable-hmac-copy, due to unit test failures when defined(WOLFSSL_HMAC_COPY_HASH), not previously detected because of broken option processing.
This commit is contained in:
11
configure.ac
11
configure.ac
@@ -323,19 +323,10 @@ AC_ARG_ENABLE([hmac],
|
|||||||
[ ENABLED_HMAC=yes ]
|
[ ENABLED_HMAC=yes ]
|
||||||
)
|
)
|
||||||
|
|
||||||
# enable HMAC hash copying automatically for x86_64 and aarch64 (except Linux kernel module)
|
|
||||||
HMAC_COPY_DEFAULT=no
|
|
||||||
if test "$ENABLED_LINUXKM_DEFAULTS" = "no"
|
|
||||||
then
|
|
||||||
if test "$host_cpu" = "x86_64" || test "$host_cpu" = "aarch64" || test "$host_cpu" = "amd64"
|
|
||||||
then
|
|
||||||
HMAC_COPY_DEFAULT=yes
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
AC_ARG_ENABLE([hmac-copy],
|
AC_ARG_ENABLE([hmac-copy],
|
||||||
[AS_HELP_STRING([--enable-hmac-copy],[Enables digest copying implementation for HMAC (default: disabled)])],
|
[AS_HELP_STRING([--enable-hmac-copy],[Enables digest copying implementation for HMAC (default: disabled)])],
|
||||||
[ ENABLED_HMAC_COPY=$enableval ],
|
[ ENABLED_HMAC_COPY=$enableval ],
|
||||||
[ ENABLED_HMAC_COPY=$HMAC_COPY_DEFAULT ]
|
[ ENABLED_HMAC_COPY=no ]
|
||||||
)
|
)
|
||||||
if test "$ENABLED_HMAC_COPY" = "yes"
|
if test "$ENABLED_HMAC_COPY" = "yes"
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user