X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=fuzz%2Fct.c;h=47b0fc3f78af3809740803f663515c8edc6644ea;hp=411ccef4a06e54cc53c8f7a2103d33ba9ed55519;hb=7d22cceeccb4d3daf53151d164d6c4bca6d26089;hpb=33e49fda9635f3daabf912a8781abde0de681fe6 diff --git a/fuzz/ct.c b/fuzz/ct.c index 411ccef4a0..47b0fc3f78 100644 --- a/fuzz/ct.c +++ b/fuzz/ct.c @@ -16,11 +16,13 @@ #include #include "fuzzer.h" -int FuzzerInitialize(int *argc, char ***argv) { +int FuzzerInitialize(int *argc, char ***argv) +{ return 1; } -int FuzzerTestOneInput(const uint8_t *buf, size_t len) { +int FuzzerTestOneInput(const uint8_t *buf, size_t len) +{ const uint8_t **pp = &buf; unsigned char *der = NULL; STACK_OF(SCT) *scts = d2i_SCT_LIST(NULL, pp, len); @@ -38,3 +40,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) { } return 0; } + +void FuzzerCleanup(void) +{ +}