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
bf1a43e6
Commit
bf1a43e6
authored
Jan 02, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jan 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust/tests: Constify some character strings.
parent
86f3f622
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
crypt.c
dlls/wintrust/tests/crypt.c
+7
-7
No files found.
dlls/wintrust/tests/crypt.c
View file @
bf1a43e6
...
...
@@ -489,7 +489,7 @@ static void test_CryptCATCDF_params(void)
static
void
test_CryptCATAdminAddRemoveCatalog
(
void
)
{
static
WCHAR
basenameW
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
't'
,
'e'
,
's'
,
't'
,
'.'
,
'c'
,
'a'
,
't'
,
0
};
static
CHAR
basename
[]
=
"winetest.cat"
;
static
const
char
basename
[]
=
"winetest.cat"
;
HCATADMIN
hcatadmin
;
HCATINFO
hcatinfo
;
CATALOG_INFO
info
;
...
...
@@ -645,7 +645,7 @@ cleanup:
DeleteFileA
(
tmpfile
);
}
static
void
test_catalog_properties
(
CHAR
*
catfile
,
int
attributes
,
int
members
)
static
void
test_catalog_properties
(
const
char
*
catfile
,
int
attributes
,
int
members
)
{
static
const
GUID
subject
=
{
0xde351a42
,
0x8e59
,
0x11d0
,{
0x8c
,
0x47
,
0x00
,
0xc0
,
0x4f
,
0xc2
,
0x95
,
0xee
}};
...
...
@@ -738,8 +738,8 @@ static void test_catalog_properties(CHAR *catfile, int attributes, int members)
static
void
test_create_catalog_file
(
void
)
{
static
CHAR
catfileA
[]
=
"winetest.cat"
;
static
CHAR
cdffileA
[]
=
"winetest.cdf"
;
static
const
char
catfileA
[]
=
"winetest.cat"
;
static
const
char
cdffileA
[]
=
"winetest.cdf"
;
static
WCHAR
cdffileW
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
't'
,
'e'
,
's'
,
't'
,
'.'
,
'c'
,
'd'
,
'f'
,
0
};
CRYPTCATCDF
*
catcdf
;
CRYPTCATATTRIBUTE
*
catattr
;
...
...
@@ -879,8 +879,8 @@ static void create_cdf_file(const CHAR *filename, const CHAR *contents)
static
void
test_cdf_parsing
(
void
)
{
static
CHAR
catfileA
[]
=
"tempfile.cat"
;
static
CHAR
cdffileA
[]
=
"tempfile.cdf"
;
static
const
char
catfileA
[]
=
"tempfile.cat"
;
static
const
char
cdffileA
[]
=
"tempfile.cdf"
;
static
WCHAR
cdffileW
[]
=
{
't'
,
'e'
,
'm'
,
'p'
,
'f'
,
'i'
,
'l'
,
'e'
,
'.'
,
'c'
,
'd'
,
'f'
,
0
};
CHAR
cdf_contents
[
4096
];
CRYPTCATCDF
*
catcdf
;
...
...
@@ -1203,7 +1203,7 @@ static IMAGE_NT_HEADERS nt_header =
static
void
test_sip
(
void
)
{
static
WCHAR
nameW
[]
=
{
't'
,
'e'
,
's'
,
't'
,
'.'
,
'e'
,
'x'
,
'e'
,
0
};
static
const
WCHAR
nameW
[]
=
{
't'
,
'e'
,
's'
,
't'
,
'.'
,
'e'
,
'x'
,
'e'
,
0
};
SIP_SUBJECTINFO
info
;
DWORD
index
,
encoding
,
size
;
HANDLE
file
;
...
...
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