secur32: Clear expiry timestamp in schan_InitializeSecurityContextW().

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2021-10-28 20:19:26 +02:00 committed by Alexandre Julliard
parent 5e8acd7a04
commit 96185c7e39
1 changed files with 6 additions and 0 deletions

View File

@ -904,6 +904,12 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
dump_buffer_desc(pInput); dump_buffer_desc(pInput);
dump_buffer_desc(pOutput); dump_buffer_desc(pOutput);
if (ptsExpiry)
{
ptsExpiry->LowPart = 0;
ptsExpiry->HighPart = 0;
}
if (!phContext) if (!phContext)
{ {
ULONG_PTR handle; ULONG_PTR handle;