3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

unit: add checksum/random check for test-dpp

This commit is contained in:
James Prestwood 2022-01-10 14:05:35 -08:00 committed by Denis Kenzior
parent 6ce41f6211
commit 1ebbb1a11e

View File

@ -143,7 +143,10 @@ int main(int argc, char *argv[])
{
l_test_init(&argc, &argv);
l_test_add("DPP test key derivation", test_key_derivation, NULL);
if (l_checksum_is_supported(L_CHECKSUM_SHA256, true) &&
l_getrandom_is_supported())
l_test_add("DPP test key derivation",
test_key_derivation, NULL);
return l_test_run();
}