chore: remove unused TLSCertificate::getCertificatePath
This commit is contained in:
parent
4034302bfb
commit
794017402d
2 changed files with 0 additions and 6 deletions
|
|
@ -70,11 +70,6 @@ int TlsCertificate::getCertKeyLength(const QString &path)
|
||||||
return deskflow::getCertLength(path.toStdString());
|
return deskflow::getCertLength(path.toStdString());
|
||||||
}
|
}
|
||||||
|
|
||||||
QString TlsCertificate::getCertificatePath() const
|
|
||||||
{
|
|
||||||
return QStringLiteral("%1/%2").arg(Settings::tlsDir(), kTlsCertificateFilename);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TlsCertificate::isCertificateValid(const QString &path)
|
bool TlsCertificate::isCertificateValid(const QString &path)
|
||||||
{
|
{
|
||||||
OpenSSL_add_all_algorithms();
|
OpenSSL_add_all_algorithms();
|
||||||
|
|
|
||||||
|
|
@ -20,5 +20,4 @@ public:
|
||||||
bool generateCertificate(const QString &path, int keyLength);
|
bool generateCertificate(const QString &path, int keyLength);
|
||||||
bool generateFingerprint(const QString &certificateFilename);
|
bool generateFingerprint(const QString &certificateFilename);
|
||||||
int getCertKeyLength(const QString &path);
|
int getCertKeyLength(const QString &path);
|
||||||
QString getCertificatePath() const;
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue