|
@@ -357,10 +357,10 @@ int check_nonce(auth_body_t* auth, str* secret1, str* secret2,
|
|
different length (for example because of different auth.
|
|
different length (for example because of different auth.
|
|
checks).. Therefore we force credentials to be rebuilt by UAC
|
|
checks).. Therefore we force credentials to be rebuilt by UAC
|
|
without prompting for password */
|
|
without prompting for password */
|
|
- /* if current time is less than start time, reset the start time
|
|
|
|
- (e.g., after start, the system clock was set in the past) */
|
|
|
|
- t=time(0);
|
|
|
|
- if (t < up_since)
|
|
|
|
|
|
+ /* if current time is less than start time, reset the start time
|
|
|
|
+ * (e.g., after start, the system clock was set in the past) */
|
|
|
|
+ t=time(0);
|
|
|
|
+ if (t < up_since)
|
|
up_since = t;
|
|
up_since = t;
|
|
if (since < t)
|
|
if (since < t)
|
|
return 4;
|
|
return 4;
|