summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-05-03 14:19:34 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-05-03 16:17:57 +0200
commit2aa490f38678667c3ef974574c08f9a19536bd7a (patch)
tree347fb2e2c7b3383cb95067dfcd507ac453fd808b
parent4fada510fabc703d0ae697a77732335a8da6e6fd (diff)
downloadgnutls-2aa490f38678667c3ef974574c08f9a19536bd7a.tar.gz
tests: fallback scsv: check proper fallback under TLS 1.3
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/fallback-scsv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fallback-scsv.c b/tests/fallback-scsv.c
index de0351b8fd..aeaa9d8056 100644
--- a/tests/fallback-scsv.c
+++ b/tests/fallback-scsv.c
@@ -309,6 +309,9 @@ void doit(void)
start("NORMAL", "NORMAL:%FALLBACK_SCSV", 0);
start("NORMAL:-VERS-TLS-ALL:+VERS-TLS1.1", "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.1:%FALLBACK_SCSV", 0);
start("NORMAL", "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.1:%FALLBACK_SCSV", 1);
+ /* Check whether a TLS1.3 server rejects a TLS1.2 client which includes the SCSV */
+ start("NORMAL:+VERS-TLS1.3:+VERS-TLS1.2", "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.2:%FALLBACK_SCSV", 1);
+ start("NORMAL:+VERS-TLS1.3:+VERS-TLS1.2", "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.3:+VERS-TLS1.2:%FALLBACK_SCSV", 0);
}
#endif /* _WIN32 */