[PATCH] kerberos: Fix expiry time conversion.

Dmitry Timoshkov dmitry at baikal.ru
Thu Nov 4 12:56:44 CDT 2021


Alexandre Julliard <julliard at winehq.org> wrote:

> Dmitry Timoshkov <dmitry at baikal.ru> writes:
> 
> > @@ -477,6 +477,7 @@ static void expirytime_gss_to_sspi( OM_uint32 expirytime, TimeStamp *timestamp )
> >  
> >      NtQuerySystemTime( &time );
> >      RtlSystemTimeToLocalTime( &time, &time );
> > +    time.QuadPart += expirytime;
> 
> Isn't expirytime supposed to be in seconds?

Good catch, thanks, that's correct, however that's how it was in old code where
I copied it from. Would you mind adding a multiplier before committing? Or should
I resend the patch?

-- 
Dmitry.



More information about the wine-devel mailing list