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
aaf285c1
Commit
aaf285c1
authored
Aug 17, 2010
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Constify some variables.
parent
c3f9a4c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
msg.c
dlls/crypt32/msg.c
+5
-5
No files found.
dlls/crypt32/msg.c
View file @
aaf285c1
...
@@ -145,7 +145,7 @@ static BOOL WINAPI CRYPT_EncodeContentLength(DWORD dwCertEncodingType,
...
@@ -145,7 +145,7 @@ static BOOL WINAPI CRYPT_EncodeContentLength(DWORD dwCertEncodingType,
return
ret
;
return
ret
;
}
}
static
BOOL
CRYPT_EncodeDataContentInfoHeader
(
CDataEncodeMsg
*
msg
,
static
BOOL
CRYPT_EncodeDataContentInfoHeader
(
const
CDataEncodeMsg
*
msg
,
CRYPT_DATA_BLOB
*
header
)
CRYPT_DATA_BLOB
*
header
)
{
{
BOOL
ret
;
BOOL
ret
;
...
@@ -623,7 +623,7 @@ typedef struct _CMSG_SIGNED_ENCODE_INFO_WITH_CMS
...
@@ -623,7 +623,7 @@ typedef struct _CMSG_SIGNED_ENCODE_INFO_WITH_CMS
PCERT_BLOB
rgAttrCertEncoded
;
PCERT_BLOB
rgAttrCertEncoded
;
}
CMSG_SIGNED_ENCODE_INFO_WITH_CMS
,
*
PCMSG_SIGNED_ENCODE_INFO_WITH_CMS
;
}
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
)
&&
if
(
signer
->
cbSize
!=
sizeof
(
CMSG_SIGNER_ENCODE_INFO
)
&&
signer
->
cbSize
!=
sizeof
(
CMSG_SIGNER_ENCODE_INFO_WITH_CMS
))
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)
...
@@ -720,7 +720,7 @@ static BOOL CRYPT_ConstructBlob(CRYPT_DATA_BLOB *out, const CRYPT_DATA_BLOB *in)
}
}
static
BOOL
CRYPT_ConstructBlobArray
(
DWORD
*
outCBlobs
,
static
BOOL
CRYPT_ConstructBlobArray
(
DWORD
*
outCBlobs
,
PCRYPT_DATA_BLOB
*
outPBlobs
,
DWORD
cBlobs
,
const
PCRYPT_DATA_BLOB
pBlobs
)
PCRYPT_DATA_BLOB
*
outPBlobs
,
DWORD
cBlobs
,
const
CRYPT_DATA_BLOB
*
pBlobs
)
{
{
BOOL
ret
=
TRUE
;
BOOL
ret
=
TRUE
;
...
@@ -1647,7 +1647,7 @@ static BOOL CDecodeMsg_DecodeHashedContent(CDecodeMsg *msg,
...
@@ -1647,7 +1647,7 @@ static BOOL CDecodeMsg_DecodeHashedContent(CDecodeMsg *msg,
}
}
static
BOOL
CDecodeMsg_DecodeSignedContent
(
CDecodeMsg
*
msg
,
static
BOOL
CDecodeMsg_DecodeSignedContent
(
CDecodeMsg
*
msg
,
CRYPT_DER_BLOB
*
blob
)
const
CRYPT_DER_BLOB
*
blob
)
{
{
BOOL
ret
;
BOOL
ret
;
CRYPT_SIGNED_INFO
*
signedInfo
;
CRYPT_SIGNED_INFO
*
signedInfo
;
...
@@ -1666,7 +1666,7 @@ static BOOL CDecodeMsg_DecodeSignedContent(CDecodeMsg *msg,
...
@@ -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
* 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.
* 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
)
DWORD
type
)
{
{
BOOL
ret
;
BOOL
ret
;
...
...
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