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:
Love Hörnquist Åstrand
2008-08-16 22:59:36 +00:00
parent 70a00b7fab
commit 9efa43473c

View File

@@ -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;
}