nghttpx: Use nghttp2::ssl::DEFAULT_CIPHER_LIST for backend TLS connection

This commit is contained in:
Tatsuhiro Tsujikawa 2015-08-23 23:03:29 +09:00
parent 928a81885c
commit 36d562927f
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,7 @@ SSL_CTX *create_ssl_client_context() {
if (get_config()->ciphers) { if (get_config()->ciphers) {
ciphers = get_config()->ciphers.get(); ciphers = get_config()->ciphers.get();
} else { } else {
ciphers = "HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK"; ciphers = nghttp2::ssl::DEFAULT_CIPHER_LIST;
} }
if (SSL_CTX_set_cipher_list(ssl_ctx, ciphers) == 0) { if (SSL_CTX_set_cipher_list(ssl_ctx, ciphers) == 0) {
LOG(FATAL) << "SSL_CTX_set_cipher_list " << ciphers LOG(FATAL) << "SSL_CTX_set_cipher_list " << ciphers