From: Tom Yu Date: Mon, 22 Jan 1996 04:34:09 +0000 (+0000) Subject: * gc_via_tkt.c (krb5_kdcrep2creds): Set is_skey so get_creds won't X-Git-Tag: krb5-1.0-beta6~600 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e965ab7980fb2f7fb2ced74902feedf73c799181;p=krb5.git * 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 --- 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,