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
8ae074ce
Commit
8ae074ce
authored
Nov 09, 2017
by
Bi-Ruei, Chiu
Committed by
Lev Walkin
Nov 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 'make check' error under sample.source.RRC
parent
7d5d9303
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
skeletons/asn_application.c
skeletons/asn_application.c
+1
-1
skeletons/converter-example.c
skeletons/converter-example.c
+3
-3
No files found.
skeletons/asn_application.c
View file @
8ae074ce
...
...
@@ -204,7 +204,7 @@ asn_encode_to_new_buffer(const asn_codec_ctx_t *opt_codec_ctx,
&&
(
size_t
)
res
.
result
.
encoded
!=
buf_key
.
computed_size
)
{
ASN_DEBUG
(
"asn_encode() returned %"
ASN_PRI_SSIZE
" yet produced %"
ASN_PRI_SIZE
" bytes"
,
er
.
encoded
,
buf_key
.
computed_size
);
res
.
result
.
encoded
,
buf_key
.
computed_size
);
assert
(
res
.
result
.
encoded
<
0
||
(
size_t
)
res
.
result
.
encoded
==
buf_key
.
computed_size
);
}
...
...
skeletons/converter-example.c
View file @
8ae074ce
...
...
@@ -746,13 +746,13 @@ static void add_bytes_to_buffer(const void *data2add, size_t bytes) {
static
int
is_syntax_PER
(
enum
asn_transfer_syntax
syntax
)
{
return
(
syntax
!
=
ATS_UNALIGNED_BASIC_PER
&&
syntax
!
=
ATS_UNALIGNED_CANONICAL_PER
);
return
(
syntax
=
=
ATS_UNALIGNED_BASIC_PER
||
syntax
=
=
ATS_UNALIGNED_CANONICAL_PER
);
}
static
int
restartability_supported
(
enum
asn_transfer_syntax
syntax
)
{
return
is_syntax_PER
(
syntax
);
return
!
is_syntax_PER
(
syntax
);
}
static
void
*
...
...
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