From e965ab7980fb2f7fb2ced74902feedf73c799181 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 22 Jan 1996 04:34:09 +0000 Subject: [PATCH] * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7348 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 6 ++++++ src/lib/krb5/krb/gc_via_tkt.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 8c33c8d94..a1979242c 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,9 @@ +Sun Jan 21 23:32:53 1996 Tom Yu + + * 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 * mk_req.c (krb5_mk_req): krb5_get_credentials does not take diff --git a/src/lib/krb5/krb/gc_via_tkt.c b/src/lib/krb5/krb/gc_via_tkt.c index ed52b00f6..6ba87cf0a 100644 --- a/src/lib/krb5/krb/gc_via_tkt.c +++ b/src/lib/krb5/krb/gc_via_tkt.c @@ -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, -- 2.26.2