From 9efa43473c369217d0f0094bac8b3deece4cf591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 16 Aug 2008 22:59:36 +0000 Subject: [PATCH] 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 --- lib/krb5/keytab.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/krb5/keytab.c b/lib/krb5/keytab.c index 199eaaea4..f3e6b9e8f 100644 --- a/lib/krb5/keytab.c +++ b/lib/krb5/keytab.c @@ -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; }