1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

Fix compilation without OpenSSL ENGINE

This commit is contained in:
Rosen Penev 2019-02-25 14:24:31 -08:00 committed by GitHub
parent 6773eb3e0b
commit 26261236ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3704,7 +3704,9 @@ void FreeCryptLibrary()
#ifdef OPENSSL_FIPS #ifdef OPENSSL_FIPS
FIPS_mode_set(0); FIPS_mode_set(0);
#endif #endif
#ifndef OPENSSL_NO_ENGINE
ENGINE_cleanup(); ENGINE_cleanup();
#endif
CONF_modules_unload(1); CONF_modules_unload(1);
EVP_cleanup(); EVP_cleanup();