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) {