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>
Wed, 24 May 2023 21:23:33 +0000 (16:23 -0500)
commit8b4dd44f9b4702d42362b97b81c91b33a6dcea58
tree3d497b02e07e904659d1faf3cd233cd9e528980e
parent72a7804a667eeac98888610521179f0418883158
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