gui: Show certificate-related info in logs
This commit is contained in:
parent
345bb4b62b
commit
c815abf0e8
|
@ -949,6 +949,10 @@ void MainWindow::updateSSLFingerprint()
|
||||||
{
|
{
|
||||||
if (m_AppConfig->getCryptoEnabled() && m_pSslCertificate == nullptr) {
|
if (m_AppConfig->getCryptoEnabled() && m_pSslCertificate == nullptr) {
|
||||||
m_pSslCertificate = new SslCertificate(this);
|
m_pSslCertificate = new SslCertificate(this);
|
||||||
|
connect(m_pSslCertificate, &SslCertificate::info, [&](QString info)
|
||||||
|
{
|
||||||
|
appendLogInfo(info);
|
||||||
|
});
|
||||||
m_pSslCertificate->generateCertificate();
|
m_pSslCertificate->generateCertificate();
|
||||||
}
|
}
|
||||||
if (m_AppConfig->getCryptoEnabled() && Fingerprint::local().fileExists()) {
|
if (m_AppConfig->getCryptoEnabled() && Fingerprint::local().fileExists()) {
|
||||||
|
|
Loading…
Reference in New Issue