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
d10a4dce
Commit
d10a4dce
authored
Feb 03, 2011
by
Austin English
Committed by
Alexandre Julliard
Feb 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Make sure to use return value (LLVM/Clang).
parent
1f10a78c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
crypt.c
dlls/advapi32/tests/crypt.c
+2
-0
No files found.
dlls/advapi32/tests/crypt.c
View file @
d10a4dce
...
...
@@ -414,6 +414,7 @@ static void test_verify_sig(void)
CRYPT_NEWKEYSET
);
if
(
!
ret
&&
GetLastError
()
==
NTE_EXISTS
)
ret
=
pCryptAcquireContextA
(
&
prov
,
szKeySet
,
NULL
,
PROV_RSA_FULL
,
0
);
ok
(
ret
,
"CryptAcquireContextA failed: %08x
\n
"
,
GetLastError
());
ret
=
pCryptImportKey
(
prov
,
(
LPBYTE
)
privKey
,
sizeof
(
privKey
),
0
,
0
,
&
key
);
ok
(
ret
,
"CryptImportKey failed: %08x
\n
"
,
GetLastError
());
ret
=
pCryptCreateHash
(
prov
,
CALG_MD5
,
0
,
0
,
&
hash
);
...
...
@@ -898,6 +899,7 @@ static void test_set_provider_ex(void)
/* call CryptGetDefaultProvider to see if they match */
result
=
pCryptGetDefaultProviderA
(
PROV_RSA_FULL
,
NULL
,
CRYPT_MACHINE_DEFAULT
,
NULL
,
&
cbProvName
);
ok
(
result
,
"%d
\n
"
,
GetLastError
());
if
(
!
(
pszProvName
=
LocalAlloc
(
LMEM_ZEROINIT
,
cbProvName
)))
goto
reset
;
...
...
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