Skip to content
Snippets Groups Projects
Commit b24fb693 authored by yang-g's avatar yang-g
Browse files

clang-format

parent 6ab2ccd4
No related branches found
No related tags found
No related merge requests found
...@@ -109,15 +109,14 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ...@@ -109,15 +109,14 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
grpc_server_credentials_create_security_connector(creds, &sc); grpc_server_credentials_create_security_connector(creds, &sc);
GPR_ASSERT(status == GRPC_SECURITY_OK); GPR_ASSERT(status == GRPC_SECURITY_OK);
sc->channel_args = NULL; sc->channel_args = NULL;
gpr_timespec deadline = gpr_time_add( gpr_timespec deadline = gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC),
gpr_now(GPR_CLOCK_MONOTONIC), gpr_time_from_seconds(1, GPR_TIMESPAN));
gpr_time_from_seconds(1, GPR_TIMESPAN));
struct handshake_state state; struct handshake_state state;
state.done_callback_called = false; state.done_callback_called = false;
grpc_server_security_connector_do_handshake( grpc_server_security_connector_do_handshake(&exec_ctx, sc, NULL,
&exec_ctx, sc, NULL, mock_endpoint, NULL, deadline, mock_endpoint, NULL, deadline,
on_secure_handshake_done, &state); on_secure_handshake_done, &state);
grpc_exec_ctx_flush(&exec_ctx); grpc_exec_ctx_flush(&exec_ctx);
bool mock_endpoint_shutdown = false; bool mock_endpoint_shutdown = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment