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
50ded4b2
Commit
50ded4b2
authored
Jul 12, 2014
by
Bruno Jesus
Committed by
Alexandre Julliard
Jul 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh/tests: Make the tests pass in Windows <= NT4.
parent
43871921
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+15
-0
No files found.
dlls/rsaenh/tests/rsaenh.c
View file @
50ded4b2
...
...
@@ -450,6 +450,11 @@ static void test_hashes(void)
ok
(
!
result
&&
GetLastError
()
==
NTE_BAD_FLAGS
,
"%08x
\n
"
,
GetLastError
());
result
=
CryptHashData
(
hHash
,
pbData
,
sizeof
(
pbData
),
CRYPT_USERDATA
);
if
(
!
result
&&
GetLastError
()
==
NTE_BAD_FLAGS
)
/* <= NT4 */
{
ok
(
broken
(
1
),
"Failed to support CRYPT_USERDATA flag
\n
"
);
result
=
CryptHashData
(
hHash
,
pbData
,
sizeof
(
pbData
),
0
);
}
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
len
=
sizeof
(
DWORD
);
...
...
@@ -477,6 +482,11 @@ static void test_hashes(void)
ok
(
!
result
&&
GetLastError
()
==
NTE_BAD_FLAGS
,
"%08x
\n
"
,
GetLastError
());
result
=
CryptHashData
(
hHash
,
pbData
,
sizeof
(
pbData
),
CRYPT_USERDATA
);
if
(
!
result
&&
GetLastError
()
==
NTE_BAD_FLAGS
)
/* <= NT4 */
{
ok
(
broken
(
1
),
"Failed to support CRYPT_USERDATA flag
\n
"
);
result
=
CryptHashData
(
hHash
,
pbData
,
sizeof
(
pbData
),
0
);
}
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
len
=
16
;
...
...
@@ -526,6 +536,11 @@ static void test_hashes(void)
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
result
=
CryptHashData
(
hHash
,
pbData
,
5
,
CRYPT_USERDATA
);
if
(
!
result
&&
GetLastError
()
==
NTE_BAD_FLAGS
)
/* <= NT4 */
{
ok
(
broken
(
1
),
"Failed to support CRYPT_USERDATA flag
\n
"
);
result
=
CryptHashData
(
hHash
,
pbData
,
5
,
0
);
}
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
if
(
pCryptDuplicateHash
)
{
...
...
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