diff --git a/src/lib/gui/TlsUtility.cpp b/src/lib/gui/TlsUtility.cpp
index 977321541..dd947c0ff 100644
--- a/src/lib/gui/TlsUtility.cpp
+++ b/src/lib/gui/TlsUtility.cpp
@@ -50,9 +50,9 @@ bool isCertValid(const QString &certPath)
return false;
}
- if (const auto type = key.algorithm(); (type != QSsl::Dsa || type != QSsl::Rsa)) {
+ if (key.algorithm() != QSsl::Rsa) {
//: %1 will be replaced by the certificate path
- qDebug() << QObject::tr("failed to read RSA or DSA key from certificate file: %1").arg(certPath);
+ qDebug() << QObject::tr("failed to read RSA key from certificate file: %1").arg(certPath);
return false;
}
diff --git a/translations/deskflow_es.ts b/translations/deskflow_es.ts
index f261eeab4..b8516b74c 100644
--- a/translations/deskflow_es.ts
+++ b/translations/deskflow_es.ts
@@ -726,9 +726,9 @@ Nombres válidos:
La clave detectada es de tamaño incorrecto
- failed to read RSA or DSA key from certificate file: %1
+ failed to read RSA key from certificate file: %1%1 will be replaced by the certificate path
- No se pudo leer la clave RSA o DSA del archivo de certificado: %1
+ No se pudo leer la clave RSA del archivo de certificado: %1
diff --git a/translations/deskflow_it.ts b/translations/deskflow_it.ts
index 9c5e0d18f..e849313fd 100644
--- a/translations/deskflow_it.ts
+++ b/translations/deskflow_it.ts
@@ -726,9 +726,9 @@ Nomi validi:
la chiave rilevata ha una dimensione errata
- failed to read RSA or DSA key from certificate file: %1
+ failed to read RSA key from certificate file: %1%1 will be replaced by the certificate path
- impossibile leggere la chiave RSA o DSA dal file del certificato: %1
+ impossibile leggere la chiave RSA dal file del certificato: %1
diff --git a/translations/deskflow_ja.ts b/translations/deskflow_ja.ts
index 700f040e5..1d8a4ad9c 100644
--- a/translations/deskflow_ja.ts
+++ b/translations/deskflow_ja.ts
@@ -727,9 +727,9 @@ Valid names:
検出されたキーのサイズが正しくありません
- failed to read RSA or DSA key from certificate file: %1
+ failed to read RSA key from certificate file: %1%1 will be replaced by the certificate path
- 証明書ファイルから RSA または DSA キーを読み取ることができませんでした: %1
+ 証明書ファイルから RSA キーを読み取ることができませんでした: %1
diff --git a/translations/deskflow_ru.ts b/translations/deskflow_ru.ts
index 7875ec4cd..1c5681126 100644
--- a/translations/deskflow_ru.ts
+++ b/translations/deskflow_ru.ts
@@ -729,9 +729,9 @@ Valid names:
обнаружен ключ неправильного размера
- failed to read RSA or DSA key from certificate file: %1
+ failed to read RSA key from certificate file: %1%1 will be replaced by the certificate path
- не удалось прочитать ключ RSA или DSA из файла сертификата: %1
+ не удалось прочитать ключ RSA из файла сертификата: %1
diff --git a/translations/deskflow_zh_CN.ts b/translations/deskflow_zh_CN.ts
index a8982c48e..234dd8951 100644
--- a/translations/deskflow_zh_CN.ts
+++ b/translations/deskflow_zh_CN.ts
@@ -727,9 +727,9 @@ Valid names:
检测到的密钥大小不正确。
- failed to read RSA or DSA key from certificate file: %1
+ failed to read RSA key from certificate file: %1%1 will be replaced by the certificate path
- 无法从证书文件中读取 RSA 或 DSA 密钥:%1
+ 无法从证书文件中读取 RSA 密钥:%1