aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-06 20:24:29 -0500
committerNick Mathewson <nickm@torproject.org>2016-11-06 20:24:29 -0500
commit61612f980d397503ebdd0a2259fac233af6298c9 (patch)
treea5b243a86647e4e06809af320ae6fa3b665aac4e /src/test/test_tortls.c
parentb28d818423e2f4ef14975432b4c91ce586613edb (diff)
parentdef41e93bdcce741c7eb87a06690fb36a133b8bb (diff)
downloadtor-61612f980d397503ebdd0a2259fac233af6298c9.tar.gz
tor-61612f980d397503ebdd0a2259fac233af6298c9.zip
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/test/test_tortls.c')
-rw-r--r--src/test/test_tortls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_tortls.c b/src/test/test_tortls.c
index 44961c88e7..e2fee813bf 100644
--- a/src/test/test_tortls.c
+++ b/src/test/test_tortls.c
@@ -834,9 +834,9 @@ test_tortls_classify_client_ciphers(void *ignored)
sk_SSL_CIPHER_zero(ciphers);
- one = get_cipher_by_name("ECDH-RSA-AES256-GCM-SHA384");
+ one = get_cipher_by_name("ECDHE-RSA-AES256-GCM-SHA384");
one->id = 0x00ff;
- two = get_cipher_by_name("ECDH-RSA-AES128-GCM-SHA256");
+ two = get_cipher_by_name("ECDHE-RSA-AES128-GCM-SHA256");
two->id = 0x0000;
sk_SSL_CIPHER_push(ciphers, one);
tls->client_cipher_list_type = 0;
@@ -906,7 +906,7 @@ test_tortls_client_is_using_v2_ciphers(void *ignored)
tt_int_op(ret, OP_EQ, 0);
ciphers = sk_SSL_CIPHER_new_null();
- SSL_CIPHER *one = get_cipher_by_name("ECDH-RSA-AES256-GCM-SHA384");
+ SSL_CIPHER *one = get_cipher_by_name("ECDHE-RSA-AES256-GCM-SHA384");
one->id = 0x00ff;
sk_SSL_CIPHER_push(ciphers, one);
sess->ciphers = ciphers;
@@ -1551,7 +1551,7 @@ test_tortls_session_secret_cb(void *ignored)
tor_tls_session_secret_cb(tls->ssl, NULL, NULL, NULL, NULL, NULL);
tt_assert(!tls->ssl->tls_session_secret_cb);
- one = get_cipher_by_name("ECDH-RSA-AES256-GCM-SHA384");
+ one = get_cipher_by_name("ECDHE-RSA-AES256-GCM-SHA384");
one->id = 0x00ff;
ciphers = sk_SSL_CIPHER_new_null();
sk_SSL_CIPHER_push(ciphers, one);