summaryrefslogtreecommitdiff
path: root/source4/libcli/util
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-08 14:27:40 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-08 08:33:04 -0600
commitcef40813fac9363b544b22b2fa277af37a800cdf (patch)
tree15eb6a7e2d281edcd7bee0b49ade1ab6ec842e49 /source4/libcli/util
parentd6b91ac202f81fc1a5293f630515e30ed921efeb (diff)
downloadsamba-cef40813fac9363b544b22b2fa277af37a800cdf.tar.gz
samba-cef40813fac9363b544b22b2fa277af37a800cdf.tar.bz2
samba-cef40813fac9363b544b22b2fa277af37a800cdf.zip
r26694: asn1: Fix header and some typo's.
(This used to be commit f9988734bb8a1d823e14b6bff5c4d55d75471f18)
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/asn1.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/libcli/util/asn1.c b/source4/libcli/util/asn1.c
index ca6f0dc031..aad55382d9 100644
--- a/source4/libcli/util/asn1.c
+++ b/source4/libcli/util/asn1.c
@@ -1,6 +1,6 @@
/*
Unix SMB/CIFS implementation.
- simple SPNEGO routines
+ simple ASN1 routines
Copyright (C) Andrew Tridgell 2001
This program is free software; you can redistribute it and/or modify
@@ -679,7 +679,7 @@ bool asn1_read_ContextSimple(struct asn1_data *data, uint8_t num, DATA_BLOB *blo
return !data->has_error;
}
-/* read an interger without tag*/
+/* read an integer without tag*/
bool asn1_read_implicit_Integer(struct asn1_data *data, int *i)
{
uint8_t b;
@@ -693,7 +693,7 @@ bool asn1_read_implicit_Integer(struct asn1_data *data, int *i)
}
-/* read an interger */
+/* read an integer */
bool asn1_read_Integer(struct asn1_data *data, int *i)
{
*i = 0;
@@ -703,7 +703,7 @@ bool asn1_read_Integer(struct asn1_data *data, int *i)
return asn1_end_tag(data);
}
-/* read an interger */
+/* read an integer */
bool asn1_read_enumerated(struct asn1_data *data, int *v)
{
*v = 0;
@@ -717,7 +717,7 @@ bool asn1_read_enumerated(struct asn1_data *data, int *v)
return asn1_end_tag(data);
}
-/* check a enumarted value is correct */
+/* check a enumerated value is correct */
bool asn1_check_enumerated(struct asn1_data *data, int v)
{
uint8_t b;
@@ -731,7 +731,7 @@ bool asn1_check_enumerated(struct asn1_data *data, int v)
return !data->has_error;
}
-/* write an enumarted value to the stream */
+/* write an enumerated value to the stream */
bool asn1_write_enumerated(struct asn1_data *data, uint8_t v)
{
if (!asn1_push_tag(data, ASN1_ENUMERATED)) return false;