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 <QDir>
#include <QProcess> #include <QProcess>
static const char *const kCertificateKeyLength = "rsa:";
static const char *const kCertificateHashAlgorithm = "-sha256";
TlsCertificate::TlsCertificate(QObject *parent) : QObject(parent) TlsCertificate::TlsCertificate(QObject *parent) : QObject(parent)
{ {
} }
@ -34,8 +31,6 @@ bool TlsCertificate::generateCertificate(const QString &path, int keyLength)
return false; return false;
} }
QString keySize = kCertificateKeyLength + QString::number(keyLength);
try { try {
deskflow::generatePemSelfSignedCert(path.toStdString(), keyLength); deskflow::generatePemSelfSignedCert(path.toStdString(), keyLength);
} catch (const std::exception &e) { } catch (const std::exception &e) {