clean up openssl data structures on exit

This commit is contained in:
Bernhard Amann 2014-05-19 14:43:46 -07:00
parent 604072f762
commit 360a93badb
2 changed files with 5 additions and 1 deletions

View file

@ -1174,6 +1174,10 @@ int main(int argc, char** argv)
sqlite3_shutdown();
ERR_free_strings();
EVP_cleanup();
CRYPTO_cleanup_all_ex_data();
// Close files after net_delete(), because net_delete()
// might write to connection content files.
BroFile::CloseCachedFiles();