summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2016-07-26 19:43:11 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-07-27 09:02:29 +0200
commit6c0c0d306bd99a57d0504090dc097a670d996ff4 (patch)
tree85fdc373814963b424f039967aca3d797143cb5a
parente6c34c69ae21fca2eb6ec34cb075f06b50d8a8af (diff)
downloadlibtasn1-6c0c0d306bd99a57d0504090dc097a670d996ff4.tar.gz
Fix some typoes found by lintian.
-rw-r--r--lib/ASN1.y4
-rw-r--r--lib/parser_aux.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/ASN1.y b/lib/ASN1.y
index 6db638f..acfee46 100644
--- a/lib/ASN1.y
+++ b/lib/ASN1.y
@@ -649,7 +649,7 @@ _asn1_create_errorDescription (int error, char *error_desc)
*
* Returns: %ASN1_SUCCESS if the file has a correct syntax and every
* identifier is known, %ASN1_ELEMENT_NOT_EMPTY if @definitions not
- * %NULL, %ASN1_FILE_NOT_FOUND if an error occured while
+ * %NULL, %ASN1_FILE_NOT_FOUND if an error occurred while
* opening @file, %ASN1_SYNTAX_ERROR if the syntax is not
* correct, %ASN1_IDENTIFIER_NOT_FOUND if in the file there is an
* identifier that is not defined, %ASN1_NAME_TOO_LONG if in the
@@ -737,7 +737,7 @@ asn1_parser2tree (const char *file, asn1_node * definitions,
* will be "xx_asn1_tab".
*
* Returns: %ASN1_SUCCESS if the file has a correct syntax and every
- * identifier is known, %ASN1_FILE_NOT_FOUND if an error occured
+ * identifier is known, %ASN1_FILE_NOT_FOUND if an error occurred
* while opening @inputFileName, %ASN1_SYNTAX_ERROR if the syntax is
* not correct, %ASN1_IDENTIFIER_NOT_FOUND if in the file there is
* an identifier that is not defined, %ASN1_NAME_TOO_LONG if in the
diff --git a/lib/parser_aux.c b/lib/parser_aux.c
index 12ee16f..cfd76e0 100644
--- a/lib/parser_aux.c
+++ b/lib/parser_aux.c
@@ -84,7 +84,7 @@ _asn1_add_static_node (unsigned int type)
* @name: null terminated string with the element's name to find.
*
* Searches for an element called @name starting from @pointer. The
- * name is composed by differents identifiers separated by dots. When
+ * name is composed by different identifiers separated by dots. When
* *@pointer has a name, the first identifier must be the name of
* *@pointer, otherwise it must be the name of one child of *@pointer.
*