summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2024-04-27 11:08:31 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-05-06 19:24:00 +0200
commit38644bae76028d1396a3e4616a2905da1c06a270 (patch)
tree86252e0f6927419e1962557e4e81775366b0fb17
parentaa9b5cdd6184f82ace38b4943792eb0cf02b6b97 (diff)
Include config_crypto.h in curlinit.hxx
Otherwise if only curlinit.hxx was included, SYSTEM_OPENSSL could had never been defined but opensslinit.hxx if SYSTEM_OPENSSL is defined does not declare/define GetCABundleFile() leading to error: ‘GetCABundleFile’ was not declared in this scope Happened from linguistic/source/translate.cxx:7 Apparently a regression already from commit 4ace291f2f1e655db559117f6fd3edc3a82ec878 CommitDate: Sat Nov 11 18:09:09 2023 +0100 curl: mitigate migration to OpenSSL on Linux Change-Id: I9c8f089ceb881dbb460d5bc5438152d1ce0ca7f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166775 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins (cherry picked from commit eb695e500adb70d84fcd8a5c230cc18b321ad49f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166836 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r--include/curlinit.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/curlinit.hxx b/include/curlinit.hxx
index 2e4b09b4163a..082b553c9796 100644
--- a/include/curlinit.hxx
+++ b/include/curlinit.hxx
@@ -9,6 +9,8 @@
#pragma once
+#include <config_crypto.h>
+
#include <curl/curl.h>
// curl is built with --with-secure-transport on macOS and iOS so doesn't need these