From bb9a4154634ec48bc67e68aeeae930f9125b0299 Mon Sep 17 00:00:00 2001 From: Keith Vetter Date: Sat, 1 Apr 1995 00:58:28 +0000 Subject: [PATCH] krb5_get_in_tkt returns proper error on clock skew mismatches git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5332 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/get_in_tkt.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 1e927a407..c591d110e 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +Fri Mar 31 16:45:47 1995 Keith Vetter (keithv@fusion.com) + + * krb5_get_in_tkt: changed error return value for when clocks + are out of skew to be KRB5_KDCREP_SKEW. + Fri Mar 31 00:44:26 1995 Theodore Y. Ts'o (tytso@dcl) * rd_req.c (krb5_rd_req): Fix typo which caused new_keytab to not diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index 2fb93048d..42dcdb4b8 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -307,7 +307,7 @@ krb5_get_in_tkt(context, options, addrs, etypes, ptypes, key_proc, keyseed, } if ((request.from == 0) && !in_clock_skew(as_reply->enc_part2->times.starttime)) { - retval = KRB5_KDCREP_MODIFIED; + retval = KRB5_KDCREP_SKEW; goto cleanup; } -- 2.26.2