s390x assembly pack: accelerate scalar multiplication
[openssl.git] / fuzz / driver.c
index d4b11cd6a477c91be8c5ed096cbeb7fbac6115ad..337b8de5eb517590cde4307d6289517a494acd24 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
  *
- * Licensed under the OpenSSL licenses, (the "License");
+ * Licensed under the Apache License 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  * https://www.openssl.org/source/license.html
@@ -15,6 +15,9 @@
 
 #ifndef OPENSSL_NO_FUZZ_LIBFUZZER
 
+int LLVMFuzzerInitialize(int *argc, char ***argv);
+int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len);
+
 int LLVMFuzzerInitialize(int *argc, char ***argv)
 {
     return FuzzerInitialize(argc, argv);
@@ -40,6 +43,8 @@ int main(int argc, char** argv)
         FuzzerTestOneInput(buf, size);
         free(buf);
     }
+
+    FuzzerCleanup();
     return 0;
 }