projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed EAP-FAST server PAC-Opaque padding
[mech_eap.git]
/
src
/
eap_server
/
eap_fast.c
diff --git
a/src/eap_server/eap_fast.c
b/src/eap_server/eap_fast.c
index
6216d09
..
3ac1929
100644
(file)
--- a/
src/eap_server/eap_fast.c
+++ b/
src/eap_server/eap_fast.c
@@
-685,7
+685,7
@@
static struct wpabuf * eap_fast_build_pac(struct eap_sm *sm,
}
pac_len = pos - pac_buf;
-
if
(pac_len % 8) {
+
while
(pac_len % 8) {
*pos++ = PAC_OPAQUE_TYPE_PAD;
pac_len++;
}