refactor: TLSUtil do not check it tls is enabled before regenerating the certificate
fixes #8890
This commit is contained in:
parent
07edccb469
commit
9eede5470c
1 changed files with 0 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue