3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

unit: Add check that AES is present

This commit is contained in:
Denis Kenzior 2017-08-31 13:15:15 -05:00
parent ef652642b5
commit 9da2d64980

View File

@ -374,6 +374,11 @@ int main(int argc, char *argv[])
goto done; goto done;
} }
if (!l_cipher_is_supported(L_CIPHER_AES)) {
printf("AES support missing, skipping...\n");
goto done;
}
l_test_add("/Passphrase Generator/PSK Test Case 1", l_test_add("/Passphrase Generator/PSK Test Case 1",
psk_test, &psk_test_case_1); psk_test, &psk_test_case_1);
l_test_add("/Passphrase Generator/PSK Test Case 2", l_test_add("/Passphrase Generator/PSK Test Case 2",