aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-12-06 07:50:03 -0800
committerGravatar Mark D. Roth <roth@google.com>2016-12-06 07:50:03 -0800
commit5335cd62b68925f478248c7ff2b01a3bb31f78a9 (patch)
treeca3682617bdb3b0dfc7de0c80b348e562bcff663 /test/core
parentd9ef2830d0aa0ca447019ed505e154bb6f5d3745 (diff)
Fix test.
Diffstat (limited to 'test/core')
-rw-r--r--test/core/security/ssl_server_fuzzer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/core/security/ssl_server_fuzzer.c b/test/core/security/ssl_server_fuzzer.c
index ca629a6eba..8673225fef 100644
--- a/test/core/security/ssl_server_fuzzer.c
+++ b/test/core/security/ssl_server_fuzzer.c
@@ -111,8 +111,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
struct handshake_state state;
state.done_callback_called = false;
grpc_handshake_manager *handshake_mgr = grpc_handshake_manager_create();
- grpc_server_security_connector_create_handshakers(&exec_ctx, sc,
- handshake_mgr);
+ grpc_server_security_connector_add_handshakers(&exec_ctx, sc, handshake_mgr);
grpc_handshake_manager_do_handshake(
&exec_ctx, handshake_mgr, mock_endpoint, NULL /* channel_args */,
deadline, NULL /* acceptor */, on_handshake_done, &state);