summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/ccache/file/ChangeLog5
-rw-r--r--src/lib/krb5/ccache/file/fcc_read.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/file/ChangeLog b/src/lib/krb5/ccache/file/ChangeLog
index e66909f9b..52cd41eda 100644
--- a/src/lib/krb5/ccache/file/ChangeLog
+++ b/src/lib/krb5/ccache/file/ChangeLog
@@ -1,3 +1,8 @@
+Fri Nov 18 17:22:51 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * fcc_read.c (krb5_fcc_read_principal): Fix to return correct
+ error code, instead of always returning KRB5_CC_NOMEM.
+
Wed Nov 16 23:31:49 1994 Theodore Y. Ts'o (tytso@dcl)
* fcc-proto.h, fcc.h, fcc_maybe.c (krb5_fcc_open_file), fcc_nseq.c
diff --git a/src/lib/krb5/ccache/file/fcc_read.c b/src/lib/krb5/ccache/file/fcc_read.c
index 298442c4a..7a91d6a0f 100644
--- a/src/lib/krb5/ccache/file/fcc_read.c
+++ b/src/lib/krb5/ccache/file/fcc_read.c
@@ -138,7 +138,7 @@ krb5_fcc_read_principal(id, princ)
free(krb5_princ_component(tmpprinc, i)->data);
free((char *)tmpprinc->data);
free((char *)tmpprinc);
- return KRB5_CC_NOMEM;
+ return kret;
}
krb5_error_code