Made OpenSSL config file location Windows-only #4313

This commit is contained in:
Nick Bolton 2015-03-03 19:51:41 +00:00
parent 40fa58de8c
commit 065960926c
1 changed files with 3 additions and 0 deletions

View File

@ -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;