Nikolay Sivov : secur32: Remove unused field from struct schan_transport.

Alexandre Julliard julliard at winehq.org
Thu May 26 15:46:27 CDT 2022


Module: wine
Branch: master
Commit: d3378c1441c4bd7ff9dc8191ef1fee71a779d1b7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d3378c1441c4bd7ff9dc8191ef1fee71a779d1b7

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu May 26 17:06:11 2022 +0300

secur32: Remove unused field from struct schan_transport.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list