diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-09-11 11:33:31 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:33 +0100 |
commit | 6435ad8b9a2a59ae0b6698231bd02b2bf7e1002d (patch) | |
tree | 1c52dde4407f5cd6d0e7c249ca77901cc68a704e /tests/record-sizes.c | |
parent | 30c1855c060de476e9463421791db9e013a780b1 (diff) | |
download | gnutls-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/record-sizes.c')
-rw-r--r-- | tests/record-sizes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/record-sizes.c b/tests/record-sizes.c index b1628041da..7e8efbc756 100644 --- a/tests/record-sizes.c +++ b/tests/record-sizes.c @@ -81,7 +81,7 @@ void doit(void) gnutls_anon_set_server_dh_params(s_anoncred, dh_params); gnutls_init(&server, GNUTLS_SERVER); gnutls_priority_set_direct(server, - "NONE:+VERS-TLS-ALL:+ARCFOUR-128:+MD5:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-DH", + "NONE:+VERS-TLS1.2:+ARCFOUR-128:+MD5:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-DH", NULL); gnutls_credentials_set(server, GNUTLS_CRD_ANON, s_anoncred); gnutls_transport_set_push_function(server, server_push); @@ -92,7 +92,7 @@ void doit(void) gnutls_anon_allocate_client_credentials(&c_anoncred); gnutls_init(&client, GNUTLS_CLIENT); gnutls_priority_set_direct(client, - "NONE:+VERS-TLS-ALL:+CIPHER-ALL:+ARCFOUR-128:+MD5:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-DH", + "NONE:+VERS-TLS1.2:+CIPHER-ALL:+ARCFOUR-128:+MD5:+MAC-ALL:+SIGN-ALL:+COMP-NULL:+ANON-DH", NULL); gnutls_credentials_set(client, GNUTLS_CRD_ANON, c_anoncred); gnutls_transport_set_push_function(client, client_push); |