summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/evp/names.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/evp/names.c b/src/lib/libcrypto/evp/names.c
index 8cc6d04ce3..6e8cdd55a6 100644
--- a/src/lib/libcrypto/evp/names.c
+++ b/src/lib/libcrypto/evp/names.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: names.c,v 1.24 2024/01/13 11:12:32 tb Exp $ */ 1/* $OpenBSD: names.c,v 1.25 2024/01/13 11:41:44 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 *
@@ -116,13 +116,6 @@ EVP_add_digest(const EVP_MD *md)
116void 116void
117EVP_cleanup(void) 117EVP_cleanup(void)
118{ 118{
119 OBJ_NAME_cleanup(OBJ_NAME_TYPE_CIPHER_METH);
120 OBJ_NAME_cleanup(OBJ_NAME_TYPE_MD_METH);
121 /* The above calls will only clean out the contents of the name
122 hash table, but not the hash table itself. The following line
123 does that part. -- Richard Levitte */
124 OBJ_NAME_cleanup(-1);
125
126 if (obj_cleanup_defer == 2) { 119 if (obj_cleanup_defer == 2) {
127 obj_cleanup_defer = 0; 120 obj_cleanup_defer = 0;
128 OBJ_cleanup(); 121 OBJ_cleanup();