diff options
Diffstat (limited to 'tests/set_pkcs12_cred.c')
-rw-r--r-- | tests/set_pkcs12_cred.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/set_pkcs12_cred.c b/tests/set_pkcs12_cred.c index 8e45047467..7f324bb41e 100644 --- a/tests/set_pkcs12_cred.c +++ b/tests/set_pkcs12_cred.c @@ -40,11 +40,9 @@ typedef struct { } files_st; files_st files[] = { -#ifndef ENABLE_FIPS140 {"client.p12", "foobar"}, {"cert-ca.p12", "1234"}, /* 2 certs, one is a CA */ {"pkcs12_2certs.p12", ""}, /* 2 certs, on is unrelated */ -#endif {NULL, NULL} }; @@ -56,6 +54,10 @@ void doit(void) char file[512]; int ret; + if (gnutls_fips140_mode_enabled()) { + exit(77); + } + ret = global_init(); if (ret < 0) fail("global_init failed %d\n", ret); |