Skip to content

Commit

Permalink
null init
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Nov 18, 2024
1 parent 7b98f1f commit d467b80
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/fuzz/s2n_certificate_extensions_parse_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ static uint8_t verify_host_accept_everything(const char *host_name, size_t host_
/* This test is for TLS versions 1.3 and up only */
static const uint8_t TLS_VERSIONS[] = {S2N_TLS13};

int s2n_fuzz_init(int *argc, char **argv[])
{
return S2N_SUCCESS;
}

int s2n_fuzz_test(const uint8_t *buf, size_t len)
{
/* We need at least one byte of input to set parameters */
Expand Down Expand Up @@ -117,4 +112,4 @@ int s2n_fuzz_test(const uint8_t *buf, size_t len)
return S2N_SUCCESS;
}

S2N_FUZZ_TARGET(s2n_fuzz_init, s2n_fuzz_test, NULL)
S2N_FUZZ_TARGET(NULL, s2n_fuzz_test, NULL)

0 comments on commit d467b80

Please sign in to comment.