[krbdev.mit.edu #9141] git commit

"Greg Hudson via RT" <[email protected]> Mon, 07 Oct 2024 19:36:55 -0400
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Mon Oct 07 19:36:55 2024: Request 9141 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: git commit
       Owner: [email protected]
  Requestors: 
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9141 >



Fix krb5_crypto_us_timeofday() microseconds check

Commit a60db180211a383bd382afe729e9309acb8dcf53 mistakenly reversed
the sense of the krb5_crypto_us_timeofday() conditional that enforces
fowards movement of the microseconds value within a second.  Moreover,
the macros ts_after() and ts_incr() should not have been applied to
non-timestamp values.  Revert the incorrect changes.

[[email protected]: rewrote commit message]

https://github.com/krb5/krb5/commit/6f6d795be8d0dd0a46952cf8afa59b65d71df744
Author: Alexey Tikhonov <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: 6f6d795be8d0dd0a46952cf8afa59b65d71df744
Branch: master
 src/lib/krb5/os/c_ustime.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)