If we change the error code, change the context error code too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23542 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -341,6 +341,7 @@ krb5_kt_get_entry(krb5_context context,
|
||||
if (ret) {
|
||||
/* This is needed for krb5_verify_init_creds, but keep error
|
||||
* string from previous error for the human. */
|
||||
context->error_code = KRB5_KT_NOTFOUND;
|
||||
return KRB5_KT_NOTFOUND;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user