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
49939ed5
Commit
49939ed5
authored
Apr 24, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Remove unused variables.
parent
362cd67d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
ntlm.c
dlls/secur32/ntlm.c
+5
-10
No files found.
dlls/secur32/ntlm.c
View file @
49939ed5
...
...
@@ -615,8 +615,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
lstrcpyA
(
want_flags
,
"SF"
);
if
(
fContextReq
&
ISC_REQ_CONFIDENTIALITY
)
{
char
*
ptr
;
if
((
ptr
=
strstr
(
want_flags
,
"NTLMSSP_FEATURE_SEAL"
))
==
NULL
)
if
(
strstr
(
want_flags
,
"NTLMSSP_FEATURE_SEAL"
)
==
NULL
)
lstrcatA
(
want_flags
,
" NTLMSSP_FEATURE_SEAL"
);
}
if
(
fContextReq
&
ISC_REQ_CONNECTION
)
...
...
@@ -625,22 +624,19 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
ctxt_attr
|=
ISC_RET_EXTENDED_ERROR
;
if
(
fContextReq
&
ISC_REQ_INTEGRITY
)
{
char
*
ptr
;
if
((
ptr
=
strstr
(
want_flags
,
"NTLMSSP_FEATURE_SIGN"
))
==
NULL
)
if
(
strstr
(
want_flags
,
"NTLMSSP_FEATURE_SIGN"
)
==
NULL
)
lstrcatA
(
want_flags
,
" NTLMSSP_FEATURE_SIGN"
);
}
if
(
fContextReq
&
ISC_REQ_MUTUAL_AUTH
)
ctxt_attr
|=
ISC_RET_MUTUAL_AUTH
;
if
(
fContextReq
&
ISC_REQ_REPLAY_DETECT
)
{
char
*
ptr
;
if
((
ptr
=
strstr
(
want_flags
,
"NTLMSSP_FEATURE_SIGN"
))
==
NULL
)
if
(
strstr
(
want_flags
,
"NTLMSSP_FEATURE_SIGN"
)
==
NULL
)
lstrcatA
(
want_flags
,
" NTLMSSP_FEATURE_SIGN"
);
}
if
(
fContextReq
&
ISC_REQ_SEQUENCE_DETECT
)
{
char
*
ptr
;
if
((
ptr
=
strstr
(
want_flags
,
"NTLMSSP_FEATURE_SIGN"
))
==
NULL
)
if
(
strstr
(
want_flags
,
"NTLMSSP_FEATURE_SIGN"
)
==
NULL
)
lstrcatA
(
want_flags
,
" NTLMSSP_FEATURE_SIGN"
);
}
if
(
fContextReq
&
ISC_REQ_STREAM
)
...
...
@@ -1974,7 +1970,6 @@ static const SecPkgInfoA infoA = {
void
SECUR32_initNTLMSP
(
void
)
{
SECURITY_STATUS
ret
;
PNegoHelper
helper
;
static
CHAR
version
[]
=
"--version"
;
...
...
@@ -1983,7 +1978,7 @@ void SECUR32_initNTLMSP(void)
version
,
NULL
};
if
(
(
ret
=
fork_helper
(
&
helper
,
ntlm_auth
,
args
)
)
!=
SEC_E_OK
)
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
(
PNegoHelper
));
...
...
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