smb3: display debug information better for encryption
authorSteve French <stfrench@microsoft.com>
Wed, 24 May 2023 01:25:47 +0000 (20:25 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 1 Jun 2023 04:51:04 +0000 (23:51 -0500)
commit6e562c90cea734ca55adde8e1abceb38adf370d1
treeb3ae304d2a20e4faa4e88f265037f3cc5d715104
parent63a8e5d34b8ff1f5379b29c911f8e5b1f5623fe6
smb3: display debug information better for encryption

Fix /proc/fs/cifs/DebugData to use the same case for "encryption"
(ie "Encryption" with init capital letter was used in one place).
In addition, if gcm256 encryption (intead of gcm128) is used on
a connection to a server, note that in the DebugData as well.

It now displays (when gcm256 negotiated):
 Security type: RawNTLMSSP  SessionId: 0x86125800bc000b0d encrypted(gcm256)

Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.c