add missing setting of minor_status and failure checks

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9697 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2001-02-18 03:39:09 +00:00
parent acdf864037
commit 11eeed3017
22 changed files with 332 additions and 98 deletions

View File

@@ -86,8 +86,10 @@ unwrap_des
ret = gssapi_krb5_verify_header (&p,
input_message_buffer->length,
"\x02\x01");
if (ret)
if (ret) {
*minor_status = 0;
return ret;
}
if (memcmp (p, "\x00\x00", 2) != 0)
return GSS_S_BAD_SIG;