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