From 065960926ca552f9f6544cf3161a1b04adf5b76c Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Tue, 3 Mar 2015 19:51:41 +0000 Subject: [PATCH] Made OpenSSL config file location Windows-only #4313 --- src/gui/src/PluginManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/src/PluginManager.cpp b/src/gui/src/PluginManager.cpp index df68902d..c3ce8d03 100644 --- a/src/gui/src/PluginManager.cpp +++ b/src/gui/src/PluginManager.cpp @@ -343,8 +343,11 @@ void PluginManager::doGenerateCertificate() arguments.append(filename); QStringList environment; + +#if defined(Q_OS_WIN) environment << QString("OPENSSL_CONF=%1\\OpenSSL\\synergy.conf") .arg(m_ProfileDir); +#endif if (!runProgram(openSslProgramFile, arguments, environment)) { return;