diff options
Diffstat (limited to 'src/lib/libcrypto/evp/names.c')
-rw-r--r-- | src/lib/libcrypto/evp/names.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/libcrypto/evp/names.c b/src/lib/libcrypto/evp/names.c index 3e8f460328..620f43feaa 100644 --- a/src/lib/libcrypto/evp/names.c +++ b/src/lib/libcrypto/evp/names.c | |||
@@ -114,5 +114,10 @@ void EVP_cleanup(void) | |||
114 | { | 114 | { |
115 | OBJ_NAME_cleanup(OBJ_NAME_TYPE_CIPHER_METH); | 115 | OBJ_NAME_cleanup(OBJ_NAME_TYPE_CIPHER_METH); |
116 | OBJ_NAME_cleanup(OBJ_NAME_TYPE_MD_METH); | 116 | OBJ_NAME_cleanup(OBJ_NAME_TYPE_MD_METH); |
117 | /* The above calls will only clean out the contents of the name | ||
118 | hash table, but not the hash table itself. The following line | ||
119 | does that part. -- Richard Levitte */ | ||
120 | OBJ_NAME_cleanup(-1); | ||
121 | |||
117 | EVP_PBE_cleanup(); | 122 | EVP_PBE_cleanup(); |
118 | } | 123 | } |