chore: TlsCertificate, remove unused items
This commit is contained in:
parent
2058519e57
commit
7d79a4d729
1 changed files with 0 additions and 5 deletions
|
|
@ -16,9 +16,6 @@
|
|||
#include <QDir>
|
||||
#include <QProcess>
|
||||
|
||||
static const char *const kCertificateKeyLength = "rsa:";
|
||||
static const char *const kCertificateHashAlgorithm = "-sha256";
|
||||
|
||||
TlsCertificate::TlsCertificate(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
|
@ -34,8 +31,6 @@ bool TlsCertificate::generateCertificate(const QString &path, int keyLength)
|
|||
return false;
|
||||
}
|
||||
|
||||
QString keySize = kCertificateKeyLength + QString::number(keyLength);
|
||||
|
||||
try {
|
||||
deskflow::generatePemSelfSignedCert(path.toStdString(), keyLength);
|
||||
} catch (const std::exception &e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue