Use GSS_S_BAD_STATUS for unknown status codes
authorKen Raeburn <raeburn@mit.edu>
Wed, 3 Sep 2008 17:22:58 +0000 (17:22 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 3 Sep 2008 17:22:58 +0000 (17:22 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20704 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/mechglue/g_dsp_status.c

index acf3bbbb478e425df64081e107da66c97626967e..78dac8a5c4665a0ddb1e96b5e84ce19162c0f009 100644 (file)
@@ -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.  */