From e9fd31b4a17acc305e48f859d90602d1e0123a99 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Fri, 6 Aug 2021 17:15:30 +0200 Subject: [PATCH] Fix wrong condition protecting test execution --- unittest/cipherunittest/cipherunittest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/cipherunittest/cipherunittest.cpp b/unittest/cipherunittest/cipherunittest.cpp index 82fa36f4..680fb807 100644 --- a/unittest/cipherunittest/cipherunittest.cpp +++ b/unittest/cipherunittest/cipherunittest.cpp @@ -2574,7 +2574,7 @@ void CipherUnitTest::des_cbc_pkcs7() { bool anyProviderTested = false; foreach (const QString provider, providersToTest) { - if (!QCA::isSupported("des-cbc-pkcs7", provider)) { + if (QCA::isSupported("des-cbc-pkcs7", provider)) { anyProviderTested = true; QFETCH(QString, plainText); QFETCH(QString, cipherText);