X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=fuzz%2Fx509.c;h=78fef6c3ff00434626d6aa2dc2ab653e365e5c86;hp=cc6ff83babe2546aabc829b3cc0741e8ff26d8c0;hb=ad4da7fbc0779fb1730c9862221e19583de69f4f;hpb=03cb37acec0c23a01bee4357cd59ec9f97e528ba diff --git a/fuzz/x509.c b/fuzz/x509.c index cc6ff83bab..78fef6c3ff 100644 --- a/fuzz/x509.c +++ b/fuzz/x509.c @@ -12,7 +12,13 @@ #include #include "fuzzer.h" -int FuzzerTestOneInput(const uint8_t *buf, size_t len) { +int FuzzerInitialize(int *argc, char ***argv) +{ + return 1; +} + +int FuzzerTestOneInput(const uint8_t *buf, size_t len) +{ const unsigned char *p = buf; unsigned char *der = NULL; @@ -30,3 +36,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) { } return 0; } + +void FuzzerCleanup(void) +{ +}