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
ebab1c72
Commit
ebab1c72
authored
May 10, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
May 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Remove some unused variables.
parent
81213a88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
ntlm.c
dlls/secur32/ntlm.c
+1
-11
No files found.
dlls/secur32/ntlm.c
View file @
ebab1c72
...
...
@@ -142,7 +142,6 @@ static SECURITY_STATUS SEC_ENTRY ntlm_AcquireCredentialsHandleW(
{
SECURITY_STATUS
ret
;
PNtlmCredentials
ntlm_cred
=
NULL
;
SEC_WCHAR
*
username
=
NULL
,
*
domain
=
NULL
;
TRACE
(
"(%s, %s, 0x%08x, %p, %p, %p, %p, %p, %p)
\n
"
,
debugstr_w
(
pszPrincipal
),
debugstr_w
(
pszPackage
),
fCredentialUse
,
...
...
@@ -222,10 +221,6 @@ static SECURITY_STATUS SEC_ENTRY ntlm_AcquireCredentialsHandleW(
phCredential
=
NULL
;
ret
=
SEC_E_UNKNOWN_CREDENTIALS
;
}
HeapFree
(
GetProcessHeap
(),
0
,
username
);
HeapFree
(
GetProcessHeap
(),
0
,
domain
);
return
ret
;
}
...
...
@@ -433,7 +428,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
PSecBufferDesc
pOutput
,
ULONG
*
pfContextAttr
,
PTimeStamp
ptsExpiry
)
{
SECURITY_STATUS
ret
;
PNtlmCredentials
ntlm_cred
=
NULL
;
PNtlmCredentials
ntlm_cred
;
PNegoHelper
helper
=
NULL
;
ULONG
ctxt_attr
=
0
;
char
*
buffer
,
*
want_flags
=
NULL
;
...
...
@@ -1783,9 +1778,6 @@ static SECURITY_STATUS SEC_ENTRY ntlm_EncryptMessage(PCtxtHandle phContext,
if
(
helper
->
neg_flags
&
NTLMSSP_NEGOTIATE_KEY_EXCHANGE
)
SECUR32_arc4Process
(
helper
->
crypt
.
ntlm2
.
send_a4i
,
((
BYTE
*
)
pMessage
->
pBuffers
[
token_idx
].
pvBuffer
)
+
4
,
8
);
return
SEC_E_OK
;
}
else
{
...
...
@@ -1808,9 +1800,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_EncryptMessage(PCtxtHandle phContext,
if
(
helper
->
neg_flags
&
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
||
helper
->
neg_flags
==
0
)
memset
(
sig
+
4
,
0
,
4
);
}
return
SEC_E_OK
;
}
...
...
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