From 3a431092085435539f7bb9d33cce63c99db7c998 Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Mon, 30 Jun 2025 17:35:13 -0500 Subject: [PATCH] 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. --- configure.ac | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index c932e0f26..0c115b593 100644 --- a/configure.ac +++ b/configure.ac @@ -323,19 +323,10 @@ AC_ARG_ENABLE([hmac], [ 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], [AS_HELP_STRING([--enable-hmac-copy],[Enables digest copying implementation for HMAC (default: disabled)])], [ ENABLED_HMAC_COPY=$enableval ], - [ ENABLED_HMAC_COPY=$HMAC_COPY_DEFAULT ] + [ ENABLED_HMAC_COPY=no ] ) if test "$ENABLED_HMAC_COPY" = "yes" then