summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/krb/ChangeLog5
-rw-r--r--src/lib/krb5/krb/get_in_tkt.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index f805e20eb..a8c0dc05b 100644
--- a/src/lib/krb5/krb/ChangeLog
+++ b/src/lib/krb5/krb/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jun 16 22:11:21 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * get_in_tkt.c (krb5_get_in_tkt): Allow the credentials cache
+ argument to be optional; allow it to be NULL, meaning that
+ the credentials shouldn't be stored in a credentials cache.
Mon Jun 12 16:49:42 1995 Chris Provenzano (proven@mit.edu)
diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c
index b31f28e92..ca641c5ee 100644
--- a/src/lib/krb5/krb/get_in_tkt.c
+++ b/src/lib/krb5/krb/get_in_tkt.c
@@ -339,8 +339,10 @@ krb5_get_in_tkt(context, options, addrs, etypes, ptypes, key_proc, keyseed,
krb5_xfree(packet);
/* store it in the ccache! */
- if ((retval = krb5_cc_store_cred(context, ccache, creds)))
+ if (ccache) {
+ if ((retval = krb5_cc_store_cred(context, ccache, creds)))
goto cred_cleanup;
+ }
if (ret_as_reply) {
*ret_as_reply = as_reply;