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
d977044e
Commit
d977044e
authored
Nov 29, 2011
by
Ken Thomases
Committed by
Alexandre Julliard
Nov 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Eliminate broken clean-up "cheat".
parent
f4ac641a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
ntlm.c
dlls/secur32/ntlm.c
+8
-12
No files found.
dlls/secur32/ntlm.c
View file @
d977044e
...
...
@@ -2030,21 +2030,17 @@ void SECUR32_initNTLMSP(void)
NULL
};
if
(
fork_helper
(
&
helper
,
ntlm_auth
,
args
)
!=
SEC_E_OK
)
{
/* Cheat and allocate a helper anyway, so cleanup later will work. */
helper
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
NegoHelper
));
helper
->
major
=
helper
->
minor
=
helper
->
micro
=
-
1
;
helper
->
pipe_in
=
helper
->
pipe_out
=
-
1
;
}
helper
=
NULL
;
else
check_version
(
helper
);
if
(
(
helper
->
major
>
MIN_NTLM_AUTH_MAJOR_VERSION
)
||
(
helper
->
major
==
MIN_NTLM_AUTH_MAJOR_VERSION
&&
helper
->
minor
>
MIN_NTLM_AUTH_MINOR_VERSION
)
||
(
helper
->
major
==
MIN_NTLM_AUTH_MAJOR_VERSION
&&
helper
->
minor
==
MIN_NTLM_AUTH_MINOR_VERSION
&&
helper
->
micro
>=
MIN_NTLM_AUTH_MICRO_VERSION
)
)
if
(
helper
&&
((
helper
->
major
>
MIN_NTLM_AUTH_MAJOR_VERSION
)
||
(
helper
->
major
==
MIN_NTLM_AUTH_MAJOR_VERSION
&&
helper
->
minor
>
MIN_NTLM_AUTH_MINOR_VERSION
)
||
(
helper
->
major
==
MIN_NTLM_AUTH_MAJOR_VERSION
&&
helper
->
minor
==
MIN_NTLM_AUTH_MINOR_VERSION
&&
helper
->
micro
>=
MIN_NTLM_AUTH_MICRO_VERSION
))
)
{
SecureProvider
*
provider
=
SECUR32_addProvider
(
&
ntlmTableA
,
&
ntlmTableW
,
NULL
);
SecureProvider
*
nego_provider
=
SECUR32_addProvider
(
&
ntlmTableA
,
&
ntlmTableW
,
NULL
);
...
...
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