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
26d565ac
Commit
26d565ac
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 NT4 and below.
parent
c3072bca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+6
-1
No files found.
dlls/rsaenh/tests/rsaenh.c
View file @
26d565ac
...
...
@@ -1775,8 +1775,13 @@ static void test_enum_container(void)
/* If PP_ENUMCONTAINERS is queried with CRYPT_FIRST and abData == NULL, it returns
* the maximum legal length of container names (which is MAX_PATH + 1 == 261) */
SetLastError
(
0xdeadbeef
);
result
=
CryptGetProvParam
(
hProv
,
PP_ENUMCONTAINERS
,
NULL
,
&
dwBufferLen
,
CRYPT_FIRST
);
ok
(
result
&&
dwBufferLen
==
MAX_PATH
+
1
,
"%08x
\n
"
,
GetLastError
());
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
ok
(
dwBufferLen
==
MAX_PATH
+
1
||
broken
(
dwBufferLen
==
10
)
||
/* Win9x, WinMe */
broken
(
dwBufferLen
==
55
),
/* NT4 */
"Expected dwBufferLen to be (MAX_PATH + 1), it was : %d
\n
"
,
dwBufferLen
);
/* If the result fits into abContainerName dwBufferLen is left untouched */
dwBufferLen
=
(
DWORD
)
sizeof
(
abContainerName
);
...
...
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