Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6b44c2a5
Commit
6b44c2a5
authored
Jun 09, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jun 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some warnings.
parent
54fc5edd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
crypt.c
dlls/advapi32/tests/crypt.c
+4
-4
security.c
dlls/advapi32/tests/security.c
+4
-4
No files found.
dlls/advapi32/tests/crypt.c
View file @
6b44c2a5
...
...
@@ -591,13 +591,13 @@ static BOOL FindDfltProvRegVals(DWORD dwProvType, DWORD dwFlags, LPSTR *pszProvN
PSTR
ptr
;
DWORD
user
=
dwFlags
&
CRYPT_USER_DEFAULT
;
LP
STR
MACHINESTR
=
"Software
\\
Microsoft
\\
Cryptography
\\
Defaults
\\
Provider Types
\\
Type XXX"
;
LP
STR
USERSTR
=
"Software
\\
Microsoft
\\
Cryptography
\\
Provider Type XXX"
;
LP
CSTR
machinestr
=
"Software
\\
Microsoft
\\
Cryptography
\\
Defaults
\\
Provider Types
\\
Type XXX"
;
LP
CSTR
userstr
=
"Software
\\
Microsoft
\\
Cryptography
\\
Provider Type XXX"
;
keyname
=
LocalAlloc
(
LMEM_ZEROINIT
,
(
user
?
strlen
(
USERSTR
)
:
strlen
(
MACHINESTR
))
+
1
);
keyname
=
LocalAlloc
(
LMEM_ZEROINIT
,
(
user
?
strlen
(
userstr
)
:
strlen
(
machinestr
))
+
1
);
if
(
keyname
)
{
user
?
strcpy
(
keyname
,
USERSTR
)
:
strcpy
(
keyname
,
MACHINESTR
);
user
?
strcpy
(
keyname
,
userstr
)
:
strcpy
(
keyname
,
machinestr
);
ptr
=
keyname
+
strlen
(
keyname
);
*
(
--
ptr
)
=
(
dwProvType
%
10
)
+
'0'
;
*
(
--
ptr
)
=
((
dwProvType
/
10
)
%
10
)
+
'0'
;
...
...
dlls/advapi32/tests/security.c
View file @
6b44c2a5
...
...
@@ -53,7 +53,7 @@ static void init(void)
hmod
=
GetModuleHandle
(
"advapi32.dll"
);
}
void
test_sid
(
)
static
void
test_sid
(
void
)
{
struct
sidRef
refs
[]
=
{
{
{
{
0x00
,
0x00
,
0x33
,
0x44
,
0x55
,
0x66
}
},
"S-1-860116326-1"
},
...
...
@@ -144,11 +144,11 @@ void test_sid()
}
}
void
test_trustee
(
)
static
void
test_trustee
(
void
)
{
TRUSTEE
trustee
;
PSID
psid
;
LPSTR
str
=
"2jjj"
;
char
str
[]
=
"2jjj"
;
SID_IDENTIFIER_AUTHORITY
auth
=
{
{
0x11
,
0x22
,
0
,
0
,
0
,
0
}
};
...
...
@@ -253,7 +253,7 @@ static void test_allocateLuid(void)
static
void
test_lookupPrivilegeName
(
void
)
{
BOOL
(
WINAPI
*
pLookupPrivilegeNameA
)(
LPSTR
,
PLUID
,
LPSTR
,
LPDWORD
);
BOOL
(
WINAPI
*
pLookupPrivilegeNameA
)(
LP
C
STR
,
PLUID
,
LPSTR
,
LPDWORD
);
char
buf
[
MAX_PATH
];
/* arbitrary, seems long enough */
DWORD
cchName
=
sizeof
(
buf
);
LUID
luid
=
{
0
,
0
};
...
...
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