refactor: TLSUtil do not check it tls is enabled before regenerating the certificate
fixes #8890
This commit is contained in:
committed by
Chris Rizzitello
parent
07edccb469
commit
9eede5470c
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user