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 <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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue