svn commit: samba r26694 - in branches/SAMBA_4_0: . source/libcli/util

jelmer at samba.org jelmer at samba.org
Tue Jan 8 14:27:41 GMT 2008


Author: jelmer
Date: 2008-01-08 14:27:40 +0000 (Tue, 08 Jan 2008)
New Revision: 26694

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26694

Log:
asn1: Fix header and some typo's.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/libcli/util/asn1.c


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/libcli/util/asn1.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/util/asn1.c	2008-01-08 10:20:44 UTC (rev 26693)
+++ branches/SAMBA_4_0/source/libcli/util/asn1.c	2008-01-08 14:27:40 UTC (rev 26694)
@@ -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 @@
 	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 @@
 	
 }
 
-/* read an interger */
+/* read an integer */
 bool asn1_read_Integer(struct asn1_data *data, int *i)
 {
 	*i = 0;
@@ -703,7 +703,7 @@
 	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 @@
 	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 @@
 	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;



More information about the samba-cvs mailing list