From 7b8cc9b3458ec3f18b4d4d9ca2a72b6b3e3744c8 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 4 Apr 2016 15:49:21 +0100 Subject: Deprecate OBJ_cleanup() and make it a no-op OBJ_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/objects/obj_dat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/objects') diff --git a/crypto/objects/obj_dat.c b/crypto/objects/obj_dat.c index 21b4187a25..90db56bbd8 100644 --- a/crypto/objects/obj_dat.c +++ b/crypto/objects/obj_dat.c @@ -61,7 +61,7 @@ #include "internal/cryptlib.h" #include #include -#include +#include "internal/objects.h" #include #include "internal/asn1_int.h" #include "obj_lcl.h" @@ -210,7 +210,7 @@ void check_defer(int nid) obj_cleanup_defer = 1; } -void OBJ_cleanup(void) +void obj_cleanup_intern(void) { if (obj_cleanup_defer) { obj_cleanup_defer = 2; -- cgit v1.2.3