diff --git a/fuzz/ssl_ctx_api.cc b/fuzz/ssl_ctx_api.cc index 43880650..4af80c27 100644 --- a/fuzz/ssl_ctx_api.cc +++ b/fuzz/ssl_ctx_api.cc @@ -329,6 +329,16 @@ static const std::function kAPIs[] = { ctx, reinterpret_cast(ocsp_data.data()), ocsp_data.size()); }, + [](SSL_CTX *ctx, CBS *cbs) { + std::string signing_algos; + if (!GetString(&signing_algos, cbs)) { + return; + } + + SSL_CTX_set_signing_algorithm_prefs( + ctx, reinterpret_cast(signing_algos.data()), + signing_algos.size() / sizeof(uint16_t)); + }, [](SSL_CTX *ctx, CBS *cbs) { std::string ciphers; if (!GetString(&ciphers, cbs)) {