Add a FuzzerClean() function
[openssl.git] / fuzz / asn1.c
index 5125f363ffc0172810c7c50348c5cd3b0bf1fe7f..f7b5571d4f7d2d3e21352232b2dc32332c38fe20 100644 (file)
@@ -183,11 +183,13 @@ static ASN1_ITEM_EXP *item_type[] = {
     NULL
 };
 
     NULL
 };
 
-int FuzzerInitialize(int *argc, char ***argv) {
+int FuzzerInitialize(int *argc, char ***argv)
+{
     return 1;
 }
 
     return 1;
 }
 
-int FuzzerTestOneInput(const uint8_t *buf, size_t len) {
+int FuzzerTestOneInput(const uint8_t *buf, size_t len)
+{
     int n;
 
     ASN1_PCTX *pctx = ASN1_PCTX_new();
     int n;
 
     ASN1_PCTX *pctx = ASN1_PCTX_new();
@@ -220,3 +222,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) {
 
     return 0;
 }
 
     return 0;
 }
+
+void FuzzerCleanup(void)
+{
+}