mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 23:14:31 +04:00
OpenSSL 1.1 includes the header but support has to be checked in another way. Signed-off-by: Rosen Penev <rosenp@gmail.com>
12 lines
277 B
Diff
12 lines
277 B
Diff
--- a/src/ssl/support.cc
|
|
+++ b/src/ssl/support.cc
|
|
@@ -485,7 +485,7 @@ Ssl::Initialize(void)
|
|
|
|
SQUID_OPENSSL_init_ssl();
|
|
|
|
-#if HAVE_OPENSSL_ENGINE_H
|
|
+#ifndef OPENSSL_NO_ENGINE
|
|
if (::Config.SSL.ssl_engine) {
|
|
ENGINE_load_builtin_engines();
|
|
ENGINE *e;
|