@@ -659,8 +659,7 @@ static void ascii_ssetup_strings(char **pbcc_area, struct cifs_ses *ses,
659
659
if (WARN_ON_ONCE (len < 0 ))
660
660
len = CIFS_MAX_DOMAINNAME_LEN - 1 ;
661
661
bcc_ptr += len ;
662
- } /* else we will send a null domain name
663
- so the server will default to its own domain */
662
+ } /* else we send a null domain name so server will default to its own domain */
664
663
* bcc_ptr = 0 ;
665
664
bcc_ptr ++ ;
666
665
@@ -756,11 +755,14 @@ static void decode_ascii_ssetup(char **pbcc_area, __u16 bleft,
756
755
if (len > bleft )
757
756
return ;
758
757
759
- /* No domain field in LANMAN case. Domain is
760
- returned by old servers in the SMB negprot response */
761
- /* BB For newer servers which do not support Unicode,
762
- but thus do return domain here we could add parsing
763
- for it later, but it is not very important */
758
+ /*
759
+ * No domain field in LANMAN case. Domain is
760
+ * returned by old servers in the SMB negprot response
761
+ *
762
+ * BB For newer servers which do not support Unicode,
763
+ * but thus do return domain here, we could add parsing
764
+ * for it later, but it is not very important
765
+ */
764
766
cifs_dbg (FYI , "ascii: bytes left %d\n" , bleft );
765
767
}
766
768
#endif /* CONFIG_CIFS_ALLOW_INSECURE_LEGACY */
@@ -816,9 +818,12 @@ int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len,
816
818
ses -> ntlmssp -> server_flags = server_flags ;
817
819
818
820
memcpy (ses -> ntlmssp -> cryptkey , pblob -> Challenge , CIFS_CRYPTO_KEY_SIZE );
819
- /* In particular we can examine sign flags */
820
- /* BB spec says that if AvId field of MsvAvTimestamp is populated then
821
- we must set the MIC field of the AUTHENTICATE_MESSAGE */
821
+ /*
822
+ * In particular we can examine sign flags
823
+ *
824
+ * BB spec says that if AvId field of MsvAvTimestamp is populated then
825
+ * we must set the MIC field of the AUTHENTICATE_MESSAGE
826
+ */
822
827
823
828
tioffset = le32_to_cpu (pblob -> TargetInfoArray .BufferOffset );
824
829
tilen = le16_to_cpu (pblob -> TargetInfoArray .Length );
0 commit comments