1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-24 17:19:52 +03:00

fix missing openssl feature checks

* add OPENSSL_FIPS feature check

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
This commit is contained in:
Andy Walsh 2018-07-26 12:52:39 +02:00
parent be0e3cfb61
commit ed5ae4a8fe

View File

@ -3679,7 +3679,9 @@ void FreeCryptLibrary()
// RAND_Free_For_SoftEther();
OpenSSL_FreeLock();
#ifdef OPENSSL_FIPS
FIPS_mode_set(0);
#endif
ENGINE_cleanup();
CONF_modules_unload(1);
EVP_cleanup();