Hans Leidekker : secur32: Clear expiry timestamp in schan_InitializeSecurityContextW().
Alexandre Julliard
julliard at winehq.org
Fri Oct 29 16:29:07 CDT 2021
Module: wine
Branch: master
Commit: 96185c7e39b225e624cbc6a1866dfef9a79dffff
URL: https://source.winehq.org/git/wine.git/?a=commit;h=96185c7e39b225e624cbc6a1866dfef9a79dffff
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu Oct 28 20:19:26 2021 +0200
secur32: Clear expiry timestamp in schan_InitializeSecurityContextW().
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list