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
54958a21
Commit
54958a21
authored
Apr 09, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rsaenh/tests: Fix some test failures on NT4 and lower.
parent
6c142387
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
rsaenh.c
dlls/rsaenh/tests/rsaenh.c
+6
-2
No files found.
dlls/rsaenh/tests/rsaenh.c
View file @
54958a21
...
@@ -1048,7 +1048,9 @@ static void test_rc2(void)
...
@@ -1048,7 +1048,9 @@ static void test_rc2(void)
dwLen
=
0
;
dwLen
=
0
;
result
=
CryptGetKeyParam
(
hKey
,
KP_SALT
,
NULL
,
&
dwLen
,
0
);
result
=
CryptGetKeyParam
(
hKey
,
KP_SALT
,
NULL
,
&
dwLen
,
0
);
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
ok
(
dwLen
==
0
,
"unexpected salt length %d
\n
"
,
dwLen
);
ok
(
dwLen
==
0
||
broken
(
dwLen
==
11
),
/* Win9x/WinMe/NT4 */
"unexpected salt length %d
\n
"
,
dwLen
);
/* What sizes salt can I set? */
/* What sizes salt can I set? */
salt
.
pbData
=
pbData
;
salt
.
pbData
=
pbData
;
for
(
i
=
0
;
i
<
24
;
i
++
)
for
(
i
=
0
;
i
<
24
;
i
++
)
...
@@ -1214,7 +1216,9 @@ static void test_rc4(void)
...
@@ -1214,7 +1216,9 @@ static void test_rc4(void)
dwLen
=
0
;
dwLen
=
0
;
result
=
CryptGetKeyParam
(
hKey
,
KP_SALT
,
NULL
,
&
dwLen
,
0
);
result
=
CryptGetKeyParam
(
hKey
,
KP_SALT
,
NULL
,
&
dwLen
,
0
);
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
ok
(
result
,
"%08x
\n
"
,
GetLastError
());
ok
(
dwLen
==
0
,
"unexpected salt length %d
\n
"
,
dwLen
);
ok
(
dwLen
==
0
||
broken
(
dwLen
==
11
),
/* Win9x/WinMe/NT4 */
"unexpected salt length %d
\n
"
,
dwLen
);
/* What sizes salt can I set? */
/* What sizes salt can I set? */
salt
.
pbData
=
pbData
;
salt
.
pbData
=
pbData
;
for
(
i
=
0
;
i
<
24
;
i
++
)
for
(
i
=
0
;
i
<
24
;
i
++
)
...
...
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