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
8ccd53dd
Commit
8ccd53dd
authored
Sep 09, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Sep 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Get rid of a magic number and a redundant assignment.
parent
e4a06338
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
decode.c
dlls/crypt32/decode.c
+1
-2
No files found.
dlls/crypt32/decode.c
View file @
8ccd53dd
...
...
@@ -2586,7 +2586,7 @@ static BOOL CRYPT_AsnDecodeAltNameEntry(const BYTE *pbEncoded, DWORD cbEncoded,
{
*
pcbStructInfo
=
bytesNeeded
;
/* MS used values one greater than the asn1 ones.. sigh */
entry
->
dwAltNameChoice
=
(
pbEncoded
[
0
]
&
0x7f
)
+
1
;
entry
->
dwAltNameChoice
=
(
pbEncoded
[
0
]
&
ASN_TYPE_MASK
)
+
1
;
switch
(
pbEncoded
[
0
]
&
ASN_TYPE_MASK
)
{
case
1
:
/* rfc822Name */
...
...
@@ -2604,7 +2604,6 @@ static BOOL CRYPT_AsnDecodeAltNameEntry(const BYTE *pbEncoded, DWORD cbEncoded,
break
;
}
case
4
:
/* directoryName */
entry
->
dwAltNameChoice
=
CERT_ALT_NAME_DIRECTORY_NAME
;
/* The data are memory-equivalent with the IPAddress case,
* fall-through
*/
...
...
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