]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix renew_until check for auto-renewal
authorKevin Wasserman <kevin.wasserman@painless-security.com>
Mon, 30 Jul 2012 20:30:34 +0000 (16:30 -0400)
committerBen Kaduk <kaduk@mit.edu>
Wed, 29 Aug 2012 18:50:20 +0000 (14:50 -0400)
commit95c89d4c738df9be8e60215e4a883794d4b7b15c
tree78104e72fb42a86642ff1a325efc3d9b8a2ef7de
parentcc904ef3ffc69827fc8aa2ed3b50d3c3cb00beef
Fix renew_until check for auto-renewal

This was completely wrong, but only caused a severe problem on 64 bit
builds. On 32 bit builds the result was effectively always 'success',
so it would always attempt to renew even if there was not sufficient time
left in the renewable lifetime. This did not have much observable
adverse effect. But on 64 bit builds it always failed and so never
attempted renewal.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7326 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
src/windows/leash/LeashView.cpp