Commit 8a7af0e7 authored by Lev Walkin's avatar Lev Walkin

member->Member to avoid clash with "identifier"

parent ce31cdb7
...@@ -35,7 +35,7 @@ typedef struct Certificate { ...@@ -35,7 +35,7 @@ typedef struct Certificate {
static int static int
memb_signature_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr, memb_signature_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_consume_bytes_f *app_errlog, void *app_key) { asn_app_consume_bytes_f *app_errlog, void *app_key) {
const BIT_STRING_t *st = sptr; const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
size_t size; size_t size;
if(!sptr) { if(!sptr) {
...@@ -288,7 +288,7 @@ static int permitted_alphabet_table_1[256] = { ...@@ -288,7 +288,7 @@ static int permitted_alphabet_table_1[256] = {
static int check_permitted_alphabet_1(const void *sptr) { static int check_permitted_alphabet_1(const void *sptr) {
int *table = permitted_alphabet_table_1; int *table = permitted_alphabet_table_1;
/* The underlying type is IA5String */ /* The underlying type is IA5String */
const IA5String_t *st = sptr; const IA5String_t *st = (const IA5String_t *)sptr;
const uint8_t *ch = st->buf; const uint8_t *ch = st->buf;
const uint8_t *end = ch + st->size; const uint8_t *end = ch + st->size;
...@@ -305,7 +305,7 @@ static int check_permitted_alphabet_1(const void *sptr) { ...@@ -305,7 +305,7 @@ static int check_permitted_alphabet_1(const void *sptr) {
static int static int
memb_IA5String_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr, memb_IA5String_2_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_consume_bytes_f *app_errlog, void *app_key) { asn_app_consume_bytes_f *app_errlog, void *app_key) {
const IA5String_t *st = sptr; const IA5String_t *st = (const IA5String_t *)sptr;
if(!sptr) { if(!sptr) {
_ASN_ERRLOG(app_errlog, app_key, _ASN_ERRLOG(app_errlog, app_key,
......
...@@ -307,7 +307,7 @@ static asn_TYPE_member_t asn_MBR_anything[] = { ...@@ -307,7 +307,7 @@ static asn_TYPE_member_t asn_MBR_anything[] = {
{ ATF_NOFLAGS, 0, 0, { ATF_NOFLAGS, 0, 0,
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), .tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0, .tag_mode = 0,
.type = (void *)&asn_DEF_anything_member, .type = (void *)&asn_DEF_anything_Member,
.memb_constraints = 0, /* Defer constraints checking to the member type */ .memb_constraints = 0, /* Defer constraints checking to the member type */
.name = "" .name = ""
}, },
......
This diff is collapsed.
...@@ -47,7 +47,7 @@ typedef struct T { ...@@ -47,7 +47,7 @@ typedef struct T {
static int static int
memb_char_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr, memb_char_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_consume_bytes_f *app_errlog, void *app_key) { asn_app_consume_bytes_f *app_errlog, void *app_key) {
const OCTET_STRING_t *st = sptr; const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
size_t size; size_t size;
if(!sptr) { if(!sptr) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment