mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
squid: Fix compilation without OpenSSL ENGINE support
OpenSSL 1.1 includes the header but support has to be checked in another way. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=squid
|
PKG_NAME:=squid
|
||||||
PKG_VERSION:=4.4
|
PKG_VERSION:=4.4
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
|
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- 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;
|
||||||
Reference in New Issue
Block a user