Module: wine Branch: master Commit: 8729575112802b34c6509642187b67d6873d2c47 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8729575112802b34c650964218...
Author: Sebastian Lackner sebastian@fds-team.de Date: Tue Nov 11 08:50:46 2014 +0100
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; }