summaryrefslogtreecommitdiff
path: root/tests/mini-eagain.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2017-09-11 11:33:31 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-02-19 15:29:33 +0100
commit6435ad8b9a2a59ae0b6698231bd02b2bf7e1002d (patch)
tree1c52dde4407f5cd6d0e7c249ca77901cc68a704e /tests/mini-eagain.c
parent30c1855c060de476e9463421791db9e013a780b1 (diff)
downloadgnutls-6435ad8b9a2a59ae0b6698231bd02b2bf7e1002d.tar.gz
tests: fix TLS version to 1.2 for tests which used VERS-TLS-ALL
This allows the test suite to run, even when TLS1.3 is still experimental. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'tests/mini-eagain.c')
-rw-r--r--tests/mini-eagain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mini-eagain.c b/tests/mini-eagain.c
index f74092d058..124b535103 100644
--- a/tests/mini-eagain.c
+++ b/tests/mini-eagain.c
@@ -78,7 +78,7 @@ void doit(void)
gnutls_init(&server, GNUTLS_SERVER);
ret =
gnutls_priority_set_direct(server,
- "NONE:+VERS-TLS-ALL:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-DH",
+ "NONE:+VERS-TLS1.2:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-DH",
NULL);
if (ret < 0)
exit(1);
@@ -92,7 +92,7 @@ void doit(void)
gnutls_init(&client, GNUTLS_CLIENT);
ret =
gnutls_priority_set_direct(client,
- "NONE:+VERS-TLS-ALL:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-DH",
+ "NONE:+VERS-TLS1.2:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-DH",
NULL);
if (ret < 0)
exit(1);