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
761f5ca1
Commit
761f5ca1
authored
Aug 15, 2010
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 16, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Constify some variables.
parent
dc064443
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
chain.c
dlls/crypt32/chain.c
+6
-6
No files found.
dlls/crypt32/chain.c
View file @
761f5ca1
...
...
@@ -1343,7 +1343,7 @@ static CERT_POLICIES_INFO *CRYPT_GetPolicies(PCCERT_CONTEXT cert)
return
policies
;
}
static
void
CRYPT_CheckPolicies
(
CERT_POLICIES_INFO
*
policies
,
CERT_INFO
*
cert
,
static
void
CRYPT_CheckPolicies
(
const
CERT_POLICIES_INFO
*
policies
,
CERT_INFO
*
cert
,
DWORD
*
errorStatus
)
{
DWORD
i
;
...
...
@@ -3001,7 +3001,7 @@ static BOOL WINAPI verify_basic_constraints_policy(LPCSTR szPolicyOID,
return
TRUE
;
}
static
BOOL
match_dns_to_subject_alt_name
(
PCERT_EXTENSION
ext
,
static
BOOL
match_dns_to_subject_alt_name
(
const
CERT_EXTENSION
*
ext
,
LPCWSTR
server_name
)
{
BOOL
matches
=
FALSE
;
...
...
@@ -3069,7 +3069,7 @@ static BOOL match_dns_to_subject_alt_name(PCERT_EXTENSION ext,
return
matches
;
}
static
BOOL
find_matching_domain_component
(
CERT_NAME_INFO
*
name
,
static
BOOL
find_matching_domain_component
(
const
CERT_NAME_INFO
*
name
,
LPCWSTR
component
)
{
BOOL
matches
=
FALSE
;
...
...
@@ -3080,7 +3080,7 @@ static BOOL find_matching_domain_component(CERT_NAME_INFO *name,
if
(
!
strcmp
(
szOID_DOMAIN_COMPONENT
,
name
->
rgRDN
[
i
].
rgRDNAttr
[
j
].
pszObjId
))
{
PCERT_RDN_ATTR
attr
;
const
CERT_RDN_ATTR
*
attr
;
attr
=
&
name
->
rgRDN
[
i
].
rgRDNAttr
[
j
];
/* Compare with memicmpW rather than strcmpiW in order to avoid
...
...
@@ -3088,7 +3088,7 @@ static BOOL find_matching_domain_component(CERT_NAME_INFO *name,
* must match one domain component attribute's entire string
* value with a case-insensitive match.
*/
matches
=
!
memicmpW
(
component
,
(
LPWSTR
)
attr
->
Value
.
pbData
,
matches
=
!
memicmpW
(
component
,
(
LP
C
WSTR
)
attr
->
Value
.
pbData
,
attr
->
Value
.
cbData
/
sizeof
(
WCHAR
));
}
return
matches
;
...
...
@@ -3149,7 +3149,7 @@ static BOOL match_domain_component(LPCWSTR allowed_component, DWORD allowed_len,
return
matches
;
}
static
BOOL
match_common_name
(
LPCWSTR
server_name
,
PCERT_RDN_ATTR
nameAttr
)
static
BOOL
match_common_name
(
LPCWSTR
server_name
,
const
CERT_RDN_ATTR
*
nameAttr
)
{
LPCWSTR
allowed
=
(
LPCWSTR
)
nameAttr
->
Value
.
pbData
;
LPCWSTR
allowed_component
=
allowed
;
...
...
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