projects
/
mech_eap.orig
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove SM_FLAG_RESTART
[mech_eap.orig]
/
util_sm.c
diff --git
a/util_sm.c
b/util_sm.c
index
3a3e1f5
..
db28556
100644
(file)
--- a/
util_sm.c
+++ b/
util_sm.c
@@
-313,12
+313,10
@@
gssEapSmStep(OM_uint32 *minor,
if (inputTokenType != NULL)
*inputTokenType |= ITOK_FLAG_VERIFIED;
if (inputTokenType != NULL)
*inputTokenType |= ITOK_FLAG_VERIFIED;
- if (smFlags & SM_FLAG_RESTART) {
- assert(ctx->state < oldState);
- i = 0;
- } else if (ctx->state != oldState) {
+ if (ctx->state < oldState)
+ i = 0; /* restart */
+ else if (ctx->state != oldState)
smFlags |= SM_FLAG_TRANSITED;
smFlags |= SM_FLAG_TRANSITED;
- }
if (innerOutputToken.value != NULL) {
innerOutputTokens->elements[innerOutputTokens->count] = innerOutputToken;
if (innerOutputToken.value != NULL) {
innerOutputTokens->elements[innerOutputTokens->count] = innerOutputToken;