diff options
author | Todd Short <tshort@akamai.com> | 2015-12-21 15:19:29 -0500 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-11-30 07:13:08 +1000 |
commit | e1c7871de80029b81824df4d59edc6de5293835f (patch) | |
tree | 8b5e34751cbc70493dbbb36cddaf7f85cd943ccd /test/ssl_test_ctx.h | |
parent | 92b1b9a8871530f26ef7df972111297ffa721be2 (diff) | |
download | openssl-e1c7871de80029b81824df4d59edc6de5293835f.tar.gz |
Use ChaCha only if prioritized by clnt
IFF the client has ChaCha first, and server cipher priority is used,
and the new SSL_OP_PRIORITIZE_CHACHA_FOR_MOBILE option is used,
then reprioritize ChaCha above everything else. This way, A matching
ChaCha cipher will be selected if there is a match. If no ChaCha ciphers
match, then the other ciphers are used.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4436)
Diffstat (limited to 'test/ssl_test_ctx.h')
-rw-r--r-- | test/ssl_test_ctx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ssl_test_ctx.h b/test/ssl_test_ctx.h index cec6b77f73..2d7b0c207f 100644 --- a/test/ssl_test_ctx.h +++ b/test/ssl_test_ctx.h @@ -210,6 +210,7 @@ typedef struct { int use_sctp; /* Whether to expect a session id from the server */ ssl_session_id_t session_id_expected; + char *expected_cipher; } SSL_TEST_CTX; const char *ssl_test_result_name(ssl_test_result_t result); |