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
bdc309b9
Commit
bdc309b9
authored
Jan 31, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Disable a test that crashes on 64-bit Windows 10.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9629bb6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
crypt.c
dlls/wintrust/tests/crypt.c
+9
-7
No files found.
dlls/wintrust/tests/crypt.c
View file @
bdc309b9
...
@@ -203,17 +203,11 @@ static void test_context(void)
...
@@ -203,17 +203,11 @@ static void test_context(void)
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
/* NULL GUID */
/* NULL GUID */
if
(
0
)
{
/* crashes on 64-bit win10 */
ret
=
pCryptCATAdminAcquireContext
(
&
hca
,
NULL
,
0
);
ret
=
pCryptCATAdminAcquireContext
(
&
hca
,
NULL
,
0
);
ok
(
ret
,
"Expected success, got FALSE with %d
\n
"
,
GetLastError
());
ok
(
ret
,
"Expected success, got FALSE with %d
\n
"
,
GetLastError
());
ok
(
hca
!=
NULL
,
"Expected a context handle, got NULL
\n
"
);
ok
(
hca
!=
NULL
,
"Expected a context handle, got NULL
\n
"
);
/* All NULL */
SetLastError
(
0xdeadbeef
);
ret
=
pCryptCATAdminReleaseContext
(
NULL
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
/* Proper release */
/* Proper release */
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ret
=
pCryptCATAdminReleaseContext
(
hca
,
0
);
ret
=
pCryptCATAdminReleaseContext
(
hca
,
0
);
...
@@ -225,6 +219,14 @@ static void test_context(void)
...
@@ -225,6 +219,14 @@ static void test_context(void)
ok
(
!
ret
,
"Expected failure
\n
"
);
ok
(
!
ret
,
"Expected failure
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
}
/* All NULL */
SetLastError
(
0xdeadbeef
);
ret
=
pCryptCATAdminReleaseContext
(
NULL
,
0
);
ok
(
!
ret
,
"Expected failure
\n
"
);
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
,
"Expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
/* NULL context handle and dummy GUID */
/* NULL context handle and dummy GUID */
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
...
...
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