rd_req_dec.c (krb5_rd_req_decoded): Move code which validated the
authorTheodore Tso <tytso@mit.edu>
Wed, 10 Apr 1996 14:39:36 +0000 (14:39 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 10 Apr 1996 14:39:36 +0000 (14:39 +0000)
commit6f5f29a4fe2724e0a18dd91464a25bb45b952532
tree4527dcb590877f258df53449d960832b4fc6db9b
parentaa0a6f486cd26c6c01bd3d58df6d0dd6b9a07a76
rd_req_dec.c (krb5_rd_req_decoded): Move code which validated the
ticket times to krb5_validate_times.

valid_times.c (krb5_validate_times): New function which determines
whether or not the ticket times are valid.

mk_req_ext.c (krb5_mk_req_extended): Call krb5_validate_time() to
determine whether or not the ticket in passed-in credentials is valid.
If it isn't, return an error right away.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7777 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/mk_req_ext.c
src/lib/krb5/krb/rd_req_dec.c
src/lib/krb5/krb/valid_times.c [new file with mode: 0644]