Made OpenSSL config file location Windows-only #4313
This commit is contained in:
parent
40fa58de8c
commit
065960926c
|
@ -343,8 +343,11 @@ void PluginManager::doGenerateCertificate()
|
||||||
arguments.append(filename);
|
arguments.append(filename);
|
||||||
|
|
||||||
QStringList environment;
|
QStringList environment;
|
||||||
|
|
||||||
|
#if defined(Q_OS_WIN)
|
||||||
environment << QString("OPENSSL_CONF=%1\\OpenSSL\\synergy.conf")
|
environment << QString("OPENSSL_CONF=%1\\OpenSSL\\synergy.conf")
|
||||||
.arg(m_ProfileDir);
|
.arg(m_ProfileDir);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!runProgram(openSslProgramFile, arguments, environment)) {
|
if (!runProgram(openSslProgramFile, arguments, environment)) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue