Merge pull request #6555 from Waester/ssl-fingerprint-fix-PR
Fix certificate generation and empty fingerprint information.
This commit is contained in:
commit
5990f874ee
|
@ -52,7 +52,7 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><p>
|
<string><p>
|
||||||
Keyboard and mouse sharing application. Cross platform and open source.<br /><br />
|
Keyboard and mouse sharing application. Cross platform and open source.<br /><br />
|
||||||
Copyright © 2012-2016 Symless Ltd.<br />
|
Copyright © 2012-2019 Symless Ltd.<br />
|
||||||
Copyright © 2002-2012 Chris Schoeneman, Nick Bolton, Volker Lanz.<br /><br />
|
Copyright © 2002-2012 Chris Schoeneman, Nick Bolton, Volker Lanz.<br /><br />
|
||||||
Synergy is released under the GNU General Public License (GPLv2).<br /><br />
|
Synergy is released under the GNU General Public License (GPLv2).<br /><br />
|
||||||
Synergy is based on CosmoSynergy by Richard Lee and Adam Feder.<br />
|
Synergy is based on CosmoSynergy by Richard Lee and Adam Feder.<br />
|
||||||
|
|
|
@ -140,6 +140,8 @@ MainWindow::MainWindow (QSettings& settings, AppConfig& appConfig,
|
||||||
// hide padlock icon
|
// hide padlock icon
|
||||||
secureSocket(false);
|
secureSocket(false);
|
||||||
|
|
||||||
|
sslToggled(appConfig.getCryptoEnabled());
|
||||||
|
|
||||||
connect (this, SIGNAL(windowShown()),
|
connect (this, SIGNAL(windowShown()),
|
||||||
this, SLOT(on_windowShown()), Qt::QueuedConnection);
|
this, SLOT(on_windowShown()), Qt::QueuedConnection);
|
||||||
#ifndef SYNERGY_ENTERPRISE
|
#ifndef SYNERGY_ENTERPRISE
|
||||||
|
@ -1104,12 +1106,6 @@ void MainWindow::setEdition(Edition edition)
|
||||||
#ifndef SYNERGY_ENTERPRISE
|
#ifndef SYNERGY_ENTERPRISE
|
||||||
setWindowTitle(m_LicenseManager->getEditionName (edition));
|
setWindowTitle(m_LicenseManager->getEditionName (edition));
|
||||||
#endif
|
#endif
|
||||||
if (m_AppConfig->getCryptoEnabled()) {
|
|
||||||
m_pSslCertificate = new SslCertificate(this);
|
|
||||||
m_pSslCertificate->generateCertificate();
|
|
||||||
}
|
|
||||||
updateLocalFingerprint();
|
|
||||||
saveSettings();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef SYNERGY_ENTERPRISE
|
#ifndef SYNERGY_ENTERPRISE
|
||||||
|
|
|
@ -34,8 +34,8 @@ static const char kSslDir[] = "SSL";
|
||||||
static const char kUnixOpenSslCommand[] = "openssl";
|
static const char kUnixOpenSslCommand[] = "openssl";
|
||||||
|
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
static const char kWinOpenSslBinary[] = "OpenSSL\\openssl.exe";
|
static const char kWinOpenSslBinary[] = "openssl.exe";
|
||||||
static const char kConfigFile[] = "OpenSSL\\synergy.conf";
|
static const char kConfigFile[] = "synergy.conf";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SslCertificate::SslCertificate(QObject *parent) :
|
SslCertificate::SslCertificate(QObject *parent) :
|
||||||
|
|
Loading…
Reference in New Issue