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
4d275bcf
Commit
4d275bcf
authored
May 24, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
May 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Don't set the output buffer type in NTLM's IntializeSecurityContextA/W.
parent
661b4978
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
ntlm.c
dlls/secur32/ntlm.c
+0
-1
ntlm.c
dlls/secur32/tests/ntlm.c
+2
-0
No files found.
dlls/secur32/ntlm.c
View file @
4d275bcf
...
@@ -657,7 +657,6 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
...
@@ -657,7 +657,6 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
}
}
pOutput
->
pBuffers
[
0
].
cbBuffer
=
bin_len
;
pOutput
->
pBuffers
[
0
].
cbBuffer
=
bin_len
;
pOutput
->
pBuffers
[
0
].
BufferType
=
SECBUFFER_DATA
;
memcpy
(
pOutput
->
pBuffers
[
0
].
pvBuffer
,
bin
,
bin_len
);
memcpy
(
pOutput
->
pBuffers
[
0
].
pvBuffer
,
bin
,
bin_len
);
if
(
ret
==
SEC_E_OK
)
if
(
ret
==
SEC_E_OK
)
...
...
dlls/secur32/tests/ntlm.c
View file @
4d275bcf
...
@@ -465,6 +465,8 @@ static SECURITY_STATUS runClient(SspiData *sspi_data, BOOL first, ULONG data_rep
...
@@ -465,6 +465,8 @@ static SECURITY_STATUS runClient(SspiData *sspi_data, BOOL first, ULONG data_rep
ret
=
SEC_E_OK
;
ret
=
SEC_E_OK
;
}
}
ok
(
out_buf
->
pBuffers
[
0
].
BufferType
==
SECBUFFER_TOKEN
,
"buffer type was changed from SECBUFFER_TOKEN to %ld
\n
"
,
out_buf
->
pBuffers
[
0
].
BufferType
);
ok
(
out_buf
->
pBuffers
[
0
].
cbBuffer
<
sspi_data
->
max_token
,
ok
(
out_buf
->
pBuffers
[
0
].
cbBuffer
<
sspi_data
->
max_token
,
"InitializeSecurityContext set buffer size to %lu
\n
"
,
out_buf
->
pBuffers
[
0
].
cbBuffer
);
"InitializeSecurityContext set buffer size to %lu
\n
"
,
out_buf
->
pBuffers
[
0
].
cbBuffer
);
...
...
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