Hans Leidekker : secur32: Clear expiry timestamp in schan_InitializeSecurityContextW().
Module: wine Branch: master Commit: 96185c7e39b225e624cbc6a1866dfef9a79dffff URL: https://source.winehq.org/git/wine.git/?a=commit;h=96185c7e39b225e624cbc6a18... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Thu Oct 28 20:19:26 2021 +0200 secur32: Clear expiry timestamp in schan_InitializeSecurityContextW(). Signed-off-by: Hans Leidekker <hans(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/secur32/schannel.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c index 885fabfac13..fdf8e990f62 100644 --- a/dlls/secur32/schannel.c +++ b/dlls/secur32/schannel.c @@ -904,6 +904,12 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW( dump_buffer_desc(pInput); dump_buffer_desc(pOutput); + if (ptsExpiry) + { + ptsExpiry->LowPart = 0; + ptsExpiry->HighPart = 0; + } + if (!phContext) { ULONG_PTR handle;
participants (1)
-
Alexandre Julliard