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
052238d0
Commit
052238d0
authored
Oct 16, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Oct 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Make some variables const.
parent
fa577032
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
chain.c
dlls/crypt32/tests/chain.c
+4
-4
No files found.
dlls/crypt32/tests/chain.c
View file @
052238d0
...
...
@@ -1660,7 +1660,7 @@ typedef struct _ChainPolicyCheck
DWORD
todo
;
}
ChainPolicyCheck
;
static
ChainPolicyCheck
basePolicyCheck
[]
=
{
static
const
ChainPolicyCheck
basePolicyCheck
[]
=
{
{
{
sizeof
(
chain0
)
/
sizeof
(
chain0
[
0
]),
chain0
},
{
0
,
CERT_E_UNTRUSTEDROOT
,
0
,
1
,
NULL
},
0
},
{
{
sizeof
(
chain1
)
/
sizeof
(
chain1
[
0
]),
chain1
},
...
...
@@ -1691,7 +1691,7 @@ static ChainPolicyCheck basePolicyCheck[] = {
{
0
,
CERT_E_UNTRUSTEDROOT
,
0
,
0
,
NULL
},
0
},
};
static
ChainPolicyCheck
authenticodePolicyCheck
[]
=
{
static
const
ChainPolicyCheck
authenticodePolicyCheck
[]
=
{
{
{
sizeof
(
chain0
)
/
sizeof
(
chain0
[
0
]),
chain0
},
{
0
,
CERT_E_UNTRUSTEDROOT
,
0
,
1
,
NULL
},
0
},
{
{
sizeof
(
chain1
)
/
sizeof
(
chain1
[
0
]),
chain1
},
...
...
@@ -1722,7 +1722,7 @@ static ChainPolicyCheck authenticodePolicyCheck[] = {
{
0
,
CERT_E_UNTRUSTEDROOT
,
0
,
0
,
NULL
},
0
},
};
static
ChainPolicyCheck
basicConstraintsPolicyCheck
[]
=
{
static
const
ChainPolicyCheck
basicConstraintsPolicyCheck
[]
=
{
{
{
sizeof
(
chain0
)
/
sizeof
(
chain0
[
0
]),
chain0
},
{
0
,
0
,
-
1
,
-
1
,
NULL
},
0
},
{
{
sizeof
(
chain1
)
/
sizeof
(
chain1
[
0
]),
chain1
},
...
...
@@ -1762,7 +1762,7 @@ static const char *num_to_str(WORD num)
return
buf
;
}
static
void
checkChainPolicyStatus
(
LPCSTR
policy
,
ChainPolicyCheck
*
check
,
static
void
checkChainPolicyStatus
(
LPCSTR
policy
,
const
ChainPolicyCheck
*
check
,
DWORD
testIndex
)
{
PCCERT_CHAIN_CONTEXT
chain
=
getChain
(
&
check
->
certs
,
0
,
TRUE
,
&
oct2007
,
...
...
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