better name
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 22 Nov 2012 18:42:47 +0000 (19:42 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 22 Nov 2012 18:42:47 +0000 (19:42 +0100)
lib/coding.c
lib/element.c
lib/int.h
lib/structure.c

index ba59257..5d98fe4 100644 (file)
@@ -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;
index f1d002e..f85fb2f 100644 (file)
@@ -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:
index 7dedd88..0761025 100644 (file)
--- 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: \
index eee15a3..9136799 100644 (file)
@@ -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: