From cfa338314debb349fdd4161ea13bb06566deed11 Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Thu, 21 Apr 2022 11:06:54 -0600 Subject: [PATCH] do not enable PK Callbacks with JNI in FIPS mode --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9f5198f25..74b3811b2 100644 --- a/configure.ac +++ b/configure.ac @@ -4911,7 +4911,8 @@ then AM_CFLAGS="$AM_CFLAGS -DECC_SHAMIR" fi fi - if test "x$ENABLED_PKCALLBACKS" = "xno" + # Do not enable PK Callbacks in FIPS mode with JNI + if test "x$ENABLED_PKCALLBACKS" = "xno" && test "$ENABLED_FIPS" = "no" then ENABLED_PKCALLBACKS="yes" AM_CFLAGS="$AM_CFLAGS -DHAVE_PK_CALLBACKS"