From: Luke Howard Date: Wed, 9 Mar 2011 14:30:09 +0000 (+1100) Subject: add an extra assert X-Git-Tag: vm/20110310~9 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.orig;a=commitdiff_plain;h=ac000eab45642e31b7f83d47a55eb86e61b34436 add an extra assert --- diff --git a/util_sm.c b/util_sm.c index 339d397..de730ce 100644 --- 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",