Fix spelling typo.
authorJeremy Allison <jra@samba.org>
Fri, 14 Jun 2002 23:16:00 +0000 (23:16 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 14 Jun 2002 23:16:00 +0000 (23:16 +0000)
Jeremy.
(This used to be commit 0e7e8d44627ad9645a90e96001f8550b68b67a62)

source3/include/smb.h
source3/libsmb/clientgen.c

index 6211ddef225d05149b3538dfb2e3da2f1d465bc6..6678a8674df1d1255f2b40233afecbc09e70dd3b 100644 (file)
@@ -1290,17 +1290,17 @@ char *strdup(char *s);
 
 /* NT Flags2 bits - cifs6.txt section 3.1.2 */
    
-#define FLAGS2_LONG_PATH_COMPONENTS   0x0001
-#define FLAGS2_EXTENDED_ATTRIBUTES    0x0002
-#define FLAGS2_SMB_SECUIRTY_SIGNITURES 0x0004
-#define FLAGS2_IS_LONG_NAME           0x0040
-#define FLAGS2_EXTENDED_SECURITY      0x0800 
-#define FLAGS2_DFS_PATHNAMES          0x1000
-#define FLAGS2_READ_PERMIT_NO_EXECUTE 0x2000
-#define FLAGS2_32_BIT_ERROR_CODES     0x4000 
-#define FLAGS2_UNICODE_STRINGS        0x8000
-
-#define FLAGS2_WIN2K_SIGNATURE        0xC852 /* Hack alert ! For now... JRA. */
+#define FLAGS2_LONG_PATH_COMPONENTS    0x0001
+#define FLAGS2_EXTENDED_ATTRIBUTES     0x0002
+#define FLAGS2_SMB_SECURITY_SIGNATURES 0x0004
+#define FLAGS2_IS_LONG_NAME            0x0040
+#define FLAGS2_EXTENDED_SECURITY       0x0800 
+#define FLAGS2_DFS_PATHNAMES           0x1000
+#define FLAGS2_READ_PERMIT_NO_EXECUTE  0x2000
+#define FLAGS2_32_BIT_ERROR_CODES      0x4000 
+#define FLAGS2_UNICODE_STRINGS         0x8000
+
+#define FLAGS2_WIN2K_SIGNATURE         0xC852 /* Hack alert ! For now... JRA. */
 
 /* Capabilities.  see ftp.microsoft.com/developr/drg/cifs/cifs/cifs4.txt */
 
index 5f421480785e9554530ba546ff78a65fbaf7c8c8..e7e88687b856eb3f22f4490e716806b701f006c7 100644 (file)
@@ -120,7 +120,7 @@ BOOL cli_send_smb(struct cli_state *cli)
        if (cli->fd == -1)
                return False;
 
-       if (SVAL(cli->outbuf,smb_flg2) & FLAGS2_SMB_SECUIRTY_SIGNITURES)
+       if (SVAL(cli->outbuf,smb_flg2) & FLAGS2_SMB_SECURITY_SIGNATURES)
                cli_caclulate_sign_mac(cli);
 
        len = smb_len(cli->outbuf) + 4;
@@ -162,7 +162,7 @@ void cli_setup_packet(struct cli_state *cli)
                        flags2 |= FLAGS2_EXTENDED_SECURITY;
                }
                if (cli->sign_info.use_smb_signing)
-                       flags2 |= FLAGS2_SMB_SECUIRTY_SIGNITURES;
+                       flags2 |= FLAGS2_SMB_SECURITY_SIGNATURES;
                SSVAL(cli->outbuf,smb_flg2, flags2);
        }
 }