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
9c672fea
Commit
9c672fea
authored
Nov 01, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Nov 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Get rid of an unneeded variable.
parent
373e9f62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
decode.c
dlls/crypt32/decode.c
+3
-5
No files found.
dlls/crypt32/decode.c
View file @
9c672fea
...
...
@@ -617,15 +617,12 @@ static BOOL CRYPT_AsnDecodeArray(const struct AsnArrayDescriptor *arrayDesc,
for
(
ptr
=
pbEncoded
+
1
+
lenBytes
;
ret
&&
!
doneDecoding
;
)
{
DWORD
itemLenBytes
;
itemLenBytes
=
GET_LEN_BYTES
(
ptr
[
1
]);
if
(
dataLen
==
CMSG_INDEFINITE_LENGTH
)
{
if
(
ptr
[
0
]
==
0
)
{
doneDecoding
=
TRUE
;
if
(
itemLenBytes
!=
1
||
ptr
[
1
]
!=
0
)
if
(
ptr
[
1
]
!=
0
)
{
SetLastError
(
CRYPT_E_ASN1_CORRUPT
);
ret
=
FALSE
;
...
...
@@ -649,7 +646,8 @@ static BOOL CRYPT_AsnDecodeArray(const struct AsnArrayDescriptor *arrayDesc,
if
(
itemDataLen
==
CMSG_INDEFINITE_LENGTH
)
itemEncoded
=
cbEncoded
-
(
ptr
-
pbEncoded
);
else
itemEncoded
=
1
+
itemLenBytes
+
itemDataLen
;
itemEncoded
=
1
+
GET_LEN_BYTES
(
ptr
[
1
])
+
itemDataLen
;
}
if
(
ret
)
ret
=
arrayDesc
->
decodeFunc
(
ptr
,
itemEncoded
,
...
...
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