diff options
author | Richard Levitte <levitte@openssl.org> | 2000-03-17 23:49:15 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-03-17 23:49:15 +0000 |
commit | ee7f80c580507a86baa9d07cc05af9e09de2bcb2 (patch) | |
tree | 4138c1a064005c95aae6506ed0ab6dcf50598332 /crypto/evp/names.c | |
parent | 158ef04857137709fbcedb8dcfd9c698f29f772d (diff) | |
download | openssl-ee7f80c580507a86baa9d07cc05af9e09de2bcb2.tar.gz |
Make sure to complete the cleanup of names.
Diffstat (limited to 'crypto/evp/names.c')
-rw-r--r-- | crypto/evp/names.c | 5 |
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(); } |