chore: remove unused TlsUtility::persistCertificate

This commit is contained in:
sithlord48
2025-11-22 10:20:20 -05:00
committed by Nick Bolton
parent 393c2fa9bc
commit c4a2dfd300
2 changed files with 0 additions and 13 deletions

View File

@ -83,16 +83,4 @@ bool TlsUtility::generateCertificate() const
return m_certificate.generateCertificate(certificate, length);
}
bool TlsUtility::persistCertificate() const
{
qDebug("persisting tls certificate");
if (QFile::exists(Settings::value(Settings::Security::Certificate).toString())) {
qDebug("tls certificate already exists");
return true;
}
return generateCertificate();
}
} // namespace deskflow::gui

View File

@ -22,7 +22,6 @@ public:
explicit TlsUtility(QObject *parent = nullptr);
bool generateCertificate() const;
bool persistCertificate() const;
/**
* @brief Checks the settings values Settings::Security::TlsEnabled