From 02a247e0fa23f2caa9c10df3adf3476eb9813c95 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 4 Apr 2016 17:19:06 +0100 Subject: Deprecate COMP_zlib_cleanup() and make it a no-op COMP_zlib_cleanup() should not be called expicitly - we should leave auto-deinit to clean this up instead. Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte --- crypto/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/init.c') diff --git a/crypto/init.c b/crypto/init.c index 4d28e31ace..fe1ecd876c 100644 --- a/crypto/init.c +++ b/crypto/init.c @@ -64,7 +64,7 @@ #include #include #include -#include +#include #include #include #include @@ -427,9 +427,9 @@ void OPENSSL_cleanup(void) if (zlib_inited) { #ifdef OPENSSL_INIT_DEBUG fprintf(stderr, "OPENSSL_INIT: OPENSSL_cleanup: " - "COMP_zlib_cleanup()\n"); + "comp_zlib_cleanup_internal()\n"); #endif - COMP_zlib_cleanup(); + comp_zlib_cleanup_internal(); } #endif -- cgit v1.2.3