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
a072f85b
Commit
a072f85b
authored
Jan 26, 2009
by
James Hawkins
Committed by
Alexandre Julliard
Jan 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Skip tests if the default provider cannot be removed.
parent
8322bd78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
crypt.c
dlls/advapi32/tests/crypt.c
+3
-2
No files found.
dlls/advapi32/tests/crypt.c
View file @
a072f85b
...
...
@@ -870,12 +870,13 @@ static void test_set_provider_ex(void)
/* remove the default provider and then set it to MS_DEF_PROV/PROV_RSA_FULL */
SetLastError
(
0xdeadbeef
);
result
=
pCryptSetProviderExA
(
MS_DEF_PROV
,
PROV_RSA_FULL
,
NULL
,
CRYPT_MACHINE_DEFAULT
|
CRYPT_DELETE_DEFAULT
);
if
(
!
result
&&
(
GetLastError
()
==
ERROR_ACCESS_DENIED
)
)
if
(
!
result
)
{
ok
(
GetLastError
()
==
ERROR_ACCESS_DENIED
||
broken
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
),
"wrong error %u
\n
"
,
GetLastError
()
);
skip
(
"Not enough rights to remove the default provider
\n
"
);
return
;
}
ok
(
result
,
"%d
\n
"
,
GetLastError
());
result
=
pCryptSetProviderExA
(
MS_DEF_PROV
,
PROV_RSA_FULL
,
NULL
,
CRYPT_MACHINE_DEFAULT
);
ok
(
result
,
"%d
\n
"
,
GetLastError
());
...
...
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