* gc_via_tkt.c (krb5_kdcrep2creds): Set is_skey so get_creds won't
authorTom Yu <tlyu@mit.edu>
Mon, 22 Jan 1996 04:34:09 +0000 (04:34 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 22 Jan 1996 04:34:09 +0000 (04:34 +0000)
break trying to match is_skey in the ccache.  This way we
won't end up with many copies of user-to-user tickets.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7348 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/gc_via_tkt.c

index 8c33c8d941af65f04517159733003d7f9d947faf..a1979242c0a79bddbdcd9fc6e9f260f9d348f6cd 100644 (file)
@@ -1,3 +1,9 @@
+Sun Jan 21 23:32:53 1996  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
+
+       * gc_via_tkt.c (krb5_kdcrep2creds): Set is_skey so get_creds won't
+               break trying to match is_skey in the ccache.  This way we
+               won't end up with many copies of user-to-user tickets.
+
 Fri Jan 19 23:16:17 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * mk_req.c (krb5_mk_req): krb5_get_credentials does not take
index ed52b00f6c7200d73a715a09da0d2c2036511836..6ba87cf0afd5976ff4138bce1634af70ae6d1987 100644 (file)
@@ -70,7 +70,7 @@ krb5_kdcrep2creds(context, pkdcrep, address, psectkt, ppcreds)
     (*ppcreds)->magic = KV5M_CREDS;
 
     (*ppcreds)->authdata = NULL;                       /* not used */
-    (*ppcreds)->is_skey = 0;                           /* not used */
+    (*ppcreds)->is_skey = psectkt->length != 0;
 
     if (pkdcrep->enc_part2->caddrs) {
        if ((retval = krb5_copy_addresses(context, pkdcrep->enc_part2->caddrs,