From: Ken Raeburn Date: Wed, 3 Sep 2008 17:22:58 +0000 (+0000) Subject: Use GSS_S_BAD_STATUS for unknown status codes X-Git-Tag: krb5-1.7-alpha1~446 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=de5ddef09b291bd0c6e933a65fcdaf63aee2f7df;p=krb5.git Use GSS_S_BAD_STATUS for unknown status codes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20704 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/mechglue/g_dsp_status.c b/src/lib/gssapi/mechglue/g_dsp_status.c index acf3bbbb4..78dac8a5c 100644 --- a/src/lib/gssapi/mechglue/g_dsp_status.c +++ b/src/lib/gssapi/mechglue/g_dsp_status.c @@ -103,7 +103,7 @@ gss_buffer_t status_string; if (err) { *minor_status = err; map_errcode(minor_status); - return GSS_S_FAILURE; + return GSS_S_BAD_STATUS; } if (m_oid.length == 0) { /* Magic flag for com_err values. */