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
7f02dcbb
Commit
7f02dcbb
authored
Jul 13, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Jul 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sspicli: Implement SspiZeroAuthIdentity.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
765f1b23
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
main.c
dlls/sspicli/main.c
+16
-0
sspicli.spec
dlls/sspicli/sspicli.spec
+1
-1
No files found.
dlls/sspicli/main.c
View file @
7f02dcbb
...
@@ -79,3 +79,19 @@ SECURITY_STATUS SEC_ENTRY SspiEncodeStringsAsAuthIdentity(
...
@@ -79,3 +79,19 @@ SECURITY_STATUS SEC_ENTRY SspiEncodeStringsAsAuthIdentity(
*
opaque_id
=
id
;
*
opaque_id
=
id
;
return
SEC_E_OK
;
return
SEC_E_OK
;
}
}
/***********************************************************************
* SspiZeroAuthIdentity (SECUR32.0)
*/
void
SEC_ENTRY
SspiZeroAuthIdentity
(
PSEC_WINNT_AUTH_IDENTITY_OPAQUE
opaque_id
)
{
SEC_WINNT_AUTH_IDENTITY_W
*
id
=
(
SEC_WINNT_AUTH_IDENTITY_W
*
)
opaque_id
;
TRACE
(
"%p
\n
"
,
opaque_id
);
if
(
!
id
)
return
;
if
(
id
->
User
)
memset
(
id
->
User
,
0
,
id
->
UserLength
*
sizeof
(
WCHAR
)
);
if
(
id
->
Domain
)
memset
(
id
->
Domain
,
0
,
id
->
DomainLength
*
sizeof
(
WCHAR
)
);
if
(
id
->
Password
)
memset
(
id
->
Password
,
0
,
id
->
PasswordLength
*
sizeof
(
WCHAR
)
);
memset
(
id
,
0
,
sizeof
(
*
id
)
);
}
dlls/sspicli/sspicli.spec
View file @
7f02dcbb
...
@@ -99,6 +99,6 @@
...
@@ -99,6 +99,6 @@
@ stub SspiUnmarshalAuthIdentity
@ stub SspiUnmarshalAuthIdentity
@ stub SspiUnmarshalAuthIdentityInternal
@ stub SspiUnmarshalAuthIdentityInternal
@ stub SspiValidateAuthIdentity
@ stub SspiValidateAuthIdentity
@ st
ub SspiZeroAuthIdentity
@ st
dcall SspiZeroAuthIdentity(ptr)
@ stub UnsealMessage
@ stub UnsealMessage
@ stub VerifySignature
@ stub VerifySignature
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