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
8e2d28dd
Commit
8e2d28dd
authored
Aug 05, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32/tests: Write-strings warnings fix.
parent
aefdcd13
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
31 deletions
+36
-31
main.c
dlls/secur32/tests/main.c
+8
-4
schannel.c
dlls/secur32/tests/schannel.c
+28
-27
No files found.
dlls/secur32/tests/main.c
View file @
8e2d28dd
...
...
@@ -503,13 +503,15 @@ static void testQuerySecurityPackageInfo(void)
{
SECURITY_STATUS
sec_status
;
PSecPkgInfo
pkg_info
;
static
SEC_CHAR
ntlm
[]
=
"NTLM"
,
winetest
[]
=
"Winetest"
;
trace
(
"Running testQuerySecurityPackageInfo
\n
"
);
/* Test with an existing package. Test should pass */
pkg_info
=
(
void
*
)
0xdeadbeef
;
sec_status
=
setupPackageA
(
"NTLM"
,
&
pkg_info
);
sec_status
=
setupPackageA
(
ntlm
,
&
pkg_info
);
ok
((
sec_status
==
SEC_E_OK
)
||
(
sec_status
==
SEC_E_SECPKG_NOT_FOUND
),
"Return value of QuerySecurityPackageInfo() shouldn't be %s
\n
"
,
...
...
@@ -533,7 +535,7 @@ static void testQuerySecurityPackageInfo(void)
/* Test with a nonexistent package, test should fail */
pkg_info
=
(
void
*
)
0xdeadbeef
;
sec_status
=
pQuerySecurityPackageInfoA
(
"Winetest"
,
&
pkg_info
);
sec_status
=
pQuerySecurityPackageInfoA
(
winetest
,
&
pkg_info
);
ok
(
sec_status
!=
SEC_E_OK
,
"Return value of QuerySecurityPackageInfo() should not be %s for a nonexistent package
\n
"
,
getSecError
(
SEC_E_OK
));
...
...
@@ -678,8 +680,10 @@ START_TEST(main)
testQuerySecurityPackageInfo
();
if
(
pInitSecurityInterfaceA
)
{
testAuth
(
"NTLM"
,
SECURITY_NATIVE_DREP
);
testAuth
(
"NTLM"
,
SECURITY_NETWORK_DREP
);
static
SEC_CHAR
sec_pkg_name
[]
=
"NTLM"
;
testAuth
(
sec_pkg_name
,
SECURITY_NATIVE_DREP
);
testAuth
(
sec_pkg_name
,
SECURITY_NETWORK_DREP
);
}
}
}
...
...
dlls/secur32/tests/schannel.c
View file @
8e2d28dd
This diff is collapsed.
Click to expand it.
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