[PATCH] kerberos: Fix expiry time conversion.
Alexandre Julliard
julliard at winehq.org
Thu Nov 4 14:10:07 CDT 2021
Dmitry Timoshkov <dmitry at baikal.ru> writes:
> 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?
I'm reworking that code anyway, so I'll fix it.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list