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:
1349ee3
)
Eap state machine may not change state; this is OK
author
Sam Hartman
<hartmans@painless-security.com>
Fri, 9 Sep 2011 18:18:59 +0000
(14:18 -0400)
committer
Sam Hartman
<hartmans@painless-security.com>
Fri, 9 Sep 2011 18:18:59 +0000
(14:18 -0400)
mech_eap/init_sec_context.c
patch
|
blob
|
history
diff --git
a/mech_eap/init_sec_context.c
b/mech_eap/init_sec_context.c
index
d6e8882
..
af76a4b
100644
(file)
--- a/
mech_eap/init_sec_context.c
+++ b/
mech_eap/init_sec_context.c
@@
-647,7
+647,6
@@
eapGssSmInitAuthenticate(OM_uint32 *minor,
{
OM_uint32 major;
OM_uint32 tmpMinor;
- int code;
struct wpabuf *resp = NULL;
*minor = 0;
@@
-668,12
+667,7
@@
eapGssSmInitAuthenticate(OM_uint32 *minor,
major = GSS_S_CONTINUE_NEEDED;
- code = eap_peer_sm_step(ctx->initiatorCtx.eap);
- if (code != 0) {
- major = GSS_S_FAILURE;
- *minor = GSSEAP_PEER_SM_STEP_FAILURE;
- goto cleanup;
- }
+ (void) eap_peer_sm_step(ctx->initiatorCtx.eap);
if (ctx->flags & CTX_FLAG_EAP_RESP) {
ctx->flags &= ~(CTX_FLAG_EAP_RESP);