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
d211ddbf
Commit
d211ddbf
authored
Nov 27, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh/tests: Fix a test failure on Win98.
parent
26d565ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+8
-1
No files found.
dlls/rsaenh/tests/rsaenh.c
View file @
d211ddbf
...
@@ -146,9 +146,16 @@ static void clean_up_base_environment(void)
...
@@ -146,9 +146,16 @@ static void clean_up_base_environment(void)
{
{
BOOL
result
;
BOOL
result
;
SetLastError
(
0xdeadbeef
);
result
=
CryptReleaseContext
(
hProv
,
1
);
result
=
CryptReleaseContext
(
hProv
,
1
);
ok
(
!
result
&&
GetLastError
()
==
NTE_BAD_FLAGS
,
"%08x
\n
"
,
GetLastError
());
ok
(
!
result
||
broken
(
result
)
/* Win98 */
,
"Expected failure
\n
"
);
ok
(
GetLastError
()
==
NTE_BAD_FLAGS
,
"Expected NTE_BAD_FLAGS, got %08x
\n
"
,
GetLastError
());
/* Just to prove that Win98 also released the CSP */
SetLastError
(
0xdeadbeef
);
result
=
CryptReleaseContext
(
hProv
,
0
);
ok
(
!
result
&&
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"%08x
\n
"
,
GetLastError
());
CryptAcquireContext
(
&
hProv
,
szContainer
,
szProvider
,
PROV_RSA_FULL
,
CRYPT_DELETEKEYSET
);
CryptAcquireContext
(
&
hProv
,
szContainer
,
szProvider
,
PROV_RSA_FULL
,
CRYPT_DELETEKEYSET
);
}
}
...
...
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