Fix memcmp use in a test program
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
b4e9e2659b
commit
78372bda68
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue