Call krb5_set_error_message() and don't clobber ret in debug code

This commit is contained in:
Nicolas Williams
2011-10-20 12:56:12 -05:00
parent 248e1eb772
commit f4471b11d6
3 changed files with 13 additions and 5 deletions

View File

@@ -1484,7 +1484,6 @@ out:
krb5_free_principal(context, in_creds.client);
krb5_free_name_canon_iterator(context, name_canon_iter);
_krb5_debug(context, 5, "krb5_get_creds: ret = %d", ret);
return ret;
}