X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=fuzz%2Fx509.c;h=78fef6c3ff00434626d6aa2dc2ab653e365e5c86;hp=b2851f1e11480743fb530d7f9ab67e2b822165b7;hb=ad4da7fbc0779fb1730c9862221e19583de69f4f;hpb=a05b0bcf878c8c52824e8ee4bb6c1853fa23800b diff --git a/fuzz/x509.c b/fuzz/x509.c index b2851f1e11..78fef6c3ff 100644 --- a/fuzz/x509.c +++ b/fuzz/x509.c @@ -12,11 +12,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 unsigned char *p = buf; unsigned char *der = NULL; @@ -34,3 +36,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) { } return 0; } + +void FuzzerCleanup(void) +{ +}