From cef40813fac9363b544b22b2fa277af37a800cdf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 8 Jan 2008 14:27:40 -0600 Subject: [PATCH 1/1] r26694: asn1: Fix header and some typo's. (This used to be commit f9988734bb8a1d823e14b6bff5c4d55d75471f18) --- source4/libcli/util/asn1.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source4/libcli/util/asn1.c b/source4/libcli/util/asn1.c index ca6f0dc031c..aad55382d9b 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; -- 2.34.1