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
24c5e6ed
Commit
24c5e6ed
authored
Dec 28, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Dump the buffer descs in schan_InitializeSecurityContextW().
parent
7bf26762
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
schannel.c
dlls/secur32/schannel.c
+16
-0
No files found.
dlls/secur32/schannel.c
View file @
24c5e6ed
...
@@ -622,6 +622,19 @@ static int schan_init_sec_ctx_get_next_buffer(const struct schan_transport *t, s
...
@@ -622,6 +622,19 @@ static int schan_init_sec_ctx_get_next_buffer(const struct schan_transport *t, s
return
-
1
;
return
-
1
;
}
}
static
void
dump_buffer_desc
(
SecBufferDesc
*
desc
)
{
unsigned
int
i
;
if
(
!
desc
)
return
;
TRACE
(
"Buffer desc %p:
\n
"
,
desc
);
for
(
i
=
0
;
i
<
desc
->
cBuffers
;
++
i
)
{
SecBuffer
*
b
=
&
desc
->
pBuffers
[
i
];
TRACE
(
"
\t
buffer %u: cbBuffer %ld, BufferType %#lx pvBuffer %p
\n
"
,
i
,
b
->
cbBuffer
,
b
->
BufferType
,
b
->
pvBuffer
);
}
}
/***********************************************************************
/***********************************************************************
* InitializeSecurityContextW
* InitializeSecurityContextW
*/
*/
...
@@ -641,6 +654,9 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
...
@@ -641,6 +654,9 @@ static SECURITY_STATUS SEC_ENTRY schan_InitializeSecurityContextW(
debugstr_w
(
pszTargetName
),
fContextReq
,
Reserved1
,
TargetDataRep
,
pInput
,
debugstr_w
(
pszTargetName
),
fContextReq
,
Reserved1
,
TargetDataRep
,
pInput
,
Reserved1
,
phNewContext
,
pOutput
,
pfContextAttr
,
ptsExpiry
);
Reserved1
,
phNewContext
,
pOutput
,
pfContextAttr
,
ptsExpiry
);
dump_buffer_desc
(
pInput
);
dump_buffer_desc
(
pOutput
);
if
(
!
phContext
)
if
(
!
phContext
)
{
{
ULONG_PTR
handle
;
ULONG_PTR
handle
;
...
...
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