[PATCH] secur32: Remove unused field from struct schan_transport.

Nikolay Sivov nsivov at codeweavers.com
Thu May 26 09:06:11 CDT 2022


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/secur32/schannel.c     | 2 --
 dlls/secur32/secur32_priv.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c
index bbbac37c6bb..6ab5507becf 100644
--- a/dlls/secur32/schannel.c
+++ b/dlls/secur32/schannel.c
@@ -826,8 +826,6 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
         else
             ctx->header_size = HEADER_SIZE_TLS;
 
-        ctx->transport.ctx = ctx;
-
         if (pszTargetName && *pszTargetName)
         {
             UINT len = WideCharToMultiByte( CP_UNIXCP, 0, pszTargetName, -1, NULL, 0, NULL, NULL );
diff --git a/dlls/secur32/secur32_priv.h b/dlls/secur32/secur32_priv.h
index 64edc0581d6..be375618266 100644
--- a/dlls/secur32/secur32_priv.h
+++ b/dlls/secur32/secur32_priv.h
@@ -102,7 +102,6 @@ struct schan_buffers
 
 struct schan_transport
 {
-    struct schan_context *ctx;
     schan_session session;
     struct schan_buffers in;
     struct schan_buffers out;
-- 
2.35.1




More information about the wine-devel mailing list