diff options
Diffstat (limited to 'tests/rehandshake-switch-cert-allow.c')
-rw-r--r-- | tests/rehandshake-switch-cert-allow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rehandshake-switch-cert-allow.c b/tests/rehandshake-switch-cert-allow.c index a31597e5f1..c657078689 100644 --- a/tests/rehandshake-switch-cert-allow.c +++ b/tests/rehandshake-switch-cert-allow.c @@ -84,7 +84,7 @@ static void try(void) serverx509cred); gnutls_priority_set_direct(server, - "NORMAL", + "NORMAL:-VERS-ALL:+VERS-TLS1.2", NULL); gnutls_transport_set_push_function(server, server_push); gnutls_transport_set_pull_function(server, server_pull); @@ -109,7 +109,7 @@ static void try(void) if (ret < 0) exit(1); - ret = gnutls_priority_set_direct(client, "NORMAL:-KX-ALL:+RSA", NULL); + ret = gnutls_priority_set_direct(client, "NORMAL:-VERS-ALL:+VERS-TLS1.2:-KX-ALL:+RSA", NULL); if (ret < 0) exit(1); |