projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
158ef04
)
Make sure to complete the cleanup of names.
author
Richard Levitte
<levitte@openssl.org>
Fri, 17 Mar 2000 23:49:15 +0000
(23:49 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Fri, 17 Mar 2000 23:49:15 +0000
(23:49 +0000)
crypto/evp/names.c
patch
|
blob
|
history
diff --git
a/crypto/evp/names.c
b/crypto/evp/names.c
index 3e8f4603285124091032daec2496ac8307a00c3f..620f43feaadebb6945c6cfa6c0ca13d324db3b87 100644
(file)
--- a/
crypto/evp/names.c
+++ b/
crypto/evp/names.c
@@
-114,5
+114,10
@@
void EVP_cleanup(void)
{
OBJ_NAME_cleanup(OBJ_NAME_TYPE_CIPHER_METH);
OBJ_NAME_cleanup(OBJ_NAME_TYPE_MD_METH);
+ /* The above calls will only clean out the contents of the name
+ hash table, but not the hash table itself. The following line
+ does that part. -- Richard Levitte */
+ OBJ_NAME_cleanup(-1);
+
EVP_PBE_cleanup();
}