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
d1e5494c
Commit
d1e5494c
authored
Aug 21, 2004
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proper types
parent
9bc3668e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
tests/19-param-OK.asn1.-P
tests/19-param-OK.asn1.-P
+1
-1
tests/50-constraint-OK.asn1.-P
tests/50-constraint-OK.asn1.-P
+9
-9
No files found.
tests/19-param-OK.asn1.-P
View file @
d1e5494c
...
...
@@ -240,7 +240,7 @@ static int permitted_alphabet_table_1[256] = {
static int check_permitted_alphabet_1(const void *sptr) {
int *table = permitted_alphabet_table_1;
/* The underlying type is IA5String */
const
(null)
_t *st = sptr;
const
IA5String
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
tests/50-constraint-OK.asn1.-P
View file @
d1e5494c
...
...
@@ -812,7 +812,7 @@ asn_struct_free_f Str2_free;
static int check_permitted_alphabet_1(const void *sptr) {
/* The underlying type is IA5String */
const Str
2
_t *st = sptr;
const Str
1
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
@@ -956,7 +956,7 @@ static int permitted_alphabet_table_2[256] = {
static int check_permitted_alphabet_2(const void *sptr) {
int *table = permitted_alphabet_table_2;
/* The underlying type is IA5String */
const Str
3
_t *st = sptr;
const Str
2
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
@@ -1089,7 +1089,7 @@ asn_struct_free_f PER_Visible_free;
static int check_permitted_alphabet_3(const void *sptr) {
/* The underlying type is IA5String */
const
PER_Visible
_t *st = sptr;
const
IA5String
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
@@ -1219,7 +1219,7 @@ asn_struct_free_f PER_Visible_2_free;
static int check_permitted_alphabet_4(const void *sptr) {
/* The underlying type is IA5String */
const PER_Visible_
2_
t *st = sptr;
const PER_Visible_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
@@ -1349,7 +1349,7 @@ asn_struct_free_f Not_PER_Visible_1_free;
static int check_permitted_alphabet_5(const void *sptr) {
/* The underlying type is IA5String */
const
Not_PER_Visible_1
_t *st = sptr;
const
PER_Visible
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
@@ -1707,7 +1707,7 @@ asn_struct_free_f SIZE_but_not_FROM_free;
static int check_permitted_alphabet_6(const void *sptr) {
/* The underlying type is IA5String */
const
SIZE_but_not_FROM
_t *st = sptr;
const
PER_Visible
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
@@ -1840,7 +1840,7 @@ asn_struct_free_f SIZE_and_FROM_free;
static int check_permitted_alphabet_7(const void *sptr) {
/* The underlying type is IA5String */
const
SIZE_and_FROM
_t *st = sptr;
const
PER_Visible
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
@@ -1973,7 +1973,7 @@ asn_struct_free_f Neither_SIZE_nor_FROM_free;
static int check_permitted_alphabet_8(const void *sptr) {
/* The underlying type is IA5String */
const
Neither_SIZE_nor_FROM
_t *st = sptr;
const
PER_Visible
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
@@ -2115,7 +2115,7 @@ static int permitted_alphabet_table_9[128] = {
static int check_permitted_alphabet_9(const void *sptr) {
int *table = permitted_alphabet_table_9;
/* The underlying type is UTF8String */
const Utf8_
3
_t *st = sptr;
const Utf8_
2
_t *st = sptr;
uint8_t *ch = st->buf;
uint8_t *end = ch + st->size;
...
...
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