summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-11-08 14:50:26 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2023-11-09 16:54:47 +0100
commit1472e2d68b9cff43b99069d3ba9439fff0a5684c (patch)
treea4d4f1c4f377c8833237f2117c07482f1c3c6402 /config_host
parenta2fabc78a4ba12ad8df6b040783be0fa22aefa54 (diff)
vcl,openssl: set SSL_CERT_FILE for bundled OpenSSL
OpenSSL may read a CA certificate file from $SSL_CERT_FILE, if the client library calls SSL_CTX_set_default_verify_paths(); python's ssl module does it but apparently libcurl does not. So split the code from commit 3fc632c0261c75fb4079a5305e814698e791f75c and set the environment variable in ImplSVMain(), hopefully before any threads are spawned; seems to work for PyMailSMTPService. This needs to have SYSTEM_OPENSSL available in a config header. Change-Id: I63b747cb61bb236cf4f605bb9858e5b0083388fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159149 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_crypto.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config_host/config_crypto.h.in b/config_host/config_crypto.h.in
index 106485d55213..33877f99af36 100644
--- a/config_host/config_crypto.h.in
+++ b/config_host/config_crypto.h.in
@@ -33,4 +33,6 @@
#endif
+#undef SYSTEM_OPENSSL
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */