From f9e6e03a14d7409cda2df5f231bc3e0a9a254d42 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 22 Nov 2012 19:42:47 +0100 Subject: [PATCH] better name --- lib/coding.c | 2 +- lib/element.c | 2 +- lib/int.h | 2 +- lib/structure.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/coding.c b/lib/coding.c index ba59257..5d98fe4 100644 --- a/lib/coding.c +++ b/lib/coding.c @@ -554,7 +554,7 @@ _asn1_insert_tag_der (asn1_node node, unsigned char *der, int *counter, _asn1_tag_der (ASN1_CLASS_UNIVERSAL, ASN1_TAG_GENERALIZEDTime, tag_der, &tag_len); break; - CASE_TAGGED_TYPES: + CASE_HANDLED_ETYPES: _asn1_tag_der (_asn1_tags[type].class, _asn1_tags[type].tag, tag_der, &tag_len); break; diff --git a/lib/element.c b/lib/element.c index f1d002e..f85fb2f 100644 --- a/lib/element.c +++ b/lib/element.c @@ -926,7 +926,7 @@ asn1_read_tag (asn1_node root, const char *name, int *tagValue, switch (type) { - CASE_TAGGED_TYPES: + CASE_HANDLED_ETYPES: *tagValue = _asn1_tags[type].tag; break; case ASN1_ETYPE_TIME: diff --git a/lib/int.h b/lib/int.h index 7dedd88..0761025 100644 --- a/lib/int.h +++ b/lib/int.h @@ -65,7 +65,7 @@ typedef struct tag_and_class_st { } tag_and_class_st; /* the types that are handled in _asn1_tags */ -#define CASE_TAGGED_TYPES \ +#define CASE_HANDLED_ETYPES \ case ASN1_ETYPE_NULL: \ case ASN1_ETYPE_BOOLEAN: \ case ASN1_ETYPE_INTEGER: \ diff --git a/lib/structure.c b/lib/structure.c index eee15a3..9136799 100644 --- a/lib/structure.c +++ b/lib/structure.c @@ -765,7 +765,7 @@ asn1_print_structure (FILE * out, asn1_node structure, const char *name, case ASN1_ETYPE_DEFINITIONS: fprintf (out, "type:DEFINITIONS"); break; - CASE_TAGGED_TYPES: + CASE_HANDLED_ETYPES: fprintf (out, "%s", _asn1_tags[type].desc); break; default: -- 2.7.4