aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/ext
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-07-21 23:02:16 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2015-07-21 23:02:16 -0700
commit5029b30d1ce8509a4b2f7c17e88bddb8a5206f56 (patch)
treeb586799ce95e506d9cb5311d7bf5e751bf26226f /src/csharp/ext
parentd1408e71636f7ec74839a9bcff0429fb7e2caeb0 (diff)
Adding option to force client auth on the server SSL creds.
Diffstat (limited to 'src/csharp/ext')
-rw-r--r--src/csharp/ext/grpc_csharp_ext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/csharp/ext/grpc_csharp_ext.c b/src/csharp/ext/grpc_csharp_ext.c
index 7dd1959a5f..3c0035d453 100644
--- a/src/csharp/ext/grpc_csharp_ext.c
+++ b/src/csharp/ext/grpc_csharp_ext.c
@@ -718,8 +718,9 @@ grpcsharp_ssl_server_credentials_create(
key_cert_pairs[i].private_key = key_cert_pair_private_key_array[i];
}
}
+ /* TODO: Add a force_client_auth parameter and pass it here. */
creds = grpc_ssl_server_credentials_create(pem_root_certs, key_cert_pairs,
- num_key_cert_pairs);
+ num_key_cert_pairs, 0);
gpr_free(key_cert_pairs);
return creds;
}