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
6a3925dd
Commit
6a3925dd
authored
Jan 25, 2019
by
Mouse
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'upstream/master' into vlm_master
parents
55bcf6fc
0906e58b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
asn1-tools/unber/libasn1_unber_tool.c
asn1-tools/unber/libasn1_unber_tool.c
+3
-2
No files found.
asn1-tools/unber/libasn1_unber_tool.c
View file @
6a3925dd
...
...
@@ -225,7 +225,7 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os,
}
if
(
!
expect_eoc
||
tagbuf
[
0
]
||
tagbuf
[
1
])
print_TL
(
os
,
0
,
ibs
->
bytesRead
(
ibs
),
level
,
constr
,
tblen
,
print_TL
(
os
,
0
,
ibs
->
bytesRead
(
ibs
)
-
tblen
,
level
,
constr
,
tblen
,
tlv_tag
,
tlv_len
,
effective_size
);
if
(
limit
!=
-
1
)
{
...
...
@@ -248,7 +248,7 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os,
if
(
expect_eoc
&&
!
tagbuf
[
0
]
&&
!
tagbuf
[
1
])
{
/* End of content octets */
print_TL
(
os
,
1
,
ibs
->
bytesRead
(
ibs
),
level
-
1
,
1
,
2
,
0
,
-
1
,
print_TL
(
os
,
1
,
ibs
->
bytesRead
(
ibs
)
-
2
,
level
-
1
,
1
,
2
,
0
,
-
1
,
effective_size
);
return
PD_FINISHED
;
}
...
...
@@ -642,6 +642,7 @@ unber_file(const char *fname) {
ifs
.
istream
.
nextChar
=
file_input_stream_nextChar
;
ifs
.
istream
.
bytesRead
=
file_input_stream_bytesRead
;
ifs
.
fp
=
fp
;
ifs
.
offset
=
0
;
struct
file_output_stream
ofs
;
ofs
.
ostream
.
vprintf
=
file_output_stream_vprintf
;
...
...
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