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
d1e5494c
Commit
d1e5494c
authored
20 years ago
by
Lev Walkin
Browse files
Options
Downloads
Patches
Plain Diff
proper types
parent
9bc3668e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/19-param-OK.asn1.-P
+1
-1
1 addition, 1 deletion
tests/19-param-OK.asn1.-P
tests/50-constraint-OK.asn1.-P
+9
-9
9 additions, 9 deletions
tests/50-constraint-OK.asn1.-P
with
10 additions
and
10 deletions
tests/19-param-OK.asn1.-P
+
1
−
1
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;
...
...
This diff is collapsed.
Click to expand it.
tests/50-constraint-OK.asn1.-P
+
9
−
9
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;
...
...
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