refactor: TLSUtil do not check it tls is enabled before regenerating the certificate

fixes #8890
This commit is contained in:
sithlord48
2025-08-25 14:30:27 -04:00
committed by Chris Rizzitello
parent 07edccb469
commit 9eede5470c

View File

@ -30,14 +30,6 @@ bool TlsUtility::generateCertificate() const
"all clients must trust the new fingerprint"
);
if (!isEnabled()) {
qCritical(
"unable to generate tls certificate, "
"tls is either not available or not enabled"
);
return false;
}
auto length = Settings::value(Settings::Security::KeySize).toInt();
if (length < 2048) {