diff options
author | David Benjamin <davidben@google.com> | 2017-05-10 11:11:17 -0400 |
---|---|---|
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | 2017-05-10 15:18:01 +0000 |
commit | 8b0515b0f1b8af39f96a16d930bae6e685942d3e (patch) | |
tree | c99b308531d38e45c6a69608174060d6c8f8e6f1 /fuzz | |
parent | f99d2c6141971be8c351965f78ebe04c682e1e1f (diff) | |
download | boringssl-8b0515b0f1b8af39f96a16d930bae6e685942d3e.zip boringssl-8b0515b0f1b8af39f96a16d930bae6e685942d3e.tar.gz boringssl-8b0515b0f1b8af39f96a16d930bae6e685942d3e.tar.bz2 |
Fix fuzzer build.
I'm going to work on adding these to CI, since we keep breaking it on
accident.
Change-Id: I9acd4d3fa7b00c4f0cb0f187dae6bb9c51997515
Reviewed-on: https://boringssl-review.googlesource.com/16125
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/client.cc | 2 | ||||
-rw-r--r-- | fuzz/server.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/client.cc b/fuzz/client.cc index ee75a7c..d7361c8 100644 --- a/fuzz/client.cc +++ b/fuzz/client.cc @@ -270,7 +270,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) { SSL_set_bio(client, in, out); SSL_set_connect_state(client); SSL_set_renegotiate_mode(client, ssl_renegotiate_freely); - SSL_set_max_version(client, TLS1_3_VERSION); + SSL_set_max_proto_version(client, TLS1_3_VERSION); SSL_enable_ocsp_stapling(client); SSL_enable_signed_cert_timestamps(client); SSL_set_tlsext_host_name(client, "hostname"); diff --git a/fuzz/server.cc b/fuzz/server.cc index af1696c..2d259fb 100644 --- a/fuzz/server.cc +++ b/fuzz/server.cc @@ -271,7 +271,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) { BIO *out = BIO_new(BIO_s_mem()); SSL_set_bio(server, in, out); SSL_set_accept_state(server); - SSL_set_max_version(server, TLS1_3_VERSION); + SSL_set_max_proto_version(server, TLS1_3_VERSION); SSL_set_tls_channel_id_enabled(server, 1); // Enable ciphers that are off by default. |