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
0c54f3d0
Commit
0c54f3d0
authored
7 years ago
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more debug
parent
94fc4186
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
skeletons/constr_CHOICE_oer.c
skeletons/constr_CHOICE_oer.c
+4
-3
No files found.
skeletons/constr_CHOICE_oer.c
View file @
0c54f3d0
...
...
@@ -85,8 +85,6 @@ oer_fetch_tag(const void *ptr, size_t size, ber_tlv_tag_t *tag_r) {
if
((
val
&
0x3F
)
!=
0x3F
)
{
/* #8.7.1 */
*
tag_r
=
((
val
&
0x3F
)
<<
2
)
|
tclass
;
fprintf
(
stderr
,
"byte %02x, tag_r = %d, %s"
,
*
(
const
uint8_t
*
)
ptr
,
*
tag_r
,
ber_tlv_tag_string
(
*
tag_r
));
return
1
;
}
...
...
@@ -198,6 +196,7 @@ CHOICE_decode_oer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
RETURN
(
RC_FAIL
);
}
else
{
/* Skip open type extension */
ASN_DEBUG
(
"Not implemented skipping open type extension"
);
RETURN
(
RC_FAIL
);
}
}
while
(
0
);
...
...
@@ -230,8 +229,10 @@ CHOICE_decode_oer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
/* Set presence to be able to free it properly at any time */
(
void
)
CHOICE_variant_set_presence
(
td
,
st
,
ctx
->
step
+
1
);
if
(
specs
->
ext_start
<=
ctx
->
step
)
{
if
(
specs
->
ext_start
>=
0
&&
specs
->
ext_start
<=
ctx
->
step
)
{
/* We're in the extensions group. #20.2 requires Open Type */
ASN_DEBUG
(
"Not implemented %s es=%d, edx=%u at %s:%d"
,
td
->
name
,
specs
->
ext_start
,
ctx
->
step
,
__FILE__
,
__LINE__
);
RETURN
(
RC_FAIL
);
}
...
...
This diff is collapsed.
Click to expand it.
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