diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-22 19:42:47 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-11-22 19:42:47 +0100 |
commit | f9e6e03a14d7409cda2df5f231bc3e0a9a254d42 (patch) | |
tree | 2c1a047903bbf94960c180e00998a8547c76c4b3 | |
parent | eba04f5f91b62c33a800ed8cf3325a4d82e12dd5 (diff) | |
download | libtasn1-f9e6e03a14d7409cda2df5f231bc3e0a9a254d42.tar.gz |
better name
-rw-r--r-- | lib/coding.c | 2 | ||||
-rw-r--r-- | lib/element.c | 2 | ||||
-rw-r--r-- | lib/int.h | 2 | ||||
-rw-r--r-- | 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: @@ -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: |