summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-02-10 14:29:47 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-02-10 14:30:43 +0100
commite9f6d9d4d3d7fd15c3028ceb8c00defd2fdd8121 (patch)
tree3b4c1c4e600566a390a6c87036825cb2d7891be6
parent0bbc2e4d85869344a157994e0bc2e7d999e52b31 (diff)
downloadgnutls-e9f6d9d4d3d7fd15c3028ceb8c00defd2fdd8121.tar.gz
tests: set_pkcs12_cred: existing tests are disabled when in FIPS140-2 mode
The tests require access to the RC4 cipher which is not available.
-rw-r--r--tests/set_pkcs12_cred.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/set_pkcs12_cred.c b/tests/set_pkcs12_cred.c
index edc4b1061d..6dcd572de5 100644
--- a/tests/set_pkcs12_cred.c
+++ b/tests/set_pkcs12_cred.c
@@ -40,9 +40,11 @@ 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}
};