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
bb12daf2
Commit
bb12daf2
authored
Jun 21, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sspicli: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6128623e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
Makefile.in
dlls/sspicli/Makefile.in
+2
-0
main.c
dlls/sspicli/main.c
+5
-6
No files found.
dlls/sspicli/Makefile.in
View file @
bb12daf2
MODULE
=
sspicli.dll
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
main.c
dlls/sspicli/main.c
View file @
bb12daf2
...
...
@@ -25,7 +25,6 @@
#include "wincred.h"
#include "wine/debug.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
sspicli
);
...
...
@@ -45,9 +44,9 @@ SECURITY_STATUS SEC_ENTRY SspiEncodeStringsAsAuthIdentity(
if
(
!
username
&&
!
domainname
&&
!
creds
)
return
SEC_E_INVALID_TOKEN
;
if
(
username
)
len_username
=
strlenW
(
username
);
if
(
domainname
)
len_domainname
=
strlenW
(
domainname
);
if
(
creds
)
len_password
=
strlenW
(
creds
);
if
(
username
)
len_username
=
l
strlenW
(
username
);
if
(
domainname
)
len_domainname
=
l
strlenW
(
domainname
);
if
(
creds
)
len_password
=
l
strlenW
(
creds
);
size
=
sizeof
(
*
id
);
if
(
username
)
size
+=
(
len_username
+
1
)
*
sizeof
(
WCHAR
);
...
...
@@ -101,8 +100,8 @@ static inline WCHAR *strdupW( const WCHAR *src )
{
WCHAR
*
dst
;
if
(
!
src
)
return
NULL
;
if
((
dst
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
strlenW
(
src
)
+
1
)
*
sizeof
(
WCHAR
)
)))
strcpyW
(
dst
,
src
);
if
((
dst
=
HeapAlloc
(
GetProcessHeap
(),
0
,
(
l
strlenW
(
src
)
+
1
)
*
sizeof
(
WCHAR
)
)))
l
strcpyW
(
dst
,
src
);
return
dst
;
}
...
...
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