summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2013-03-24 10:54:53 +0100
committerSimon Josefsson <simon@josefsson.org>2013-03-24 10:57:17 +0100
commit661f3b91335ed8c57abfe2713464694cb4da3d05 (patch)
tree02d707d2241b3dd06b271c2fd37c9b4fee2c9c4f /lib
parentc81c317e46b8390cf454129b5bcf2923fcf783ae (diff)
downloadlibtasn1-661f3b91335ed8c57abfe2713464694cb4da3d05.tar.gz
Fix syntax-check warnings.
Diffstat (limited to 'lib')
-rw-r--r--lib/ASN1.y3
-rw-r--r--lib/coding.c4
-rw-r--r--lib/decoding.c2
-rw-r--r--lib/libtasn1.map1
4 files changed, 4 insertions, 6 deletions
diff --git a/lib/ASN1.y b/lib/ASN1.y
index e633758..4934215 100644
--- a/lib/ASN1.y
+++ b/lib/ASN1.y
@@ -871,8 +871,7 @@ _asn1_yyerror (const char *s)
{
snprintf (last_error_token, sizeof(last_error_token),
"%s", last_token);
- fprintf(stderr,
- "%s:%u: Warning: %s is a built-in ASN.1 type.\n",
+ fprintf(stderr, "%s:%u: Warning: %s is a built-in ASN.1 type.\n",
file_name, line_number, last_token);
return;
}
diff --git a/lib/coding.c b/lib/coding.c
index 6aeb0ec..8dd6ae0 100644
--- a/lib/coding.c
+++ b/lib/coding.c
@@ -192,13 +192,13 @@ asn1_octet_der (const unsigned char *str, int str_len,
* @tl_len: the bytes of the @tl field
*
* Creates the DER encoding for various simple ASN.1 types like strings etc.
- * It stores the tag and length in @tl, which should have space for at least
+ * It stores the tag and length in @tl, which should have space for at least
* %ASN1_MAX_TL_SIZE bytes. Initially @tl_len should contain the size of @tl.
*
* The complete DER encoding should consist of the value in @tl appended
* with the provided @str.
*
- * Returns: %ASN1_SUCCESS if successful or an error value.
+ * Returns: %ASN1_SUCCESS if successful or an error value.
**/
int
asn1_encode_simple_der (unsigned int etype, const unsigned char *str,
diff --git a/lib/decoding.c b/lib/decoding.c
index 4c4e232..eb83d89 100644
--- a/lib/decoding.c
+++ b/lib/decoding.c
@@ -2878,7 +2878,7 @@ asn1_expand_octet_string (asn1_node definitions, asn1_node * element,
* Decodes a simple DER encoded type (e.g. a string, which is not constructed).
* The output is a pointer inside the @der.
*
- * Returns: %ASN1_SUCCESS if successful or an error value.
+ * Returns: %ASN1_SUCCESS if successful or an error value.
**/
int
asn1_decode_simple_der (unsigned int etype, const unsigned char *der,
diff --git a/lib/libtasn1.map b/lib/libtasn1.map
index f8f7c0f..4ddfd42 100644
--- a/lib/libtasn1.map
+++ b/lib/libtasn1.map
@@ -57,4 +57,3 @@ LIBTASN1_0_3
local:
*;
};
-