Fix wrong condition protecting test execution

This commit is contained in:
Albert Astals Cid 2021-08-06 17:15:30 +02:00
parent 7ead054437
commit e9fd31b4a1

View File

@ -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);