do not enable PK Callbacks with JNI in FIPS mode

This commit is contained in:
Chris Conlon
2022-04-21 11:06:54 -06:00
parent 4a4b019e30
commit cfa338314d

View File

@@ -4911,7 +4911,8 @@ then
AM_CFLAGS="$AM_CFLAGS -DECC_SHAMIR" AM_CFLAGS="$AM_CFLAGS -DECC_SHAMIR"
fi fi
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 then
ENABLED_PKCALLBACKS="yes" ENABLED_PKCALLBACKS="yes"
AM_CFLAGS="$AM_CFLAGS -DHAVE_PK_CALLBACKS" AM_CFLAGS="$AM_CFLAGS -DHAVE_PK_CALLBACKS"