Chromium Code Reviews| Index: net/socket/ssl_client_socket_nss.cc |
| diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc |
| index 89eab143140f5aadadd7e5cf8678d9692499f8a8..53dcd5a0e26ffd818e3e6fffdcb8b3055609daf1 100644 |
| --- a/net/socket/ssl_client_socket_nss.cc |
| +++ b/net/socket/ssl_client_socket_nss.cc |
| @@ -3136,6 +3136,15 @@ int SSLClientSocketNSS::InitializeSSLOptions() { |
| SSL_CipherPrefSet(nss_fd_, *it, PR_FALSE); |
| } |
| + size_t cipher_order_len; |
| + const uint16* cipher_order = GetNSSCipherOrder(&cipher_order_len); |
| + if (cipher_order) { |
| + rv = SSL_CipherOrderSet(nss_fd_, cipher_order, cipher_order_len); |
| + if (rv != SECSuccess) { |
| + LogFailedNSSFunction(net_log_, "SSL_CipherOrderSet", ""); |
| + } |
|
wtc
2013/11/27 18:01:51
Nit: omit the curly braces.
|
| + } |
| + |
| // Support RFC 5077 |
| rv = SSL_OptionSet(nss_fd_, SSL_ENABLE_SESSION_TICKETS, PR_TRUE); |
| if (rv != SECSuccess) { |