Respect the OPENSSL_NO_ENGINE feature test #define.
This commit is contained in:
parent
199ba153a4
commit
1f65c999c6
@ -55,7 +55,9 @@ public:
|
||||
::EVP_cleanup();
|
||||
::CRYPTO_cleanup_all_ex_data();
|
||||
::CONF_modules_unload(1);
|
||||
#if !defined(OPENSSL_NO_ENGINE)
|
||||
::ENGINE_cleanup();
|
||||
#endif // !defined(OPENSSL_NO_ENGINE)
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -18,7 +18,9 @@
|
||||
#include "asio/detail/config.hpp"
|
||||
#include <openssl/conf.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/engine.h>
|
||||
#if !defined(OPENSSL_NO_ENGINE)
|
||||
# include <openssl/engine.h>
|
||||
#endif // !defined(OPENSSL_NO_ENGINE)
|
||||
#include <openssl/err.h>
|
||||
#include <openssl/x509v3.h>
|
||||
#include "asio/detail/socket_types.hpp"
|
||||
|
Loading…
Reference in New Issue
Block a user