diff options
Diffstat (limited to 'src/lib/libcrypto/objects/obj_dat.c')
-rw-r--r-- | src/lib/libcrypto/objects/obj_dat.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c index e72598ef61..be80420702 100644 --- a/src/lib/libcrypto/objects/obj_dat.c +++ b/src/lib/libcrypto/objects/obj_dat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: obj_dat.c,v 1.82 2023/12/15 01:51:23 tb Exp $ */ | 1 | /* $OpenBSD: obj_dat.c,v 1.83 2024/01/13 11:55:31 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -191,13 +191,6 @@ static IMPLEMENT_LHASH_DOALL_FN(cleanup3, ADDED_OBJ) | |||
191 | int obj_cleanup_defer = 0; | 191 | int obj_cleanup_defer = 0; |
192 | 192 | ||
193 | void | 193 | void |
194 | check_defer(int nid) | ||
195 | { | ||
196 | if (!obj_cleanup_defer && nid >= NUM_NID) | ||
197 | obj_cleanup_defer = 1; | ||
198 | } | ||
199 | |||
200 | void | ||
201 | OBJ_cleanup(void) | 194 | OBJ_cleanup(void) |
202 | { | 195 | { |
203 | if (obj_cleanup_defer) { | 196 | if (obj_cleanup_defer) { |