diff options
Diffstat (limited to 'tests/key-tests/pkcs8')
-rwxr-xr-x | tests/key-tests/pkcs8 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/key-tests/pkcs8 b/tests/key-tests/pkcs8 index 7fee476e66..d23aad94b4 100755 --- a/tests/key-tests/pkcs8 +++ b/tests/key-tests/pkcs8 @@ -28,6 +28,11 @@ if ! test -x "${CERTTOOL}"; then exit 77 fi +if test "${GNUTLS_FORCE_FIPS_MODE}" = 1;then + echo "Cannot run in FIPS140-2 mode" + exit 77 +fi + if ! test -z "${VALGRIND}"; then VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=1" fi |