diff options
| author | tb <> | 2024-01-13 11:41:44 +0000 |
|---|---|---|
| committer | tb <> | 2024-01-13 11:41:44 +0000 |
| commit | a1d245e422e234161ab29feaf60a4bb82cf37e7e (patch) | |
| tree | 16f6c4810242e37af64194cc261969f9b23bf68f /src/lib | |
| parent | 9b6974f371f4350fae1bfa93740be50509d4ab1a (diff) | |
| download | openbsd-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/lib')
| -rw-r--r-- | src/lib/libcrypto/evp/names.c | 9 |
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) | |||
| 116 | void | 116 | void |
| 117 | EVP_cleanup(void) | 117 | EVP_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(); |
