aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Jiangtao Li <jiangtao@google.com>2018-05-16 11:15:29 -0700
committerGravatar GitHub <noreply@github.com>2018-05-16 11:15:29 -0700
commit47c2d8d64a3ba0478a566c141b7e7ee871afa144 (patch)
tree0021e8513c490be7c76ea8316dccc3bf9eb4a555 /src
parente499d9bae870ada85b1ac9fbd84ed7405367c564 (diff)
parent54e19eaaf3c2d5db4f00dca7285397f5b6ff2779 (diff)
Merge pull request #15404 from jiangtaoli2016/ecdsa
Add ECDSA to gRPC default SSL cipher list
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/security/security_connector/security_connector.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/lib/security/security_connector/security_connector.cc b/src/core/lib/security/security_connector/security_connector.cc
index a30696703f..b54a7643e4 100644
--- a/src/core/lib/security/security_connector/security_connector.cc
+++ b/src/core/lib/security/security_connector/security_connector.cc
@@ -69,8 +69,11 @@ void grpc_set_ssl_roots_override_callback(grpc_ssl_roots_override_callback cb) {
/* Defines the cipher suites that we accept by default. All these cipher suites
are compliant with HTTP2. */
-#define GRPC_SSL_CIPHER_SUITES \
- "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384"
+#define GRPC_SSL_CIPHER_SUITES \
+ "ECDHE-ECDSA-AES128-GCM-SHA256:" \
+ "ECDHE-ECDSA-AES256-GCM-SHA384:" \
+ "ECDHE-RSA-AES128-GCM-SHA256:" \
+ "ECDHE-RSA-AES256-GCM-SHA384"
static gpr_once cipher_suites_once = GPR_ONCE_INIT;
static const char* cipher_suites = nullptr;