extend openssl cleanup

This commit is contained in:
crypto-ape 2019-04-02 12:33:04 +02:00
parent e82b327605
commit a188a95f2c

View file

@ -39,7 +39,10 @@ namespace fc
~openssl_scope()
{
FIPS_mode_set(0);
CONF_modules_unload(1);
EVP_cleanup();
CRYPTO_cleanup_all_ex_data();
ERR_free_strings();
}
};