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
1c659a55
Commit
1c659a55
authored
Feb 10, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32/tests: Make sure return values are used (LLVM/Clang).
parent
39d5a908
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
schannel.c
dlls/secur32/tests/schannel.c
+4
-3
No files found.
dlls/secur32/tests/schannel.c
View file @
1c659a55
...
...
@@ -253,7 +253,7 @@ static void testAcquireSecurityContext(void)
ok
(
st
==
SEC_E_NO_CREDENTIALS
,
"Expected SEC_E_NO_CREDENTIALS, got %08x
\n
"
,
st
);
/* Crashes */
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_OUTBOUND
,
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_OUTBOUND
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
}
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_OUTBOUND
,
...
...
@@ -299,7 +299,7 @@ static void testAcquireSecurityContext(void)
{
/* Crashes with bad paCred pointer */
schanCred
.
cCreds
=
1
;
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_OUTBOUND
,
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_OUTBOUND
,
NULL
,
&
schanCred
,
NULL
,
NULL
,
NULL
,
NULL
);
}
...
...
@@ -343,6 +343,7 @@ static void testAcquireSecurityContext(void)
ret
=
pCertSetCertificateContextProperty
(
certs
[
1
],
CERT_KEY_PROV_INFO_PROP_ID
,
0
,
&
keyProvInfo
);
schanCred
.
dwVersion
=
SCH_CRED_V3
;
ok
(
ret
,
"CertSetCertificateContextProperty failed: %08x
\n
"
,
GetLastError
());
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_OUTBOUND
,
NULL
,
&
schanCred
,
NULL
,
NULL
,
&
cred
,
NULL
);
ok
(
st
==
SEC_E_UNKNOWN_CREDENTIALS
||
st
==
SEC_E_INTERNAL_ERROR
/* WinNT */
,
...
...
@@ -369,7 +370,7 @@ static void testAcquireSecurityContext(void)
if
(
0
)
{
/* Crashes */
st
=
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_INBOUND
,
pAcquireCredentialsHandleA
(
NULL
,
unisp_name_a
,
SECPKG_CRED_INBOUND
,
NULL
,
&
schanCred
,
NULL
,
NULL
,
NULL
,
NULL
);
/* Crashes on WinNT */
...
...
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