Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
24bf3f6a
Commit
24bf3f6a
authored
Aug 10, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warning
parent
d357f3d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
skeletons/OCTET_STRING.c
skeletons/OCTET_STRING.c
+3
-3
No files found.
skeletons/OCTET_STRING.c
View file @
24bf3f6a
...
...
@@ -127,7 +127,7 @@ asn_TYPE_descriptor_t asn_DEF_OCTET_STRING = {
struct
_stack_el
{
ber_tlv_len_t
left
;
/* What's left to read (or -1) */
ber_tlv_len_t
got
;
/* What was actually processed */
size_t
cont_level
;
/* Depth of subcontainment */
unsigned
cont_level
;
/* Depth of subcontainment */
int
want_nulls
;
/* Want null "end of content" octets? */
int
bits_chopped
;
/* Flag in BIT STRING mode */
ber_tlv_tag_t
tag
;
/* For debugging purposes */
...
...
@@ -345,7 +345,7 @@ OCTET_STRING_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
case
ASN_OSUBV_STR
:
default:
if
(
sel
)
{
size_t
level
=
sel
->
cont_level
;
unsigned
level
=
sel
->
cont_level
;
if
(
level
<
td
->
all_tags_count
)
{
expected_tag
=
td
->
all_tags
[
level
];
break
;
...
...
@@ -408,7 +408,7 @@ OCTET_STRING_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
sel
->
got
+=
tlvl
;
ADVANCE
(
tlvl
);
ASN_DEBUG
(
"+EXPECT2 got=%ld left=%ld, wn=%d, clvl=%
d
"
,
ASN_DEBUG
(
"+EXPECT2 got=%ld left=%ld, wn=%d, clvl=%
u
"
,
(
long
)
sel
->
got
,
(
long
)
sel
->
left
,
sel
->
want_nulls
,
sel
->
cont_level
);
...
...
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