Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ed06d64b
Commit
ed06d64b
authored
Mar 10, 2021
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Return more attributes from schan_InitializeSecurityContextW.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a114ce67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
schannel.c
dlls/secur32/schannel.c
+5
-4
No files found.
dlls/secur32/schannel.c
View file @
ed06d64b
...
...
@@ -958,10 +958,11 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
}
*
pfContextAttr
=
ISC_RET_REPLAY_DETECT
|
ISC_RET_SEQUENCE_DETECT
|
ISC_RET_CONFIDENTIALITY
|
ISC_RET_STREAM
;
if
(
ctx
->
req_ctx_attr
&
ISC_REQ_ALLOCATE_MEMORY
)
*
pfContextAttr
|=
ISC_RET_ALLOCATED_MEMORY
;
if
(
ctx
->
req_ctx_attr
&
ISC_REQ_USE_SUPPLIED_CREDS
)
*
pfContextAttr
|=
ISC_RET_USED_SUPPLIED_CREDS
;
if
(
ctx
->
req_ctx_attr
&
ISC_REQ_EXTENDED_ERROR
)
*
pfContextAttr
|=
ISC_RET_EXTENDED_ERROR
;
if
(
ctx
->
req_ctx_attr
&
ISC_REQ_DATAGRAM
)
*
pfContextAttr
|=
ISC_RET_DATAGRAM
;
if
(
ctx
->
req_ctx_attr
&
ISC_REQ_ALLOCATE_MEMORY
)
*
pfContextAttr
|=
ISC_RET_ALLOCATED_MEMORY
;
if
(
ctx
->
req_ctx_attr
&
ISC_REQ_USE_SUPPLIED_CREDS
)
*
pfContextAttr
|=
ISC_RET_USED_SUPPLIED_CREDS
;
if
(
ctx
->
req_ctx_attr
&
ISC_REQ_MANUAL_CRED_VALIDATION
)
*
pfContextAttr
|=
ISC_RET_MANUAL_CRED_VALIDATION
;
return
ret
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment