Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexey Alyaev
wine
Commits
aaf285c1
Commit
aaf285c1
authored
14 years ago
by
Andrew Talbot
Committed by
Alexandre Julliard
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
crypt32: Constify some variables.
parent
c3f9a4c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/crypt32/msg.c
+5
-5
5 additions, 5 deletions
dlls/crypt32/msg.c
with
5 additions
and
5 deletions
dlls/crypt32/msg.c
+
5
−
5
View file @
aaf285c1
...
...
@@ -145,7 +145,7 @@ static BOOL WINAPI CRYPT_EncodeContentLength(DWORD dwCertEncodingType,
return
ret
;
}
static
BOOL
CRYPT_EncodeDataContentInfoHeader
(
CDataEncodeMsg
*
msg
,
static
BOOL
CRYPT_EncodeDataContentInfoHeader
(
const
CDataEncodeMsg
*
msg
,
CRYPT_DATA_BLOB
*
header
)
{
BOOL
ret
;
...
...
@@ -623,7 +623,7 @@ typedef struct _CMSG_SIGNED_ENCODE_INFO_WITH_CMS
PCERT_BLOB
rgAttrCertEncoded
;
}
CMSG_SIGNED_ENCODE_INFO_WITH_CMS
,
*
PCMSG_SIGNED_ENCODE_INFO_WITH_CMS
;
static
BOOL
CRYPT_IsValidSigner
(
CMSG_SIGNER_ENCODE_INFO_WITH_CMS
*
signer
)
static
BOOL
CRYPT_IsValidSigner
(
const
CMSG_SIGNER_ENCODE_INFO_WITH_CMS
*
signer
)
{
if
(
signer
->
cbSize
!=
sizeof
(
CMSG_SIGNER_ENCODE_INFO
)
&&
signer
->
cbSize
!=
sizeof
(
CMSG_SIGNER_ENCODE_INFO_WITH_CMS
))
...
...
@@ -720,7 +720,7 @@ static BOOL CRYPT_ConstructBlob(CRYPT_DATA_BLOB *out, const CRYPT_DATA_BLOB *in)
}
static
BOOL
CRYPT_ConstructBlobArray
(
DWORD
*
outCBlobs
,
PCRYPT_DATA_BLOB
*
outPBlobs
,
DWORD
cBlobs
,
const
P
CRYPT_DATA_BLOB
pBlobs
)
PCRYPT_DATA_BLOB
*
outPBlobs
,
DWORD
cBlobs
,
const
CRYPT_DATA_BLOB
*
pBlobs
)
{
BOOL
ret
=
TRUE
;
...
...
@@ -1647,7 +1647,7 @@ static BOOL CDecodeMsg_DecodeHashedContent(CDecodeMsg *msg,
}
static
BOOL
CDecodeMsg_DecodeSignedContent
(
CDecodeMsg
*
msg
,
CRYPT_DER_BLOB
*
blob
)
const
CRYPT_DER_BLOB
*
blob
)
{
BOOL
ret
;
CRYPT_SIGNED_INFO
*
signedInfo
;
...
...
@@ -1666,7 +1666,7 @@ static BOOL CDecodeMsg_DecodeSignedContent(CDecodeMsg *msg,
* It doesn't just use msg's type, to allow a recursive call from an implicitly
* typed message once the outer content info has been decoded.
*/
static
BOOL
CDecodeMsg_DecodeContent
(
CDecodeMsg
*
msg
,
CRYPT_DER_BLOB
*
blob
,
static
BOOL
CDecodeMsg_DecodeContent
(
CDecodeMsg
*
msg
,
const
CRYPT_DER_BLOB
*
blob
,
DWORD
type
)
{
BOOL
ret
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment