X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=mech_eap%2Fdisplay_status.c;h=8729a96be81e81d19bb3d638664f9344be994fae;hb=refs%2Fheads%2Fddf-name;hp=c3c3cea8d9eb4fddc73eccb17a35e3cf2c53b1eb;hpb=f508d0477dda526895e9652234be4d62dd2ddb78;p=moonshot.git diff --git a/mech_eap/display_status.c b/mech_eap/display_status.c index c3c3cea..8729a96 100644 --- a/mech_eap/display_status.c +++ b/mech_eap/display_status.c @@ -157,7 +157,8 @@ gss_display_status(OM_uint32 *minor, return GSS_S_BAD_MECH; } - if (status_type != GSS_C_MECH_CODE) { + if (status_type != GSS_C_MECH_CODE || + *message_context != 0) { /* we rely on the mechglue for GSS_C_GSS_CODE */ *minor = 0; return GSS_S_BAD_STATUS;