Commit bf1a43e6 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

wintrust/tests: Constify some character strings.

parent 86f3f622
...@@ -489,7 +489,7 @@ static void test_CryptCATCDF_params(void) ...@@ -489,7 +489,7 @@ static void test_CryptCATCDF_params(void)
static void test_CryptCATAdminAddRemoveCatalog(void) static void test_CryptCATAdminAddRemoveCatalog(void)
{ {
static WCHAR basenameW[] = {'w','i','n','e','t','e','s','t','.','c','a','t',0}; 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; HCATADMIN hcatadmin;
HCATINFO hcatinfo; HCATINFO hcatinfo;
CATALOG_INFO info; CATALOG_INFO info;
...@@ -645,7 +645,7 @@ cleanup: ...@@ -645,7 +645,7 @@ cleanup:
DeleteFileA(tmpfile); 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}}; 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) ...@@ -738,8 +738,8 @@ static void test_catalog_properties(CHAR *catfile, int attributes, int members)
static void test_create_catalog_file(void) static void test_create_catalog_file(void)
{ {
static CHAR catfileA[] = "winetest.cat"; static const char catfileA[] = "winetest.cat";
static CHAR cdffileA[] = "winetest.cdf"; static const char cdffileA[] = "winetest.cdf";
static WCHAR cdffileW[] = {'w','i','n','e','t','e','s','t','.','c','d','f',0}; static WCHAR cdffileW[] = {'w','i','n','e','t','e','s','t','.','c','d','f',0};
CRYPTCATCDF *catcdf; CRYPTCATCDF *catcdf;
CRYPTCATATTRIBUTE *catattr; CRYPTCATATTRIBUTE *catattr;
...@@ -879,8 +879,8 @@ static void create_cdf_file(const CHAR *filename, const CHAR *contents) ...@@ -879,8 +879,8 @@ static void create_cdf_file(const CHAR *filename, const CHAR *contents)
static void test_cdf_parsing(void) static void test_cdf_parsing(void)
{ {
static CHAR catfileA[] = "tempfile.cat"; static const char catfileA[] = "tempfile.cat";
static CHAR cdffileA[] = "tempfile.cdf"; static const char cdffileA[] = "tempfile.cdf";
static WCHAR cdffileW[] = {'t','e','m','p','f','i','l','e','.','c','d','f',0}; static WCHAR cdffileW[] = {'t','e','m','p','f','i','l','e','.','c','d','f',0};
CHAR cdf_contents[4096]; CHAR cdf_contents[4096];
CRYPTCATCDF *catcdf; CRYPTCATCDF *catcdf;
...@@ -1203,7 +1203,7 @@ static IMAGE_NT_HEADERS nt_header = ...@@ -1203,7 +1203,7 @@ static IMAGE_NT_HEADERS nt_header =
static void test_sip(void) 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; SIP_SUBJECTINFO info;
DWORD index, encoding, size; DWORD index, encoding, size;
HANDLE file; HANDLE file;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment