mirror of https://github.com/openssl/openssl
fuzz: remove TODOs
Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15539)
This commit is contained in:
parent
db70dc2cda
commit
fb6ad22e36
|
@ -63,10 +63,6 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len)
|
||||||
if (len == 0)
|
if (len == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/*
|
|
||||||
* TODO: use the ossltest engine (optionally?) to disable crypto checks.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* This only fuzzes the initial flow from the client so far. */
|
/* This only fuzzes the initial flow from the client so far. */
|
||||||
ctx = SSL_CTX_new(SSLv23_method());
|
ctx = SSL_CTX_new(SSLv23_method());
|
||||||
|
|
||||||
|
|
|
@ -538,10 +538,6 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len)
|
||||||
if (len < 2)
|
if (len < 2)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/*
|
|
||||||
* TODO: use the ossltest engine (optionally?) to disable crypto checks.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* This only fuzzes the initial flow from the client so far. */
|
/* This only fuzzes the initial flow from the client so far. */
|
||||||
ctx = SSL_CTX_new(SSLv23_method());
|
ctx = SSL_CTX_new(SSLv23_method());
|
||||||
|
|
||||||
|
@ -618,8 +614,6 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len)
|
||||||
X509_free(cert);
|
X509_free(cert);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* TODO: Set up support for SRP and PSK */
|
|
||||||
|
|
||||||
server = SSL_new(ctx);
|
server = SSL_new(ctx);
|
||||||
in = BIO_new(BIO_s_mem());
|
in = BIO_new(BIO_s_mem());
|
||||||
out = BIO_new(BIO_s_mem());
|
out = BIO_new(BIO_s_mem());
|
||||||
|
|
Loading…
Reference in New Issue