aboutsummaryrefslogtreecommitdiff
path: root/fuzz/client.cc
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2017-08-17 13:11:23 -0400
committerCQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>2017-08-18 00:15:10 +0000
commit65b87ce4f64c90a0f0de27293ecfe2dee37b8a3c (patch)
tree8b9ac160f6c40a77864d9a42ebd87253d4f55ffe /fuzz/client.cc
parent388dfa187fa7a3573e5ccd67a175fbe1c1786b54 (diff)
downloadboringssl-65b87ce4f64c90a0f0de27293ecfe2dee37b8a3c.zip
boringssl-65b87ce4f64c90a0f0de27293ecfe2dee37b8a3c.tar.gz
boringssl-65b87ce4f64c90a0f0de27293ecfe2dee37b8a3c.tar.bz2
Remove internal uses of SSLv23_*.
Change-Id: I69157b5e2527a2f92fc7b4b924a36e3399d043db Reviewed-on: https://boringssl-review.googlesource.com/19444 Reviewed-by: David Benjamin <davidben@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/client.cc')
-rw-r--r--fuzz/client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/client.cc b/fuzz/client.cc
index 250f666..32027d5 100644
--- a/fuzz/client.cc
+++ b/fuzz/client.cc
@@ -55,7 +55,7 @@ static int NPNSelectCallback(SSL *ssl, uint8_t **out, uint8_t *out_len,
}
struct GlobalState {
- GlobalState() : ctx(SSL_CTX_new(SSLv23_method())) {
+ GlobalState() : ctx(SSL_CTX_new(TLS_method())) {
debug = getenv("BORINGSSL_FUZZER_DEBUG") != nullptr;
const uint8_t *bufp = kRSAPrivateKeyDER;