summaryrefslogtreecommitdiff
path: root/tests/gnutls_ext_raw_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gnutls_ext_raw_parse.c')
-rw-r--r--tests/gnutls_ext_raw_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gnutls_ext_raw_parse.c b/tests/gnutls_ext_raw_parse.c
index 1402cdf16e..8f1801fb8a 100644
--- a/tests/gnutls_ext_raw_parse.c
+++ b/tests/gnutls_ext_raw_parse.c
@@ -150,7 +150,7 @@ static void client(int fd)
gnutls_handshake_set_timeout(session, 20 * 1000);
/* Use default priorities */
- gnutls_priority_set_direct(session, "NORMAL", NULL);
+ gnutls_priority_set_direct(session, "NORMAL:-VERS-ALL:+VERS-TLS1.2", NULL);
gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred);
@@ -225,7 +225,7 @@ static void server(int fd)
/* avoid calling all the priority functions, since the defaults
* are adequate.
*/
- gnutls_priority_set_direct(session, "NORMAL", NULL);
+ gnutls_priority_set_direct(session, "NORMAL:-VERS-ALL:+VERS-TLS1.2", NULL);
gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred);