Blame SOURCES/0020-curl-7.61.1-openssl-engines.patch

f01274
From 032843be4cefcb163d15573d15a228680e771106 Mon Sep 17 00:00:00 2001
f01274
From: Daniel Stenberg <daniel@haxx.se>
f01274
Date: Mon, 24 Sep 2018 08:26:58 +0200
f01274
Subject: [PATCH] openssl: load built-in engines too
f01274
f01274
Regression since 38203f1
f01274
f01274
Reported-by: Jean Fabrice
f01274
Fixes #3023
f01274
Closes #3040
f01274
f01274
Upstream-commit: e2dd435d473cdc97785df95d032276fafb4b7746
f01274
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
f01274
---
f01274
 lib/vtls/openssl.c | 2 +-
f01274
 1 file changed, 1 insertion(+), 1 deletion(-)
f01274
f01274
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
f01274
index 78970d1..d8bcc4f 100644
f01274
--- a/lib/vtls/openssl.c
f01274
+++ b/lib/vtls/openssl.c
f01274
@@ -979,7 +979,7 @@ static int Curl_ossl_init(void)
f01274
 
f01274
   OPENSSL_load_builtin_modules();
f01274
 
f01274
-#ifdef HAVE_ENGINE_LOAD_BUILTIN_ENGINES
f01274
+#ifdef USE_OPENSSL_ENGINE
f01274
   ENGINE_load_builtin_engines();
f01274
 #endif
f01274
 
f01274
-- 
f01274
2.25.4
f01274