projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4e9e26
)
Fix memcmp use in a test program
author
Jouni Malinen
<j@w1.fi>
Mon, 13 Aug 2012 16:57:57 +0000
(19:57 +0300)
committer
Jouni Malinen
<j@w1.fi>
Mon, 13 Aug 2012 16:57:57 +0000
(19:57 +0300)
Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/tests/test_eap_sim_common.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/tests/test_eap_sim_common.c
b/wpa_supplicant/tests/test_eap_sim_common.c
index
4448858
..
f60b182
100644
(file)
--- a/
wpa_supplicant/tests/test_eap_sim_common.c
+++ b/
wpa_supplicant/tests/test_eap_sim_common.c
@@
-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;
}