projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix some build errors
[mech_eap.git]
/
init_sec_context.c
diff --git
a/init_sec_context.c
b/init_sec_context.c
index
3d55ccd
..
119eb4f
100644
(file)
--- a/
init_sec_context.c
+++ b/
init_sec_context.c
@@
-353,7
+353,7
@@
eapGssSmInitAuthenticate(OM_uint32 *minor,
ctx->flags &= ~(CTX_FLAG_EAP_SUCCESS);
ctx->state = EAP_STATE_ESTABLISHED;
major = GSS_S_COMPLETE;
- } else if (code == 0) {
+ } else if (
(ctx->flags & CTX_FLAG_EAP_FAIL) ||
code == 0) {
major = GSS_S_FAILURE;
}