aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-04-14 10:35:09 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-04-14 10:35:09 -0700
commitb285aab5a7cef450426af7d325898f57f577a24c (patch)
tree01ba87f8a75679b9267b147ab7d7f73bcae874ad /src/core/surface
parentc4885ede9673e2f61f350ba4c641e27dbb851846 (diff)
Share mdctx between secure channels
Diffstat (limited to 'src/core/surface')
-rw-r--r--src/core/surface/secure_channel_create.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/surface/secure_channel_create.c b/src/core/surface/secure_channel_create.c
index 8e56868d42..96b2fe04fa 100644
--- a/src/core/surface/secure_channel_create.c
+++ b/src/core/surface/secure_channel_create.c
@@ -205,12 +205,11 @@ static grpc_transport_setup_result complete_setup(void *channel_stack,
- perform handshakes */
grpc_channel *grpc_secure_channel_create_internal(
const char *target, const grpc_channel_args *args,
- grpc_channel_security_context *context) {
+ grpc_channel_security_context *context, grpc_mdctx *mdctx) {
setup *s;
grpc_channel *channel;
grpc_arg context_arg;
grpc_channel_args *args_copy;
- grpc_mdctx *mdctx = grpc_mdctx_create();
#define MAX_FILTERS 3
const grpc_channel_filter *filters[MAX_FILTERS];
int n = 0;