You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Added patch to return more context attributes in schan_InitializeSecurityContextW.
This commit is contained in:
@@ -78,6 +78,7 @@ PATCHLIST := \
|
||||
ole32-CoWaitForMultipleHandles.ok \
|
||||
quartz-MediaSeeking_Positions.ok \
|
||||
riched20-IText_Interface.ok \
|
||||
secur32-Schannel_ContextAttr.ok \
|
||||
server-ACL_Compat.ok \
|
||||
server-Address_Change_Notification.ok \
|
||||
server-CreateProcess_ACLs.ok \
|
||||
@@ -1324,6 +1325,24 @@ riched20-IText_Interface.ok:
|
||||
echo '+ { "riched20-IText_Interface", "Sebastian Lackner", "Implement ITextSelection_fnGetDuplicate." },'; \
|
||||
) > riched20-IText_Interface.ok
|
||||
|
||||
# Patchset secur32-Schannel_ContextAttr
|
||||
# |
|
||||
# | Included patches:
|
||||
# | * Return more context attributes in schan_InitializeSecurityContextW. [by Sebastian Lackner]
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#37527] Return more context attributes in schan_InitializeSecurityContextW
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/secur32/schannel.c
|
||||
# |
|
||||
.INTERMEDIATE: secur32-Schannel_ContextAttr.ok
|
||||
secur32-Schannel_ContextAttr.ok:
|
||||
$(call APPLY_FILE,secur32-Schannel_ContextAttr/0001-secur32-Return-more-context-attributes-in-schan_Init.patch)
|
||||
@( \
|
||||
echo '+ { "secur32-Schannel_ContextAttr", "Sebastian Lackner", "Return more context attributes in schan_InitializeSecurityContextW." },'; \
|
||||
) > secur32-Schannel_ContextAttr.ok
|
||||
|
||||
# Patchset server-ACL_Compat
|
||||
# |
|
||||
# | Included patches:
|
||||
|
@@ -0,0 +1,34 @@
|
||||
From f7577766e160ac55faacd0fadf20fd9ebfb47e3a Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Lackner <sebastian@fds-team.de>
|
||||
Date: Tue, 11 Nov 2014 08:50:46 +0100
|
||||
Subject: secur32: Return more context attributes in
|
||||
schan_InitializeSecurityContextW.
|
||||
|
||||
---
|
||||
dlls/secur32/schannel.c | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/dlls/secur32/schannel.c b/dlls/secur32/schannel.c
|
||||
index 5b86a75..12d4c8d 100644
|
||||
--- a/dlls/secur32/schannel.c
|
||||
+++ b/dlls/secur32/schannel.c
|
||||
@@ -908,8 +908,16 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
|
||||
}
|
||||
|
||||
*pfContextAttr = 0;
|
||||
+ if (ctx->req_ctx_attr & ISC_REQ_REPLAY_DETECT)
|
||||
+ *pfContextAttr |= ISC_RET_REPLAY_DETECT;
|
||||
+ if (ctx->req_ctx_attr & ISC_REQ_SEQUENCE_DETECT)
|
||||
+ *pfContextAttr |= ISC_RET_SEQUENCE_DETECT;
|
||||
+ if (ctx->req_ctx_attr & ISC_REQ_CONFIDENTIALITY)
|
||||
+ *pfContextAttr |= ISC_RET_CONFIDENTIALITY;
|
||||
if (ctx->req_ctx_attr & ISC_REQ_ALLOCATE_MEMORY)
|
||||
*pfContextAttr |= ISC_RET_ALLOCATED_MEMORY;
|
||||
+ if (ctx->req_ctx_attr & ISC_REQ_STREAM)
|
||||
+ *pfContextAttr |= ISC_RET_STREAM;
|
||||
|
||||
return ret;
|
||||
}
|
||||
--
|
||||
2.1.3
|
||||
|
4
patches/secur32-Schannel_ContextAttr/definition
Normal file
4
patches/secur32-Schannel_ContextAttr/definition
Normal file
@@ -0,0 +1,4 @@
|
||||
Author: Sebastian Lackner
|
||||
Subject: Return more context attributes in schan_InitializeSecurityContextW.
|
||||
Revision: 1
|
||||
Fixes: [37527] Return more context attributes in schan_InitializeSecurityContextW
|
Reference in New Issue
Block a user