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
15b7112d
Commit
15b7112d
authored
Feb 11, 2019
by
Andrey Gusev
Committed by
Alexandre Julliard
Feb 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Remove duplicate condition in CRYPT_AsnDecodeNameValueInternal().
Signed-off-by:
Andrey Gusev
<
andrey.goosev@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
57dd5948
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
decode.c
dlls/crypt32/decode.c
+6
-9
No files found.
dlls/crypt32/decode.c
View file @
15b7112d
...
...
@@ -1588,15 +1588,12 @@ static BOOL CRYPT_AsnDecodeNameValueInternal(const BYTE *pbEncoded,
case
ASN_VISIBLESTRING
:
case
ASN_GENERALSTRING
:
value
->
Value
.
cbData
=
dataLen
;
if
(
dataLen
)
{
if
(
!
(
dwFlags
&
CRYPT_DECODE_NOCOPY_FLAG
))
memcpy
(
value
->
Value
.
pbData
,
pbEncoded
+
1
+
lenBytes
,
dataLen
);
else
value
->
Value
.
pbData
=
(
LPBYTE
)
pbEncoded
+
1
+
lenBytes
;
}
if
(
!
(
dwFlags
&
CRYPT_DECODE_NOCOPY_FLAG
))
memcpy
(
value
->
Value
.
pbData
,
pbEncoded
+
1
+
lenBytes
,
dataLen
);
else
value
->
Value
.
pbData
=
(
LPBYTE
)
pbEncoded
+
1
+
lenBytes
;
break
;
case
ASN_BMPSTRING
:
{
...
...
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