From b9cc060340fbecae61a8f69e6b0d3f852696733f Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Mon, 18 Aug 2025 18:21:33 -0500 Subject: [PATCH] configure.ac: tweaks for ENABLED_LINUXKM_DEFAULTS and FIPS v5. --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 1925d806b..d9ba4f809 100644 --- a/configure.ac +++ b/configure.ac @@ -1344,8 +1344,6 @@ then then test "$enable_curve25519" = "" && enable_curve25519=yes test "$enable_curve448" = "" && enable_curve448=yes - test "$enable_cryptocb" = "" && enable_cryptocb=yes - test "$enable_pkcallbacks" = "" && enable_pkcallbacks=yes test "$enable_xchacha" = "" && test "$enable_chacha" != "no" && enable_xchacha=yes test "$enable_pkcs7" = "" && enable_pkcs7=yes test "$enable_nullcipher" = "" && enable_nullcipher=yes @@ -1358,6 +1356,8 @@ then if test "$ENABLED_LINUXKM_DEFAULTS" != "yes" then + test "$enable_cryptocb" = "" && enable_cryptocb=yes + test "$enable_pkcallbacks" = "" && enable_pkcallbacks=yes test "$enable_eccsi" = "" && test "$enable_ecc" != "no" && enable_eccsi=yes test "$enable_sakke" = "" && test "$enable_ecc" != "no" && enable_sakke=yes fi @@ -7335,7 +7335,7 @@ then fi # Small Stack - Cache on object -if test "$ENABLED_LINUXKM_DEFAULTS" = "yes" +if test "$ENABLED_LINUXKM_DEFAULTS" = "yes" && (test "$ENABLED_FIPS" = "no" || test "$HAVE_FIPS_VERSION" -ge 6) then ENABLED_SMALL_STACK_CACHE_DEFAULT=yes else