diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2018-07-15 13:49:53 +0200 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2018-07-17 00:01:00 +0200 |
commit | 07fc8d5207febe53c8203a8a89fb7ba006871a1b (patch) | |
tree | 97218253cef2310d1fd3dda72a25ece19327f722 /fuzz/client.c | |
parent | EC2M Lopez-Dahab ladder: use it also for ECDSA verify (diff) | |
download | openssl-07fc8d5207febe53c8203a8a89fb7ba006871a1b.tar.xz openssl-07fc8d5207febe53c8203a8a89fb7ba006871a1b.zip |
Enable all protocols and ciphers in the fuzzer
The config file can override it.
In case of the server, it needs to be set on the ctx or some of the
other functions on the ctx might file.
Reviewed-by: Rich Salz <rsalz@openssl.org>
DH: #6718
Diffstat (limited to 'fuzz/client.c')
-rw-r--r-- | fuzz/client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz/client.c b/fuzz/client.c index ce6d8cc85e..bc01f62231 100644 --- a/fuzz/client.c +++ b/fuzz/client.c @@ -73,6 +73,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) ctx = SSL_CTX_new(SSLv23_method()); client = SSL_new(ctx); + OPENSSL_assert(SSL_set_min_proto_version(client, 0) == 1); OPENSSL_assert(SSL_set_cipher_list(client, "ALL:eNULL:@SECLEVEL=0") == 1); SSL_set_tlsext_host_name(client, "localhost"); in = BIO_new(BIO_s_mem()); |