summaryrefslogtreecommitdiff
path: root/tests/mini-record-2.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-22 12:12:57 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2013-11-27 11:41:44 +0100
commitf419ce3ff8954758dc3a95d5eff2ce25cd4ff883 (patch)
tree8055744bb6a5c147984fcbac9c31d7b35884905e /tests/mini-record-2.c
parentf2730cc5e8c4e099c1fb701032aff41dacbb7f8a (diff)
downloadgnutls-f419ce3ff8954758dc3a95d5eff2ce25cd4ff883.tar.gz
Restrict the number of tests run on FIPS140-2 mode.
Diffstat (limited to 'tests/mini-record-2.c')
-rw-r--r--tests/mini-record-2.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/mini-record-2.c b/tests/mini-record-2.c
index b6104b42fb..0d27acc4a1 100644
--- a/tests/mini-record-2.c
+++ b/tests/mini-record-2.c
@@ -377,9 +377,6 @@ void doit(void)
{
signal(SIGCHLD, ch_handler);
- start(NULL_SHA1, 0);
-
- start(NEW_ARCFOUR_SHA1, 1);
start(NEW_AES_CBC, 1);
start(NEW_AES_CBC_SHA256, 1);
start(NEW_AES_GCM, 1);
@@ -388,8 +385,13 @@ void doit(void)
start(AES_CBC_SHA256, 1);
start(AES_GCM, 0);
+#ifndef ENABLE_FIPS140
+ start(NULL_SHA1, 0);
+ start(NEW_ARCFOUR_SHA1, 1);
+
start(ARCFOUR_SHA1, 0);
start(ARCFOUR_MD5, 0);
+#endif
start(ARCFOUR_SHA1_ZLIB, 0);
start(NEW_ARCFOUR_SHA1_ZLIB, 1);