summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-01-13 11:41:44 +0000
committertb <>2024-01-13 11:41:44 +0000
commita1d245e422e234161ab29feaf60a4bb82cf37e7e (patch)
tree16f6c4810242e37af64194cc261969f9b23bf68f /src
parent9b6974f371f4350fae1bfa93740be50509d4ab1a (diff)
downloadopenbsd-a1d245e422e234161ab29feaf60a4bb82cf37e7e.tar.gz
openbsd-a1d245e422e234161ab29feaf60a4bb82cf37e7e.tar.bz2
openbsd-a1d245e422e234161ab29feaf60a4bb82cf37e7e.zip
Remove OBJ_NAME_cleanup() calls from EVP_cleanup()
This is a noop now, so no need to call it.
Diffstat (limited to 'src')
-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();