bignum fuzzer: move new and free calls to the init and cleanup function.
[openssl.git] / fuzz / server.c
index 26ef4da..b8a3ac4 100644 (file)
@@ -250,3 +250,8 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len)
     SSL_free(server);
     return 0;
 }
+
+void FuzzerCleanup(void)
+{
+    SSL_CTX_free(ctx);
+}