summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-06-10 04:04:41 +0000
committerTheodore Tso <tytso@mit.edu>1995-06-10 04:04:41 +0000
commit02694b1ed7b1ce29a2aaa89ba1d9bc00d03f251e (patch)
tree9028319eb50362c0f316e73976f4af6efd015d2a
parent18ba04b59782ccd857c6f2df12d773d49d4d0dd8 (diff)
downloadkrb5-02694b1ed7b1ce29a2aaa89ba1d9bc00d03f251e.tar.gz
krb5-02694b1ed7b1ce29a2aaa89ba1d9bc00d03f251e.tar.xz
krb5-02694b1ed7b1ce29a2aaa89ba1d9bc00d03f251e.zip
Make sure the status return from krb5_fcc_store_principal is reflected
in the return status of krb5_fcc_initialize(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6030 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/lib/krb5/ccache/file/ChangeLog6
-rw-r--r--src/lib/krb5/ccache/file/fcc_init.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/file/ChangeLog b/src/lib/krb5/ccache/file/ChangeLog
index 685285d5b..931221590 100644
--- a/src/lib/krb5/ccache/file/ChangeLog
+++ b/src/lib/krb5/ccache/file/ChangeLog
@@ -1,3 +1,9 @@
+Sat Jun 10 00:01:23 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * fcc_init.c (krb5_fcc_initialize): Make sure the status return
+ from krb5_fcc_store_principal is reflected in the return
+ status of krb5_fcc_initialize().
+
Fri Jun 9 19:30:01 1995 <tytso@rsx-11.mit.edu>
* configure.in: Remove standardized set of autoconf macros, which
diff --git a/src/lib/krb5/ccache/file/fcc_init.c b/src/lib/krb5/ccache/file/fcc_init.c
index c8e4dce37..8f661bab3 100644
--- a/src/lib/krb5/ccache/file/fcc_init.c
+++ b/src/lib/krb5/ccache/file/fcc_init.c
@@ -63,7 +63,7 @@ krb5_fcc_initialize(context, id, princ)
MAYBE_CLOSE(context, id, kret);
return kret;
}
- krb5_fcc_store_principal(context, id, princ);
+ kret = krb5_fcc_store_principal(context, id, princ);
MAYBE_CLOSE(context, id, kret);
krb5_change_cache ();