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
e098f427
Commit
e098f427
authored
Jan 19, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Clean up temp files after test.
parent
bf2e1f08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
crypt.c
dlls/wintrust/tests/crypt.c
+6
-3
No files found.
dlls/wintrust/tests/crypt.c
View file @
e098f427
...
@@ -605,15 +605,17 @@ static void test_catalog_properties(CHAR *catfile, int attributes, int members)
...
@@ -605,15 +605,17 @@ static void test_catalog_properties(CHAR *catfile, int attributes, int members)
attributes
=
2
;
attributes
=
2
;
members
=
1
;
members
=
1
;
MultiByteToWideChar
(
CP_ACP
,
0
,
catalog
,
-
1
,
catalogW
,
MAX_PATH
);
}
}
else
else
strcpy
(
catalog
,
catfile
);
{
MultiByteToWideChar
(
CP_ACP
,
0
,
catfile
,
-
1
,
catalogW
,
MAX_PATH
);
catalog
[
0
]
=
0
;
}
hcat
=
pCryptCATOpen
(
NULL
,
0
,
0
,
0
,
0
);
hcat
=
pCryptCATOpen
(
NULL
,
0
,
0
,
0
,
0
);
ok
(
hcat
==
INVALID_HANDLE_VALUE
,
"CryptCATOpen succeeded
\n
"
);
ok
(
hcat
==
INVALID_HANDLE_VALUE
,
"CryptCATOpen succeeded
\n
"
);
MultiByteToWideChar
(
CP_ACP
,
0
,
catalog
,
-
1
,
catalogW
,
MAX_PATH
);
hcat
=
pCryptCATOpen
(
catalogW
,
0
,
0
,
0
,
0
);
hcat
=
pCryptCATOpen
(
catalogW
,
0
,
0
,
0
,
0
);
ok
(
hcat
!=
INVALID_HANDLE_VALUE
,
"CryptCATOpen failed %u
\n
"
,
GetLastError
());
ok
(
hcat
!=
INVALID_HANDLE_VALUE
,
"CryptCATOpen failed %u
\n
"
,
GetLastError
());
...
@@ -658,6 +660,7 @@ static void test_catalog_properties(CHAR *catfile, int attributes, int members)
...
@@ -658,6 +660,7 @@ static void test_catalog_properties(CHAR *catfile, int attributes, int members)
ret
=
pCryptCATClose
(
hcat
);
ret
=
pCryptCATClose
(
hcat
);
ok
(
ret
,
"CryptCATClose failed
\n
"
);
ok
(
ret
,
"CryptCATClose failed
\n
"
);
if
(
catalog
[
0
])
DeleteFileA
(
catalog
);
}
}
static
void
test_create_catalog_file
(
void
)
static
void
test_create_catalog_file
(
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