summaryrefslogtreecommitdiff
path: root/tests/tls12-cipher-neg.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tls12-cipher-neg.c')
-rw-r--r--tests/tls12-cipher-neg.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/tls12-cipher-neg.c b/tests/tls12-cipher-neg.c
index 775ccdb9f4..3e2352d677 100644
--- a/tests/tls12-cipher-neg.c
+++ b/tests/tls12-cipher-neg.c
@@ -39,6 +39,20 @@
test_case_st tests[] = {
{
+ .name = "server TLS 1.2: NULL (server)",
+ .not_on_fips = 1,
+ .cipher = GNUTLS_CIPHER_NULL,
+ .server_prio = "NORMAL:-CIPHER-ALL:+NULL:+CIPHER-ALL:-VERS-ALL:+VERS-TLS1.2:%SERVER_PRECEDENCE",
+ .client_prio = "NORMAL:+NULL"
+ },
+ {
+ .name = "client TLS 1.2: NULL (client)",
+ .not_on_fips = 1,
+ .cipher = GNUTLS_CIPHER_NULL,
+ .server_prio = "NORMAL:+NULL",
+ .client_prio = "NORMAL:-CIPHER-ALL:+NULL:+CIPHER-ALL:-VERS-ALL:+VERS-TLS1.2"
+ },
+ {
.name = "server TLS 1.2: AES-128-GCM (server)",
.cipher = GNUTLS_CIPHER_AES_128_GCM,
.server_prio = "NORMAL:-CIPHER-ALL:+AES-128-GCM:+CIPHER-ALL:-VERS-ALL:+VERS-TLS1.2:%SERVER_PRECEDENCE",