summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-03-17 23:49:15 +0000
committerRichard Levitte <levitte@openssl.org>2000-03-17 23:49:15 +0000
commitee7f80c580507a86baa9d07cc05af9e09de2bcb2 (patch)
tree4138c1a064005c95aae6506ed0ab6dcf50598332 /crypto
parent158ef04857137709fbcedb8dcfd9c698f29f772d (diff)
Make sure to complete the cleanup of names.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/evp/names.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/evp/names.c b/crypto/evp/names.c
index 3e8f460328..620f43feaa 100644
--- 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();
}