diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-10-31 15:15:41 -0700 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-10-31 15:15:41 -0700 |
commit | 11a518995ec0c0fd3d833e00d5ae67b7e446edbc (patch) | |
tree | d1aa7ef1ab4f461b642e9b226e2438a9a213d303 /test/core/security | |
parent | 0aeef4f0e7417afae8e38702463ffa5d5ac2a590 (diff) |
LLVMfuzzer extern C
Diffstat (limited to 'test/core/security')
-rw-r--r-- | test/core/security/ssl_server_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/security/ssl_server_fuzzer.cc b/test/core/security/ssl_server_fuzzer.cc index 9d43a416c3..8f34e2e420 100644 --- a/test/core/security/ssl_server_fuzzer.cc +++ b/test/core/security/ssl_server_fuzzer.cc @@ -51,7 +51,7 @@ static void on_handshake_done(grpc_exec_ctx *exec_ctx, void *arg, GPR_ASSERT(error != GRPC_ERROR_NONE); } -int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { struct grpc_memory_counters counters; if (squelch) gpr_set_log_function(dont_log); if (leak_check) grpc_memory_counters_init(); |