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

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