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
83b21a6d
Commit
83b21a6d
authored
Sep 02, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix a few test failures in Vista.
parent
5512dacf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
crypt_lmhash.c
dlls/advapi32/tests/crypt_lmhash.c
+9
-5
No files found.
dlls/advapi32/tests/crypt_lmhash.c
View file @
83b21a6d
...
...
@@ -348,20 +348,24 @@ static void test_SystemFunction005(void)
out
.
Length
=
0
;
out
.
MaximumLength
=
0
;
r
=
pSystemFunction005
(
&
out
,
&
key
,
&
res
);
ok
(
r
==
STATUS_SUCCESS
,
"Expected STATUS_SUCCESS, got %08x
\n
"
,
r
);
ok
(
r
==
STATUS_SUCCESS
||
r
==
STATUS_INVALID_PARAMETER_1
,
/* Vista */
"Expected STATUS_SUCCESS or STATUS_INVALID_PARAMETER_1, got %08x
\n
"
,
r
);
ok
(
res
.
Length
==
in
.
Length
,
"Length wrong
\n
"
);
ok
(
!
memcmp
(
res
.
Buffer
,
in
.
Buffer
,
in
.
Length
),
"data wrong
\n
"
);
res
.
MaximumLength
=
0
;
r
=
pSystemFunction005
(
&
out
,
&
key
,
&
res
);
ok
(
r
==
STATUS_BUFFER_TOO_SMALL
,
"Expected STATUS_BUFFER_TOO_SMALL, got %08x
\n
"
,
r
);
ok
(
r
==
STATUS_BUFFER_TOO_SMALL
||
r
==
STATUS_INVALID_PARAMETER_1
,
/* Vista */
"Expected STATUS_BUFFER_TOO_SMALL or STATUS_INVALID_PARAMETER_1, got %08x
\n
"
,
r
);
key
.
Length
=
1
;
r
=
pSystemFunction005
(
&
out
,
&
key
,
&
res
);
ok
(
r
==
STATUS_UNKNOWN_REVISION
,
"Expected STATUS_UNKNOWN_REVISION, got %08x
\n
"
,
r
);
ok
(
r
==
STATUS_UNKNOWN_REVISION
||
r
==
STATUS_INVALID_PARAMETER_1
,
/* Vista */
"Expected STATUS_UNKNOWN_REVISION or STATUS_INVALID_PARAMETER_1, got %08x
\n
"
,
r
);
key
.
Length
=
0
;
r
=
pSystemFunction005
(
&
out
,
&
key
,
&
res
);
...
...
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