Typos: sructure, stucture. There is no function named create_stucture, but one named...
authorAndreas Metzler <ametzler@downhill.at.eu.org>
Sun, 3 Jan 2010 15:05:04 +0000 (16:05 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 10 Jan 2010 11:15:57 +0000 (12:15 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
lib/decoding.c
lib/structure.c
tests/Test_indefinite.c
tests/Test_tree.c

index b79002c..dbc0de0 100644 (file)
@@ -806,8 +806,8 @@ _asn1_get_indefinite_length_string (const unsigned char *der, int *len)
   *   error occurred.
   *
   * Fill the structure *ELEMENT with values of a DER encoding
-  * string. The sructure must just be created with function
-  * 'create_stucture'.  If an error occurs during the decoding
+  * string. The structure must just be created with function
+  * 'asn1_create_element'.  If an error occurs during the decoding
   * procedure, the *ELEMENT is deleted and set equal to
   * %ASN1_TYPE_EMPTY.
   *
@@ -1364,8 +1364,8 @@ asn1_der_decoding (ASN1_TYPE * element, const void *ider, int len,
   *   error occurred.
   *
   * Fill the element named ELEMENTNAME with values of a DER encoding
-  * string.  The sructure must just be created with function
-  * 'create_stucture'.  The DER vector must contain the encoding
+  * string.  The structure must just be created with function
+  * 'asn1_create_element'.  The DER vector must contain the encoding
   * string of the whole STRUCTURE.  If an error occurs during the
   * decoding procedure, the *STRUCTURE is deleted and set equal to
   * %ASN1_TYPE_EMPTY.
index 3931651..687b010 100644 (file)
@@ -670,7 +670,7 @@ _asn1_expand_identifier (ASN1_TYPE * node, ASN1_TYPE root)
   * Creates a structure of type @source_name.  Example using
   *  "pkix.asn":
   *
-  * rc = asn1_create_structure(cert_def, "PKIX1.Certificate",
+  * rc = asn1_create_element(cert_def, "PKIX1.Certificate",
   * certptr);
   *
   * Returns:
index c750932..379ad34 100644 (file)
@@ -24,7 +24,7 @@
 /* File: Test_tree.c                                 */
 /* Description: Test sequences for these functions:  */
 /*     asn1_visit_tree,                              */
-/*     asn1_create_structure,                        */
+/*     asn1_create_element,                          */
 /*     asn1_delete_structure,                        */
 /*     asn1_write_value,                             */
 /*     asn1_read_value,                              */
index f4ce056..e899ed6 100644 (file)
@@ -24,7 +24,7 @@
 /* File: Test_tree.c                                 */
 /* Description: Test sequences for these functions:  */
 /*     asn1_visit_tree,                              */
-/*     asn1_create_structure,                        */
+/*     asn1_create_element,                          */
 /*     asn1_delete_structure,                        */
 /*     asn1_write_value,                             */
 /*     asn1_read_value,                              */