mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix memcmp use in a test program
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b4e9e2659b
commit
78372bda68
@ -28,7 +28,7 @@ static int test_eap_sim_prf(void)
|
||||
|
||||
printf("Testing EAP-SIM PRF (FIPS 186-2 + change notice 1)\n");
|
||||
eap_sim_prf(xkey, buf, sizeof(buf));
|
||||
if (memcmp(w, buf, sizeof(w) != 0)) {
|
||||
if (memcmp(w, buf, sizeof(w)) != 0) {
|
||||
printf("eap_sim_prf failed\n");
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user