]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
gnutls-cli-debug: use explicit TLS versions rather than TLS-ALL
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 11 Sep 2017 13:54:40 +0000 (15:54 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 19 Feb 2018 14:29:33 +0000 (15:29 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
src/tests.c

index b033b5126179948221157c3e97811c7d32b5de19..e0e8657a3d9df4b99481b227addf5d324ee6dbb2 100644 (file)
@@ -912,7 +912,7 @@ test_code_t test_record_padding(gnutls_session_t session)
 
        sprintf(prio_str,
                INIT_STR BLOCK_CIPHERS ":" ALL_COMP ":" ALL_CERTTYPES
-               ":+VERS-TLS-ALL:-VERS-SSL3.0:" ALL_MACS ":" ALL_KX ":%s", rest);
+               ":+VERS-TLS1.2:+VERS-TLS1.1:+VERS-TLS1.0:-VERS-SSL3.0:" ALL_MACS ":" ALL_KX ":%s", rest);
        _gnutls_priority_set_direct(session, prio_str);
 
        gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, xcred);