projects
/
mech_eap.orig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b5b487
)
add an extra assert
author
Luke Howard
<lukeh@padl.com>
Wed, 9 Mar 2011 14:30:09 +0000
(
01:30
+1100)
committer
Luke Howard
<lukeh@padl.com>
Wed, 9 Mar 2011 14:30:09 +0000
(
01:30
+1100)
util_sm.c
patch
|
blob
|
history
diff --git
a/util_sm.c
b/util_sm.c
index
339d397
..
de730ce
100644
(file)
--- a/
util_sm.c
+++ b/
util_sm.c
@@
-81,6
+81,7
@@
gssEapStateToString(enum gss_eap_state state)
void
gssEapSmTransition(gss_ctx_id_t ctx, enum gss_eap_state state)
{
+ assert(state >= GSSEAP_STATE_INITIAL);
assert(state <= GSSEAP_STATE_ESTABLISHED);
fprintf(stderr, "GSS-EAP: state transition %s->%s\n",