summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-18 10:22:31 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-18 10:22:31 +0100
commit6c3c6081aa62dc1703e7375a038c2567302c87c7 (patch)
treeae25d4cd2feecbbc96b40e0d45ed6f4f075b6503
parent09d8d8a89f56cf63745b82834945fa33a1a7654e (diff)
downloadgnutls-6c3c6081aa62dc1703e7375a038c2567302c87c7.tar.gz
gnutls-cli-debug: make TLS 1.6 fallback check more reliable
-rw-r--r--src/tests.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests.c b/src/tests.c
index 515bb5a1e0..25c7d5a383 100644
--- a/src/tests.c
+++ b/src/tests.c
@@ -930,10 +930,12 @@ test_code_t test_tls1_6_fallback(gnutls_session_t session)
{
int ret;
+ /* we remove RSA as there is a version check in the key exchange
+ * message we do not properly set in this test */
sprintf(prio_str,
INIT_STR ALL_CIPHERS ":" ALL_COMP ":" ALL_CERTTYPES
":+VERS-TLS1.2:+VERS-TLS1.1:+VERS-TLS1.0:+VERS-SSL3.0:" ALL_MACS ":"
- ALL_KX ":%s", rest);
+ ALL_KX ":-RSA:%s", rest);
_gnutls_priority_set_direct(session, prio_str);
gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, xcred);