s/kerberosCtx/reauthCtx/g
[moonshot.git] / mech_eap / accept_sec_context.c
index ca95f5c..6776047 100644 (file)
@@ -971,7 +971,7 @@ eapGssSmAcceptGssReauth(OM_uint32 *minor,
     ctx->flags |= CTX_FLAG_KRB_REAUTH;
 
     major = gssAcceptSecContext(minor,
-                                &ctx->kerberosCtx,
+                                &ctx->reauthCtx,
                                 cred->krbCred,
                                 inputToken,
                                 chanBindings,
@@ -991,7 +991,7 @@ eapGssSmAcceptGssReauth(OM_uint32 *minor,
     } else if (GSS_ERROR(major) &&
         (*smFlags & SM_FLAG_INPUT_TOKEN_CRITICAL) == 0) {
         /* pretend reauthentication attempt never happened */
-        gssDeleteSecContext(&tmpMinor, &ctx->kerberosCtx, GSS_C_NO_BUFFER);
+        gssDeleteSecContext(&tmpMinor, &ctx->reauthCtx, GSS_C_NO_BUFFER);
         ctx->flags &= ~(CTX_FLAG_KRB_REAUTH);
         GSSEAP_SM_TRANSITION(ctx, GSSEAP_STATE_INITIAL);
         major = GSS_S_CONTINUE_NEEDED;