Merge pull request #5068 from cconlon/jniPKCallbacks

Don't enable PK Callbacks with JNI FIPS builds
This commit is contained in:
David Garske 2022-04-22 16:08:29 -07:00 committed by GitHub
commit 70ad19467c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4905,7 +4905,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"