]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
updated libtasn1 version
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 21 Nov 2012 22:27:29 +0000 (23:27 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 21 Nov 2012 22:27:29 +0000 (23:27 +0100)
lib/minitasn1/libtasn1.h
lib/minitasn1/structure.c

index 5be46d073cf4bc04442419fc951963e0ae333021..c80a5ca457ff31f79bd35260f6cfb4f714c43854 100644 (file)
@@ -124,7 +124,7 @@ extern "C"
     unsigned int type;         /* Node type */
     const void *value;         /* Node value */
   };
-  typedef struct asn1_static_node_st asn1_static_node_t;
+  typedef struct asn1_static_node_st asn1_static_node;
 
 /* List of constants for field type of typedef node_asn  */
 #define ASN1_ETYPE_CONSTANT       1
@@ -183,7 +183,7 @@ extern "C"
                       const char *vectorName, char *errorDescription);
 
   extern ASN1_API int
-    asn1_array2tree (const asn1_static_node_t * array,
+    asn1_array2tree (const asn1_static_node * array,
                     asn1_node * definitions, char *errorDescription);
 
   extern ASN1_API void
@@ -307,7 +307,8 @@ typedef int asn1_retCode;   /* type returned by libtasn1 functions */
 #define ASN1_TYPE_EMPTY NULL
 
 #define static_struct_asn asn1_static_node_st
-#define ASN1_ARRAY_TYPE asn1_static_node_t
+#define ASN1_ARRAY_TYPE asn1_static_node
+#define asn1_static_node_t asn1_static_node
 
 #define node_data_struct asn1_data_node_st
 #define ASN1_DATA_NODE asn1_data_node_st
index 4613d06066a380165f2c36363cc0414bc099f126..32be50b7c3625907c5825c0b14ddc664a64d1318 100644 (file)
@@ -96,7 +96,7 @@ _asn1_create_static_structure (asn1_node pointer, char *output_file_name,
 
   fprintf (file, "#include <libtasn1.h>\n\n");
 
-  fprintf (file, "const asn1_static_node_t %s[] = {\n", vector_name);
+  fprintf (file, "const asn1_static_node %s[] = {\n", vector_name);
 
   p = pointer;
 
@@ -174,7 +174,7 @@ _asn1_create_static_structure (asn1_node pointer, char *output_file_name,
  *   %ASN1_ARRAY_ERROR if the array pointed by @array is wrong.
  **/
 int
-asn1_array2tree (const asn1_static_node_t * array, asn1_node * definitions,
+asn1_array2tree (const asn1_static_node * array, asn1_node * definitions,
                 char *errorDescription)
 {
   asn1_node p, p_last = NULL;