aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/security/ssl_server_fuzzer.c
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-01-31 15:50:05 -0800
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-01-31 15:50:05 -0800
commit6687cb829767c3ab77536b8943343885f8eda131 (patch)
treebdb20055687a6001e9378603dbd32a7e81288f2c /test/core/security/ssl_server_fuzzer.c
parent6b446b601e239eba900b333089634f2546272d16 (diff)
parent7b005f7fddb0ce158c55bb804fe5811a096f1ae0 (diff)
Merge branch 'master' into poll-cv-disable
Diffstat (limited to 'test/core/security/ssl_server_fuzzer.c')
-rw-r--r--test/core/security/ssl_server_fuzzer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/security/ssl_server_fuzzer.c b/test/core/security/ssl_server_fuzzer.c
index 55e8f5e78d..f789278add 100644
--- a/test/core/security/ssl_server_fuzzer.c
+++ b/test/core/security/ssl_server_fuzzer.c
@@ -121,7 +121,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
// server will wait for more data. Explicitly fail the server by shutting down
// the endpoint.
if (!state.done_callback_called) {
- grpc_endpoint_shutdown(&exec_ctx, mock_endpoint);
+ grpc_endpoint_shutdown(&exec_ctx, mock_endpoint,
+ GRPC_ERROR_CREATE("Explicit close"));
grpc_exec_ctx_flush(&exec_ctx);
}