From 9eede5470cdc9eb9183fd3976cfbe945638627a8 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Mon, 25 Aug 2025 14:30:27 -0400 Subject: [PATCH] refactor: TLSUtil do not check it tls is enabled before regenerating the certificate fixes #8890 --- src/lib/gui/tls/TlsUtility.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/gui/tls/TlsUtility.cpp b/src/lib/gui/tls/TlsUtility.cpp index 6b8c4d5d4..1a48a61c4 100644 --- a/src/lib/gui/tls/TlsUtility.cpp +++ b/src/lib/gui/tls/TlsUtility.cpp @@ -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) {