projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup unused parameter warnings
[mech_eap.git]
/
display_status.c
diff --git
a/display_status.c
b/display_status.c
index
c3c3cea
..
8729a96
100644
(file)
--- a/
display_status.c
+++ b/
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;