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
ef39e0ec
Commit
ef39e0ec
authored
Dec 29, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Don't open code CONTAINING_RECORD().
parent
ffea4ba5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
decode.c
dlls/crypt32/decode.c
+6
-8
No files found.
dlls/crypt32/decode.c
View file @
ef39e0ec
...
...
@@ -3731,9 +3731,8 @@ static BOOL CRYPT_AsnDecodeRequireExplicit(const BYTE *pbEncoded,
}
else
{
CERT_POLICY_CONSTRAINTS_INFO
*
info
=
(
CERT_POLICY_CONSTRAINTS_INFO
*
)((
BYTE
*
)
pvStructInfo
-
offsetof
(
CERT_POLICY_CONSTRAINTS_INFO
,
fRequireExplicitPolicy
));
CERT_POLICY_CONSTRAINTS_INFO
*
info
=
CONTAINING_RECORD
(
pvStructInfo
,
CERT_POLICY_CONSTRAINTS_INFO
,
fRequireExplicitPolicy
);
*
pcbStructInfo
=
bytesNeeded
;
/* The BOOL is implicit: if the integer is present, then it's
...
...
@@ -3779,9 +3778,8 @@ static BOOL CRYPT_AsnDecodeInhibitMapping(const BYTE *pbEncoded,
}
else
{
CERT_POLICY_CONSTRAINTS_INFO
*
info
=
(
CERT_POLICY_CONSTRAINTS_INFO
*
)((
BYTE
*
)
pvStructInfo
-
offsetof
(
CERT_POLICY_CONSTRAINTS_INFO
,
fInhibitPolicyMapping
));
CERT_POLICY_CONSTRAINTS_INFO
*
info
=
CONTAINING_RECORD
(
pvStructInfo
,
CERT_POLICY_CONSTRAINTS_INFO
,
fInhibitPolicyMapping
);
*
pcbStructInfo
=
bytesNeeded
;
/* The BOOL is implicit: if the integer is present, then it's
...
...
@@ -5107,8 +5105,8 @@ static BOOL CRYPT_AsnDecodeMaximum(const BYTE *pbEncoded,
}
else
{
CERT_GENERAL_SUBTREE
*
subtree
=
(
CERT_GENERAL_SUBTREE
*
)
((
BYTE
*
)
pvStructInfo
-
offsetof
(
CERT_GENERAL_SUBTREE
,
fMaximum
)
);
CERT_GENERAL_SUBTREE
*
subtree
=
CONTAINING_RECORD
(
pvStructInfo
,
CERT_GENERAL_SUBTREE
,
fMaximum
);
*
pcbStructInfo
=
bytesNeeded
;
/* The BOOL is implicit: if the integer is present, then it's
...
...
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