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
465a583f
Commit
465a583f
authored
Jun 12, 2009
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Constify some variables.
parent
0c01b71a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
context.c
dlls/crypt32/context.c
+2
-2
crypt32_private.h
dlls/crypt32/crypt32_private.h
+1
-1
encode.c
dlls/crypt32/encode.c
+3
-3
No files found.
dlls/crypt32/context.c
View file @
465a583f
...
...
@@ -201,7 +201,7 @@ struct ContextList *ContextList_Create(
return
list
;
}
static
inline
struct
list
*
ContextList_ContextToEntry
(
struct
ContextList
*
list
,
static
inline
struct
list
*
ContextList_ContextToEntry
(
const
struct
ContextList
*
list
,
const
void
*
context
)
{
struct
list
*
ret
;
...
...
@@ -213,7 +213,7 @@ static inline struct list *ContextList_ContextToEntry(struct ContextList *list,
return
ret
;
}
static
inline
void
*
ContextList_EntryToContext
(
struct
ContextList
*
list
,
static
inline
void
*
ContextList_EntryToContext
(
const
struct
ContextList
*
list
,
struct
list
*
entry
)
{
return
(
LPBYTE
)
entry
-
sizeof
(
LINK_CONTEXT
)
-
list
->
contextSize
;
...
...
dlls/crypt32/crypt32_private.h
View file @
465a583f
...
...
@@ -79,7 +79,7 @@ typedef struct _CRYPT_DIGESTED_DATA
CRYPT_HASH_BLOB
hash
;
}
CRYPT_DIGESTED_DATA
;
BOOL
CRYPT_AsnEncodePKCSDigestedData
(
CRYPT_DIGESTED_DATA
*
digestedData
,
BOOL
CRYPT_AsnEncodePKCSDigestedData
(
const
CRYPT_DIGESTED_DATA
*
digestedData
,
void
*
pvData
,
DWORD
*
pcbData
);
typedef
struct
_CRYPT_SIGNED_INFO
...
...
dlls/crypt32/encode.c
View file @
465a583f
...
...
@@ -1078,7 +1078,7 @@ static BOOL WINAPI CRYPT_AsnEncodeNameValue(DWORD dwCertEncodingType,
}
static
BOOL
CRYPT_AsnEncodeRdnAttr
(
DWORD
dwCertEncodingType
,
CERT_RDN_ATTR
*
attr
,
CryptEncodeObjectExFunc
nameValueEncodeFunc
,
const
CERT_RDN_ATTR
*
attr
,
CryptEncodeObjectExFunc
nameValueEncodeFunc
,
BYTE
*
pbEncoded
,
DWORD
*
pcbEncoded
)
{
DWORD
bytesNeeded
=
0
,
lenBytes
,
size
;
...
...
@@ -1268,7 +1268,7 @@ static BOOL WINAPI CRYPT_DEREncodeItemsAsSet(DWORD dwCertEncodingType,
return
ret
;
}
static
BOOL
CRYPT_AsnEncodeRdn
(
DWORD
dwCertEncodingType
,
CERT_RDN
*
rdn
,
static
BOOL
CRYPT_AsnEncodeRdn
(
DWORD
dwCertEncodingType
,
const
CERT_RDN
*
rdn
,
CryptEncodeObjectExFunc
nameValueEncodeFunc
,
BYTE
*
pbEncoded
,
DWORD
*
pcbEncoded
)
{
...
...
@@ -1881,7 +1881,7 @@ static BOOL WINAPI CRYPT_AsnEncodePKCSContentInfoInternal(
cItem
,
dwFlags
,
pEncodePara
,
pbEncoded
,
pcbEncoded
);
}
BOOL
CRYPT_AsnEncodePKCSDigestedData
(
CRYPT_DIGESTED_DATA
*
digestedData
,
BOOL
CRYPT_AsnEncodePKCSDigestedData
(
const
CRYPT_DIGESTED_DATA
*
digestedData
,
void
*
pvData
,
DWORD
*
pcbData
)
{
struct
AsnEncodeSequenceItem
items
[]
=
{
...
...
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