From: Ken Raeburn Date: Tue, 15 Aug 2006 23:43:27 +0000 (+0000) Subject: * kdb_default.c (krb5_def_store_mkey): If the file can't be opened, construct X-Git-Tag: krb5-1.6-alpha1~174 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d9b5c7e43ccea8b14f4bc666a1488999af7dc13e;p=krb5.git * kdb_default.c (krb5_def_store_mkey): If the file can't be opened, construct an error message that includes the file's name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18448 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/kdb_default.c b/src/lib/kdb/kdb_default.c index 715333056..9c74fb005 100644 --- a/src/lib/kdb/kdb_default.c +++ b/src/lib/kdb/kdb_default.c @@ -170,6 +170,9 @@ krb5_def_store_mkey(context, keyfile, mname, key, master_pwd) #if HAVE_UMASK (void) umask(oumask); #endif + krb5_set_error_message (context, e, + "%s accessing file '%s'", + error_message (e), keyfile); return e; } enctype = key->enctype;