- Fix OpenSSL without ENGINE support compilation.

git-svn-id: file:///svn/unbound/trunk@5096 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2019-01-31 12:33:28 +00:00
parent 8cf5eae166
commit b34a6defc1

View file

@ -770,7 +770,7 @@ daemon_delete(struct daemon* daemon)
# endif # endif
# ifdef HAVE_OPENSSL_CONFIG # ifdef HAVE_OPENSSL_CONFIG
EVP_cleanup(); EVP_cleanup();
# if (OPENSSL_VERSION_NUMBER < 0x10100000) || !defined(OPENSSL_NO_ENGINE) # if (OPENSSL_VERSION_NUMBER < 0x10100000) && !defined(OPENSSL_NO_ENGINE)
ENGINE_cleanup(); ENGINE_cleanup();
# endif # endif
CONF_modules_free(); CONF_modules_free();