Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4bdeb7dc
Commit
4bdeb7dc
authored
Aug 19, 2010
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Constify some variables.
parent
a2710974
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
object.c
dlls/crypt32/object.c
+3
-3
str.c
dlls/crypt32/str.c
+1
-1
No files found.
dlls/crypt32/object.c
View file @
4bdeb7dc
...
...
@@ -1170,7 +1170,7 @@ static const WCHAR indent[] = { ' ',' ',' ',' ',' ',0 };
static
const
WCHAR
colonCrlf
[]
=
{
':'
,
'\r'
,
'\n'
,
0
};
static
BOOL
CRYPT_FormatAltNameEntry
(
DWORD
dwFormatStrType
,
DWORD
indentLevel
,
CERT_ALT_NAME_ENTRY
*
entry
,
LPWSTR
str
,
DWORD
*
pcbStr
)
const
CERT_ALT_NAME_ENTRY
*
entry
,
LPWSTR
str
,
DWORD
*
pcbStr
)
{
BOOL
ret
;
WCHAR
buf
[
MAX_STRING_RESOURCE_LEN
];
...
...
@@ -1354,7 +1354,7 @@ static BOOL CRYPT_FormatAltNameEntry(DWORD dwFormatStrType, DWORD indentLevel,
}
static
BOOL
CRYPT_FormatAltNameInfo
(
DWORD
dwFormatStrType
,
DWORD
indentLevel
,
CERT_ALT_NAME_INFO
*
name
,
LPWSTR
str
,
DWORD
*
pcbStr
)
const
CERT_ALT_NAME_INFO
*
name
,
LPWSTR
str
,
DWORD
*
pcbStr
)
{
DWORD
i
,
size
,
bytesNeeded
=
0
;
BOOL
ret
=
TRUE
;
...
...
@@ -1437,7 +1437,7 @@ static BOOL WINAPI CRYPT_FormatAltName(DWORD dwCertEncodingType,
}
static
BOOL
CRYPT_FormatCertIssuer
(
DWORD
dwFormatStrType
,
CERT_ALT_NAME_INFO
*
issuer
,
LPWSTR
str
,
DWORD
*
pcbStr
)
const
CERT_ALT_NAME_INFO
*
issuer
,
LPWSTR
str
,
DWORD
*
pcbStr
)
{
WCHAR
buf
[
MAX_STRING_RESOURCE_LEN
];
DWORD
bytesNeeded
,
sepLen
;
...
...
dlls/crypt32/str.c
View file @
4bdeb7dc
...
...
@@ -970,7 +970,7 @@ static PCERT_ALT_NAME_ENTRY cert_find_alt_name_entry(PCCERT_CONTEXT cert,
}
static
DWORD
cert_get_name_from_rdn_attr
(
DWORD
encodingType
,
PCERT_NAME_BLOB
name
,
LPCSTR
oid
,
LPWSTR
pszNameString
,
DWORD
cchNameString
)
const
CERT_NAME_BLOB
*
name
,
LPCSTR
oid
,
LPWSTR
pszNameString
,
DWORD
cchNameString
)
{
CERT_NAME_INFO
*
nameInfo
;
DWORD
bytes
=
0
,
ret
=
0
;
...
...
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