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
a6715f85
Commit
a6715f85
authored
Jul 27, 2008
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jul 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Fix test on win9x (CreateFileW not implemented).
parent
5437f4ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sip.c
dlls/crypt32/tests/sip.c
+5
-2
No files found.
dlls/crypt32/tests/sip.c
View file @
a6715f85
...
...
@@ -267,7 +267,9 @@ static void test_SIPRetrieveSubjectGUID(void)
DeleteFileA
(
tempfile
);
/* Create a .cab file */
file
=
CreateFileW
(
tempfileW
,
GENERIC_WRITE
,
0
,
NULL
,
CREATE_NEW
,
0
,
NULL
);
SetLastError
(
0xdeadbeef
);
file
=
CreateFileA
(
tempfile
,
GENERIC_WRITE
,
0
,
NULL
,
CREATE_NEW
,
0
,
NULL
);
ok
(
file
!=
INVALID_HANDLE_VALUE
,
"failed with %u
\n
"
,
GetLastError
());
WriteFile
(
file
,
cabFileData
,
sizeof
(
cabFileData
),
&
written
,
NULL
);
CloseHandle
(
file
);
...
...
@@ -278,8 +280,9 @@ static void test_SIPRetrieveSubjectGUID(void)
GetLastError
(),
GetLastError
()
);
ok
(
!
memcmp
(
&
subject
,
&
cabGUID
,
sizeof
(
GUID
)),
"Expected GUID %s for cabinet file, not %s
\n
"
,
show_guid
(
&
cabGUID
,
guid1
),
show_guid
(
&
subject
,
guid2
));
/* Clean up */
DeleteFile
W
(
tempfileW
);
DeleteFile
A
(
tempfile
);
}
static
void
test_SIPLoad
(
void
)
...
...
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