summaryrefslogtreecommitdiffstats
path: root/crypto/init.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-04-04 17:19:06 +0100
committerMatt Caswell <matt@openssl.org>2016-04-13 08:52:33 +0100
commit02a247e0fa23f2caa9c10df3adf3476eb9813c95 (patch)
tree27382f1da3d5bfffe5b6ac0d3bded12645a8146c /crypto/init.c
parent01d358a3ab09b0a4e79a5a492169aedcfbe8ddb3 (diff)
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 <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/init.c')
-rw-r--r--crypto/init.c6
1 files changed, 3 insertions, 3 deletions
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 <internal/conf.h>
#include <internal/async.h>
#include <internal/engine.h>
-#include <openssl/comp.h>
+#include <internal/comp.h>
#include <internal/err.h>
#include <stdlib.h>
#include <assert.h>
@@ -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