diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-22 12:12:57 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-27 11:41:44 +0100 |
commit | f419ce3ff8954758dc3a95d5eff2ce25cd4ff883 (patch) | |
tree | 8055744bb6a5c147984fcbac9c31d7b35884905e /tests/mini-x509.c | |
parent | f2730cc5e8c4e099c1fb701032aff41dacbb7f8a (diff) | |
download | gnutls-f419ce3ff8954758dc3a95d5eff2ce25cd4ff883.tar.gz |
Restrict the number of tests run on FIPS140-2 mode.
Diffstat (limited to 'tests/mini-x509.c')
-rw-r--r-- | tests/mini-x509.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/mini-x509.c b/tests/mini-x509.c index 333d544df9..edd67aa291 100644 --- a/tests/mini-x509.c +++ b/tests/mini-x509.c @@ -107,7 +107,11 @@ void doit(void) gnutls_credentials_set(server, GNUTLS_CRD_CERTIFICATE, serverx509cred); gnutls_priority_set_direct(server, +#ifndef ENABLE_FIPS140 "NORMAL:-CIPHER-ALL:+ARCFOUR-128", +#else + "NORMAL:-CIPHER-ALL:+AES-128-CBC", +#endif NULL); gnutls_transport_set_push_function(server, server_push); gnutls_transport_set_pull_function(server, server_pull); |