requested starttime if we requested a postdated ticket.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6885
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Sep 29 00:08:53 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * gc_via_tkt.c (krb5_get_cred_via_tkt): Only check the returned
+ starttime to make sure it matches the requested starttime
+ if we requested a postdated ticket.
+
Thu Sep 28 22:58:53 1995 Theodore Y. Ts'o <tytso@dcl>
* conv_princ.c (krb5_425_conv_principal): Only convert instances
if (dec_rep->enc_part2->nonce != tgsrep.expected_nonce)
retval = KRB5_KDCREP_MODIFIED;
- if ((in_cred->times.starttime != 0) &&
+ if ((kdcoptions & KDC_OPT_POSTDATED) &&
+ (in_cred->times.starttime != 0) &&
(in_cred->times.starttime != dec_rep->enc_part2->times.starttime))
retval = KRB5_KDCREP_MODIFIED;