]> git.ipfire.org Git - thirdparty/krb5.git/commit
Process TGS authdata after transited in KDC 264/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 19 Mar 2015 17:42:56 +0000 (13:42 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 19 Mar 2015 23:26:36 +0000 (19:26 -0400)
commit2dc19c3899a98e23378c19d91594470f7350756c
tree013aad07a808530a783c7ff4bc8caec7102f7b1b
parent3d9de684ea933c4887a7aebabc71287cbf5a3f3c
Process TGS authdata after transited in KDC

The CAMMAC authorization data container requires a checksum over the
encrypted part of the issued ticket, with the CAMMAC contents
substituted for the authdata field.  For this to work, we must
finalize the non-authdata fields of the encrypted ticket part before
adding authdata.  Call handle_authdata() after checking and modifying
the transited field and potentially setting the
transited-policy-checked flag.

Also remove a redundant and inoperative conditional change to
enc_tkt_reply.times.starttime which happens after the ticket is
encrypted.  We do the same thing right after setting up the ticket
times.
src/kdc/do_tgs_req.c