mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
unit: add checksum/random check for test-dpp
This commit is contained in:
parent
6ce41f6211
commit
1ebbb1a11e
@ -143,7 +143,10 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
l_test_init(&argc, &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();
|
return l_test_run();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user