chore: TlsCertificate, remove unused items

This commit is contained in:
sithlord48
2025-02-04 20:51:07 -05:00
committed by Nick Bolton
parent 2058519e57
commit 7d79a4d729

View File

@ -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) {