diff --git a/fuzz/ssl_ctx_api.cc b/fuzz/ssl_ctx_api.cc index 4af80c27..a66b1a84 100644 --- a/fuzz/ssl_ctx_api.cc +++ b/fuzz/ssl_ctx_api.cc @@ -399,7 +399,7 @@ static const std::function kAPIs[] = { return; } SSL_CTX_set1_curves(ctx, reinterpret_cast(curves.data()), - curves.size()); + curves.size() / sizeof(int)); }, [](SSL_CTX *ctx, CBS *cbs) { std::string curves;