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
3ad692d4
Commit
3ad692d4
authored
Dec 24, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 24, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imagehlp/tests: Constify some character strings.
parent
136549dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
integrity.c
dlls/imagehlp/tests/integrity.c
+4
-4
No files found.
dlls/imagehlp/tests/integrity.c
View file @
3ad692d4
...
...
@@ -36,7 +36,7 @@ static BOOL (WINAPI *pImageGetCertificateData)(HANDLE, DWORD, LPWIN_CERTIFICATE,
static
BOOL
(
WINAPI
*
pImageGetCertificateHeader
)(
HANDLE
,
DWORD
,
LPWIN_CERTIFICATE
);
static
BOOL
(
WINAPI
*
pImageRemoveCertificate
)(
HANDLE
,
DWORD
);
static
char
test_cert_data
[]
=
static
c
onst
c
har
test_cert_data
[]
=
{
0x30
,
0x82
,
0x02
,
0xE1
,
0x06
,
0x09
,
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
0x07
,
0x02
,
0xA0
,
0x82
,
0x02
,
0xD2
,
0x30
,
0x82
,
0x02
,
0xCE
,
0x02
,
0x01
,
0x01
,
0x31
,
0x00
,
0x30
,
0x0B
,
0x06
,
0x09
,
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
0x07
,
0x01
,
0xA0
,
0x82
,
0x02
,
0xB4
...
...
@@ -88,7 +88,7 @@ static char test_cert_data[] =
,
0x46
,
0xCA
,
0xEB
,
0xEA
,
0x67
,
0x89
,
0x49
,
0x7C
,
0x43
,
0xA2
,
0x52
,
0xD9
,
0x41
,
0xCC
,
0x65
,
0xED
,
0x2D
,
0xA1
,
0x00
,
0x31
,
0x00
};
static
char
test_cert_data_2
[]
=
{
0xDE
,
0xAD
,
0xBE
,
0xEF
,
0x01
,
0x02
,
0x03
};
static
c
onst
c
har
test_cert_data_2
[]
=
{
0xDE
,
0xAD
,
0xBE
,
0xEF
,
0x01
,
0x02
,
0x03
};
static
BOOL
copy_dll_file
(
void
)
{
...
...
@@ -135,7 +135,7 @@ static DWORD get_file_size(void)
return
filesize
;
}
static
void
test_add_certificate
(
char
*
cert_data
,
int
len
)
static
void
test_add_certificate
(
c
onst
c
har
*
cert_data
,
int
len
)
{
HANDLE
hFile
;
LPWIN_CERTIFICATE
cert
;
...
...
@@ -173,7 +173,7 @@ static void test_add_certificate(char *cert_data, int len)
CloseHandle
(
hFile
);
}
static
void
test_get_certificate
(
char
*
cert_data
,
int
index
)
static
void
test_get_certificate
(
c
onst
c
har
*
cert_data
,
int
index
)
{
HANDLE
hFile
;
LPWIN_CERTIFICATE
cert
;
...
...
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