diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-03-01 15:52:13 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-03-02 13:12:39 +0100 |
commit | 124220d82dc97ae272a47f85e89bfe1c14354d01 (patch) | |
tree | 12d4aa467a6b84b9d68b742af63c63ef1640903e /tests/set_x509_pkcs12_key.c | |
parent | 9bdef03d0f472a8850f4b892e3b0432ffbb899ae (diff) | |
download | gnutls-124220d82dc97ae272a47f85e89bfe1c14354d01.tar.gz |
tests: skip tests which cannot be run in FIPS140-2 mode
This allows the test suite to be run in FIPS140-2 mode.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'tests/set_x509_pkcs12_key.c')
-rw-r--r-- | tests/set_x509_pkcs12_key.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/set_x509_pkcs12_key.c b/tests/set_x509_pkcs12_key.c index 852b57ce4b..486ed592cd 100644 --- a/tests/set_x509_pkcs12_key.c +++ b/tests/set_x509_pkcs12_key.c @@ -62,6 +62,10 @@ void doit(void) gnutls_datum_t tcert; FILE *fp; + if (gnutls_fips140_mode_enabled()) { + exit(77); + } + global_init(); assert(gnutls_certificate_allocate_credentials(&xcred) >= 0); |