projects
/
moonshot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50003d6
)
Update assert to reflect protected subtoken length
author
Luke Howard
<lukeh@padl.com>
Tue, 6 Sep 2011 10:23:56 +0000
(11:23 +0100)
committer
Luke Howard
<lukeh@padl.com>
Tue, 6 Sep 2011 10:23:56 +0000
(11:23 +0100)
moonshot/mech_eap/util_context.c
patch
|
blob
|
history
diff --git
a/moonshot/mech_eap/util_context.c
b/moonshot/mech_eap/util_context.c
index
8ed7494
..
828e218
100644
(file)
--- a/
moonshot/mech_eap/util_context.c
+++ b/
moonshot/mech_eap/util_context.c
@@
-317,7
+317,7
@@
gssEapMakeOrVerifyTokenMIC(OM_uint32 *minor,
if (verifyMIC) {
assert(tokenMIC->length >= 16);
- assert(i < 2 + (
2
* tokens->buffers.count));
+ assert(i < 2 + (
3
* tokens->buffers.count));
iov[i].type = GSS_IOV_BUFFER_TYPE_HEADER;
iov[i].buffer.length = 16;