unit: add check for SHA256/HMAC in SAE test
This commit is contained in:
parent
c985da04ca
commit
5338904824
|
@ -550,6 +550,11 @@ int main(int argc, char *argv[])
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!l_checksum_is_supported(L_CHECKSUM_SHA256, true)) {
|
||||||
|
l_info("SHA256/HMAC_SHA256 not supported, skipping...");
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
l_test_add("SAE commit timeout", test_commit_timeout, NULL);
|
l_test_add("SAE commit timeout", test_commit_timeout, NULL);
|
||||||
l_test_add("SAE confirm timeout", test_confirm_timeout, NULL);
|
l_test_add("SAE confirm timeout", test_confirm_timeout, NULL);
|
||||||
l_test_add("SAE anti-clogging", test_clogging, NULL);
|
l_test_add("SAE anti-clogging", test_clogging, NULL);
|
||||||
|
|
Loading…
Reference in New Issue