]> git.ipfire.org Git - thirdparty/krb5.git/commit
Simplify AS request time handling in KDC 993/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 23 Oct 2019 22:31:05 +0000 (18:31 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sun, 3 Nov 2019 18:57:17 +0000 (13:57 -0500)
commit877e155fae0fb0d2b106619a60f59c51495591a1
tree9806debef44a1d7de306992f4857bddd18fa3726
parent76dfd983d821773ad9029bb9cb9ddefebefb4d33
Simplify AS request time handling in KDC

The kdc_time and authtime fields of struct as_req_state are redundant
and can be condensed to just kdc_time.  Copying the times structure
from enc_tkt_reply to reply_encpart already sets the authtime field to
kdc_time, so there is no need to repeat that assignment.

Also remove two prototypes for functions which never existed in the
mainline KDC code.
src/kdc/do_as_req.c
src/kdc/kdc_util.h