Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asn1c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qwebaby3
asn1c
Commits
77995ef8
Commit
77995ef8
authored
20 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
api changes reflected
parent
1f756280
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
asn1c/unber.c
+4
-4
4 additions, 4 deletions
asn1c/unber.c
with
4 additions
and
4 deletions
asn1c/unber.c
+
4
−
4
View file @
77995ef8
...
...
@@ -369,10 +369,10 @@ print_TL(int fin, int level, int constr, ssize_t tlen, ber_tlv_tag_t tlv_tag, be
*/
static
int
print_V
(
const
char
*
fname
,
FILE
*
fp
,
ber_tlv_tag_t
tlv_tag
,
ber_tlv_len_t
tlv_len
)
{
asn1_integer_t
*
arcs
=
0
;
/* Object identifier arcs */
asn1
c
_integer_t
*
arcs
=
0
;
/* Object identifier arcs */
unsigned
char
*
vbuf
=
0
;
asn1p_expr_type_e
etype
=
0
;
asn1_integer_t
collector
=
0
;
asn1
c
_integer_t
collector
=
0
;
int
special_format
=
0
;
ssize_t
i
;
...
...
@@ -683,5 +683,5 @@ decode_tlv_from_string(const char *datastring) {
/*
* Dummy functions.
*/
ber_dec_rval_t
ber_check_tags
(
asn
1
_TYPE_descriptor_t
*
td
,
ber_dec
_ctx_t
*
opt_ctx
,
void
*
ptr
,
size_t
size
,
int
tag_mode
,
int
last_tag_form
,
ber_tlv_len_t
*
last_length
,
int
*
opt_tlv_form
)
{
ber_dec_rval_t
rv
;
(
void
)
td
;
(
void
)
opt_ctx
;
(
void
)
ptr
;
(
void
)
size
;
(
void
)
tag_mode
;
(
void
)
last_tag_form
;
(
void
)
last_length
;
(
void
)
opt_tlv_form
;
return
rv
;
}
ssize_t
der_write_tags
(
asn
1
_TYPE_descriptor_t
*
td
,
size_t
slen
,
int
tag_mode
,
int
last_tag_form
,
ber_tlv_tag_t
tag
,
asn_app_consume_bytes_f
*
cb
,
void
*
app_key
)
{
(
void
)
td
;
(
void
)
slen
;
(
void
)
tag_mode
;
(
void
)
last_tag_form
;
(
void
)
tag
;
(
void
)
cb
;
(
void
)
app_key
;
return
-
1
;
}
ber_dec_rval_t
ber_check_tags
(
asn
_codec_ctx_t
*
opt_codec_ctx
,
asn
_TYPE_descriptor_t
*
td
,
asn_struct
_ctx_t
*
opt_ctx
,
void
*
ptr
,
size_t
size
,
int
tag_mode
,
int
last_tag_form
,
ber_tlv_len_t
*
last_length
,
int
*
opt_tlv_form
)
{
ber_dec_rval_t
rv
;
(
void
)
opt_codec_ctx
;
(
void
)
td
;
(
void
)
opt_ctx
;
(
void
)
ptr
;
(
void
)
size
;
(
void
)
tag_mode
;
(
void
)
last_tag_form
;
(
void
)
last_length
;
(
void
)
opt_tlv_form
;
return
rv
;
}
ssize_t
der_write_tags
(
asn_TYPE_descriptor_t
*
td
,
size_t
slen
,
int
tag_mode
,
int
last_tag_form
,
ber_tlv_tag_t
tag
,
asn_app_consume_bytes_f
*
cb
,
void
*
app_key
)
{
(
void
)
td
;
(
void
)
slen
;
(
void
)
tag_mode
;
(
void
)
last_tag_form
;
(
void
)
tag
;
(
void
)
cb
;
(
void
)
app_key
;
return
-
1
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment