projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to hostap_2_6
[mech_eap.git]
/
libeap
/
src
/
crypto
/
aes-omac1.c
diff --git
a/libeap/src/crypto/aes-omac1.c
b/libeap/src/crypto/aes-omac1.c
index
375db57
..
8642516
100644
(file)
--- a/
libeap/src/crypto/aes-omac1.c
+++ b/
libeap/src/crypto/aes-omac1.c
@@
-48,6
+48,9
@@
int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem,
const u8 *pos, *end;
size_t i, e, left, total_len;
+ if (TEST_FAIL())
+ return -1;
+
ctx = aes_encrypt_init(key, key_len);
if (ctx == NULL)
return -1;