clang-format

pull/8642/head
yang-g 8 years ago
parent 6ab2ccd437
commit b24fb69366
  1. 7
      test/core/security/ssl_server_fuzzer.c

@ -109,14 +109,13 @@ 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);

Loading…
Cancel
Save