From de5ddef09b291bd0c6e933a65fcdaf63aee2f7df Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 3 Sep 2008 17:22:58 +0000 Subject: [PATCH] Use GSS_S_BAD_STATUS for unknown status codes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20704 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/mechglue/g_dsp_status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.26.2