Skip to content

Commit 3a43109

Browse files
committed
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.
1 parent b3944a7 commit 3a43109

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

configure.ac

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -323,19 +323,10 @@ AC_ARG_ENABLE([hmac],
323323
[ ENABLED_HMAC=yes ]
324324
)
325325

326-
# enable HMAC hash copying automatically for x86_64 and aarch64 (except Linux kernel module)
327-
HMAC_COPY_DEFAULT=no
328-
if test "$ENABLED_LINUXKM_DEFAULTS" = "no"
329-
then
330-
if test "$host_cpu" = "x86_64" || test "$host_cpu" = "aarch64" || test "$host_cpu" = "amd64"
331-
then
332-
HMAC_COPY_DEFAULT=yes
333-
fi
334-
fi
335326
AC_ARG_ENABLE([hmac-copy],
336327
[AS_HELP_STRING([--enable-hmac-copy],[Enables digest copying implementation for HMAC (default: disabled)])],
337328
[ ENABLED_HMAC_COPY=$enableval ],
338-
[ ENABLED_HMAC_COPY=$HMAC_COPY_DEFAULT ]
329+
[ ENABLED_HMAC_COPY=no ]
339330
)
340331
if test "$ENABLED_HMAC_COPY" = "yes"
341332
then

0 commit comments

Comments
 (0)