]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix OpenSSL without ENGINE support compilation.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 31 Jan 2019 12:33:28 +0000 (12:33 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 31 Jan 2019 12:33:28 +0000 (12:33 +0000)
git-svn-id: file:///svn/unbound/trunk@5096 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/daemon.c

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