Include |SSL_CTX_set_signing_algorithm_prefs| in SSL_CTX fuzzer.

I missed this function, which was unfortunate.

Change-Id: I8bcea1738a50aa3297d09a59a86437351ff5f84a
Reviewed-on: https://boringssl-review.googlesource.com/11623
Commit-Queue: Adam Langley <alangley@gmail.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
Adam Langley 2016-10-18 10:17:11 -07:00 committed by Adam Langley
parent 99dce54031
commit 840445d406

View File

@ -329,6 +329,16 @@ static const std::function<void(SSL_CTX *, CBS *)> kAPIs[] = {
ctx, reinterpret_cast<const uint8_t *>(ocsp_data.data()), ctx, reinterpret_cast<const uint8_t *>(ocsp_data.data()),
ocsp_data.size()); 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<const uint16_t *>(signing_algos.data()),
signing_algos.size() / sizeof(uint16_t));
},
[](SSL_CTX *ctx, CBS *cbs) { [](SSL_CTX *ctx, CBS *cbs) {
std::string ciphers; std::string ciphers;
if (!GetString(&ciphers, cbs)) { if (!GetString(&ciphers, cbs)) {