krb5_get_in_tkt returns proper error on clock skew mismatches
authorKeith Vetter <keithv@fusion.com>
Sat, 1 Apr 1995 00:58:28 +0000 (00:58 +0000)
committerKeith Vetter <keithv@fusion.com>
Sat, 1 Apr 1995 00:58:28 +0000 (00:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5332 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/get_in_tkt.c

index 1e927a40705f7c6a0a99b26ffca1812ebd97306d..c591d110ef81fe546d10a1e81e08a11d786ad2ec 100644 (file)
@@ -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
index 2fb93048ddcf6f402e119ce8c51017b6f25b6d7f..42dcdb4b82fe840d58c9bdf4d473be1ee24b6fac 100644 (file)
@@ -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;
     }