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
21a0c3b4
Commit
21a0c3b4
authored
Mar 15, 2005
by
Jakob Eriksson
Committed by
Alexandre Julliard
Mar 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CryptAcquireContextA() can return NTE_FAIL on Windows 98.
parent
b4e5e049
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
crypt.c
dlls/advapi32/tests/crypt.c
+2
-2
No files found.
dlls/advapi32/tests/crypt.c
View file @
21a0c3b4
...
...
@@ -138,7 +138,7 @@ static void test_acquire_context(void)
hProv
=
0
;
SetLastError
(
0xdeadbeef
);
result
=
pCryptAcquireContextA
(
&
hProv
,
szKeySet
,
szRsaBaseProv
,
PROV_RSA_FULL
,
0
);
ok
(
result
&&
(
GetLastError
()
==
ERROR_ENVVAR_NOT_FOUND
||
GetLastError
()
==
ERROR_SUCCESS
||
GetLastError
()
==
ERROR_RING2_STACK_IN_USE
),
"%d/%ld
\n
"
,
result
,
GetLastError
());
ok
(
result
&&
(
GetLastError
()
==
ERROR_ENVVAR_NOT_FOUND
||
GetLastError
()
==
ERROR_SUCCESS
||
GetLastError
()
==
ERROR_RING2_STACK_IN_USE
||
GetLastError
()
==
NTE_FAIL
),
"%d/%ld
\n
"
,
result
,
GetLastError
());
if
(
hProv
)
pCryptReleaseContext
(
hProv
,
0
);
...
...
@@ -147,7 +147,7 @@ static void test_acquire_context(void)
hProv
=
0
;
SetLastError
(
0xdeadbeef
);
result
=
pCryptAcquireContextA
(
&
hProv
,
szKeySet
,
""
,
PROV_RSA_FULL
,
0
);
ok
(
result
&&
(
GetLastError
()
==
ERROR_ENVVAR_NOT_FOUND
||
GetLastError
()
==
ERROR_SUCCESS
||
GetLastError
()
==
ERROR_RING2_STACK_IN_USE
),
"%d/%ld
\n
"
,
result
,
GetLastError
());
ok
(
result
&&
(
GetLastError
()
==
ERROR_ENVVAR_NOT_FOUND
||
GetLastError
()
==
ERROR_SUCCESS
||
GetLastError
()
==
ERROR_RING2_STACK_IN_USE
||
GetLastError
()
==
NTE_FAIL
),
"%d/%ld
\n
"
,
result
,
GetLastError
());
if
(
hProv
)
pCryptReleaseContext
(
hProv
,
0
);
...
...
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