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
426b0980
Commit
426b0980
authored
Oct 26, 2004
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LP64
parent
86859bc8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
skeletons/IA5String.c
skeletons/IA5String.c
+2
-2
skeletons/NumericString.c
skeletons/NumericString.c
+2
-2
skeletons/PrintableString.c
skeletons/PrintableString.c
+2
-2
skeletons/VisibleString.c
skeletons/VisibleString.c
+2
-2
No files found.
skeletons/IA5String.c
View file @
426b0980
...
...
@@ -48,10 +48,10 @@ IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
for
(;
buf
<
end
;
buf
++
)
{
if
(
*
buf
>
0x7F
)
{
_ASN_ERRLOG
(
app_errlog
,
app_key
,
"%s: value byte %d out of range: "
"%s: value byte %
l
d out of range: "
"%d > 127 (%s:%d)"
,
td
->
name
,
(
buf
-
st
->
buf
)
+
1
,
(
long
)((
buf
-
st
->
buf
)
+
1
)
,
*
buf
,
__FILE__
,
__LINE__
);
return
-
1
;
...
...
skeletons/NumericString.c
View file @
426b0980
...
...
@@ -54,10 +54,10 @@ NumericString_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
continue
;
}
_ASN_ERRLOG
(
app_errlog
,
app_key
,
"%s: value byte %d (%d) "
"%s: value byte %
l
d (%d) "
"not in NumericString alphabet (%s:%d)"
,
td
->
name
,
(
buf
-
st
->
buf
)
+
1
,
(
long
)((
buf
-
st
->
buf
)
+
1
)
,
*
buf
,
__FILE__
,
__LINE__
);
return
-
1
;
...
...
skeletons/PrintableString.c
View file @
426b0980
...
...
@@ -72,11 +72,11 @@ PrintableString_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
for
(;
buf
<
end
;
buf
++
)
{
if
(
!
_PrintableString_alphabet
[
*
buf
])
{
_ASN_ERRLOG
(
app_errlog
,
app_key
,
"%s: value byte %d (%d) "
"%s: value byte %
l
d (%d) "
"not in PrintableString alphabet "
"(%s:%d)"
,
td
->
name
,
(
buf
-
st
->
buf
)
+
1
,
(
long
)((
buf
-
st
->
buf
)
+
1
)
,
*
buf
,
__FILE__
,
__LINE__
);
return
-
1
;
...
...
skeletons/VisibleString.c
View file @
426b0980
...
...
@@ -51,10 +51,10 @@ VisibleString_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
for
(;
buf
<
end
;
buf
++
)
{
if
(
*
buf
<
0x20
||
*
buf
>
0x7e
)
{
_ASN_ERRLOG
(
app_errlog
,
app_key
,
"%s: value byte %d (%d) "
"%s: value byte %
l
d (%d) "
"not in VisibleString alphabet (%s:%d)"
,
td
->
name
,
(
buf
-
st
->
buf
)
+
1
,
(
long
)((
buf
-
st
->
buf
)
+
1
)
,
*
buf
,
__FILE__
,
__LINE__
);
return
-
1
;
...
...
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