Fix typo in comments.
authorKarolin Seeger <kseeger@samba.org>
Wed, 3 Mar 2010 15:03:13 +0000 (16:03 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 3 Mar 2010 15:03:13 +0000 (16:03 +0100)
lib/zlib/contrib/ada/zlib-streams.ads
lib/zlib/contrib/ada/zlib-thin.ads
libcli/auth/ntlm_check.c
source3/libsmb/ntlmssp_sign.c
source3/utils/net.c
source4/auth/ntlmssp/ntlmssp_sign.c

index f0193c6baeea5e0ca4c6f70129642149403c606a..f3352d3d236c80372b2cf231905ac32357c102da 100644 (file)
@@ -31,7 +31,7 @@ package ZLib.Streams is
       Mode   : in     Flush_Mode := Sync_Flush);
    --  Flush the written data to the back stream,
    --  all data placed to the compressor is flushing to the Back stream.
-   --  Should not be used untill necessary, becouse it is decreasing
+   --  Should not be used untill necessary, because it is decreasing
    --  compression.
 
    function Read_Total_In (Stream : in Stream_Type) return Count;
@@ -97,13 +97,13 @@ private
       Rest_Last  : Stream_Element_Offset;
       --  Buffer for Read operation.
       --  We need to have this buffer in the record
-      --  becouse not all read data from back stream
+      --  because not all read data from back stream
       --  could be processed during the read operation.
 
       Buffer_Size : Stream_Element_Offset;
       --  Buffer size for write operation.
       --  We do not need to have this buffer
-      --  in the record becouse all data could be
+      --  in the record because all data could be
       --  processed in the write operation.
 
       Back       : Stream_Access;
index d4407eb800db3b3aa1629edc0f3815e33e737ce3..810173cff86fa6bbf2d88bad8e63c021c2a5f2a7 100644 (file)
@@ -436,7 +436,7 @@ private
 
    pragma Import (C, inflateBackInit, "inflateBackInit_");
 
-   --  I stopped binding the inflateBack routines, becouse realize that
+   --  I stopped binding the inflateBack routines, because realize that
    --  it does not support zlib and gzip headers for now, and have no
    --  symmetric deflateBack routines.
    --  ZLib-Ada is symmetric regarding deflate/inflate data transformation
index 978f0fe1be99f3c5c908ec177eaf85ba2ce0a576..9f968efbd0765cd2c1341c0d5dff01101d5b6979 100644 (file)
@@ -416,7 +416,7 @@ NTSTATUS ntlm_password_check(TALLOC_CTX *mem_ctx,
                } else {
                        DEBUG(2,("ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user %s\n",
                                 username));                    
-                       /* no return, becouse we might pick up LMv2 in the LM field */
+                       /* no return, because we might pick up LMv2 in the LM field */
                }
        }
        
index 3fd22ce73f53358bf6874da13bd98933f7f86794..7aa338688e633abfde9542f3e2a357b00a7e00b0 100644 (file)
@@ -256,7 +256,7 @@ NTSTATUS ntlmssp_seal_packet(struct ntlmssp_state *ntlmssp_state,
        dump_data_pw("ntlmssp clear data\n", data, length);
        if (ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) {
                /* The order of these two operations matters - we must first seal the packet,
-                  then seal the sequence number - this is becouse the send_seal_hash is not
+                  then seal the sequence number - this is because the send_seal_hash is not
                   constant, but is is rather updated with each iteration */
                NTSTATUS nt_status = ntlmssp_make_packet_signature(ntlmssp_state,
                                                        data, length,
@@ -278,7 +278,7 @@ NTSTATUS ntlmssp_seal_packet(struct ntlmssp_state *ntlmssp_state,
                }
 
                /* The order of these two operations matters - we must first seal the packet,
-                  then seal the sequence number - this is becouse the ntlmv1_arc4_state is not
+                  then seal the sequence number - this is because the ntlmv1_arc4_state is not
                   constant, but is is rather updated with each iteration */
 
                dump_arc4_state("ntlmv1 arc4 state:\n",
index 0c5f0807fffb0e60ad62d20dfe317457815b6daf..6e39e264342a597401b5ff8687d869949fe8f894 100644 (file)
@@ -897,7 +897,7 @@ static struct functable net_func[] = {
        load_interfaces();
 
        /* this makes sure that when we do things like call scripts,
-          that it won't assert becouse we are not root */
+          that it won't assert because we are not root */
        sec_init();
 
        if (c->opt_machine_pass) {
index 9e0d80f788243b2711e105617ffc6b7eee740fb6..b327701d61cd3835db907f3140341b31f7a1efee 100644 (file)
@@ -229,7 +229,7 @@ NTSTATUS gensec_ntlmssp_seal_packet(struct gensec_security *gensec_security,
        dump_data_pw("ntlmssp clear data\n", data, length);
        if (gensec_ntlmssp_state->neg_flags & NTLMSSP_NEGOTIATE_NTLM2) {
                /* The order of these two operations matters - we must first seal the packet,
-                  then seal the sequence number - this is becouse the send_seal_hash is not
+                  then seal the sequence number - this is because the send_seal_hash is not
                   constant, but is is rather updated with each iteration */
                nt_status = ntlmssp_make_packet_signature(gensec_ntlmssp_state, sig_mem_ctx, 
                                                          data, length, 
@@ -249,7 +249,7 @@ NTSTATUS gensec_ntlmssp_seal_packet(struct gensec_security *gensec_security,
 
                /* The order of these two operations matters - we must
                   first seal the packet, then seal the sequence
-                  number - this is becouse the ntlmssp_hash is not
+                  number - this is because the ntlmssp_hash is not
                   constant, but is is rather updated with each
                   iteration */