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
d474fa6a
Commit
d474fa6a
authored
Apr 07, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh/tests: Run tests again on Windows 95.
parent
9a787f70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+9
-3
No files found.
dlls/rsaenh/tests/rsaenh.c
View file @
d474fa6a
...
...
@@ -465,7 +465,7 @@ static void test_hashes(void)
ok
(
!
result
&&
GetLastError
()
==
NTE_BAD_ALGID
,
"expected NTE_BAD_ALGID, got %08x
\n
"
,
GetLastError
());
result
=
CryptAcquireContext
W
(
&
prov
,
NULL
,
MS_ENHANCED_PROV_W
,
PROV_RSA_FULL
,
CRYPT_VERIFYCONTEXT
);
result
=
CryptAcquireContext
A
(
&
prov
,
NULL
,
szProvider
,
PROV_RSA_FULL
,
CRYPT_VERIFYCONTEXT
);
ok
(
result
,
"CryptAcquireContext failed 0x%08x
\n
"
,
GetLastError
());
result
=
CryptCreateHash
(
prov
,
CALG_SHA1
,
0
,
0
,
&
hHash
);
...
...
@@ -487,7 +487,13 @@ static void test_hashes(void)
ok
(
!
result
,
"CryptDestroyHash succeeded
\n
"
);
ok
(
error
==
ERROR_INVALID_PARAMETER
,
"expected ERROR_INVALID_PARAMETER got %u
\n
"
,
error
);
result
=
CryptAcquireContextW
(
&
prov
,
NULL
,
MS_ENHANCED_PROV_W
,
PROV_RSA_FULL
,
CRYPT_VERIFYCONTEXT
);
if
(
!
pCryptDuplicateHash
)
{
win_skip
(
"CryptDuplicateHash is not available
\n
"
);
return
;
}
result
=
CryptAcquireContextA
(
&
prov
,
NULL
,
szProvider
,
PROV_RSA_FULL
,
CRYPT_VERIFYCONTEXT
);
ok
(
result
,
"CryptAcquireContext failed 0x%08x
\n
"
,
GetLastError
());
result
=
CryptCreateHash
(
hProv
,
CALG_SHA1
,
0
,
0
,
&
hHash
);
...
...
@@ -496,7 +502,7 @@ static void test_hashes(void)
result
=
CryptHashData
(
hHash
,
(
const
BYTE
*
)
"data"
,
sizeof
(
"data"
),
0
);
ok
(
result
,
"CryptHashData failed 0x%08x
\n
"
,
GetLastError
());
result
=
CryptDuplicateHash
(
hHash
,
NULL
,
0
,
&
hHashClone
);
result
=
p
CryptDuplicateHash
(
hHash
,
NULL
,
0
,
&
hHashClone
);
ok
(
result
,
"CryptDuplicateHash failed 0x%08x
\n
"
,
GetLastError
());
len
=
20
;
...
...
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