forked from Mirrors/wine-wine
secur32: Return more context attributes in schan_InitializeSecurityContextW.
parent
26c9ce5d0b
commit
8729575112
|
@ -908,8 +908,16 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
|
||||||
}
|
}
|
||||||
|
|
||||||
*pfContextAttr = 0;
|
*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)
|
if (ctx->req_ctx_attr & ISC_REQ_ALLOCATE_MEMORY)
|
||||||
*pfContextAttr |= ISC_RET_ALLOCATED_MEMORY;
|
*pfContextAttr |= ISC_RET_ALLOCATED_MEMORY;
|
||||||
|
if (ctx->req_ctx_attr & ISC_REQ_STREAM)
|
||||||
|
*pfContextAttr |= ISC_RET_STREAM;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue