]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
gnutls-cli: don't use RSA ciphersuites to test chacha20 as they are not defined
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 2 Dec 2015 17:40:28 +0000 (18:40 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 2 Dec 2015 17:41:29 +0000 (18:41 +0100)
src/benchmark-tls.c

index d5349179ddc622c262b4143ab69eb76e7f66d398..3622097e6438d2411c0c71278294ded55cd098c4 100644 (file)
@@ -54,7 +54,7 @@ const char *side = "";
 #define PRIO_ARCFOUR_128_MD5 "NONE:+VERS-TLS1.0:+ARCFOUR-128:+MD5:+SIGN-ALL:+COMP-NULL:+RSA"
 #define PRIO_AES_GCM "NONE:+VERS-TLS1.2:+AES-128-GCM:+AEAD:+SIGN-ALL:+COMP-NULL:+RSA"
 #define PRIO_AES_CCM "NONE:+VERS-TLS1.2:+AES-128-CCM:+AEAD:+SIGN-ALL:+COMP-NULL:+RSA"
-#define PRIO_CHACHA_POLY1305 "NONE:+VERS-TLS1.2:+CHACHA20-POLY1305:+AEAD:+SIGN-ALL:+COMP-NULL:+RSA"
+#define PRIO_CHACHA_POLY1305 "NONE:+VERS-TLS1.2:+CHACHA20-POLY1305:+AEAD:+SIGN-ALL:+COMP-NULL:+ECDHE-RSA:+CURVE-ALL"
 #define PRIO_CAMELLIA_CBC_SHA1 "NONE:+VERS-TLS1.0:+CAMELLIA-128-CBC:+SHA1:+SIGN-ALL:+COMP-NULL:+RSA"
 
 static const int rsa_bits = 3072, ec_bits = 256;