diff options
author | Stefan Metzmacher <metze@samba.org> | 2021-09-08 15:10:14 +0200 |
---|---|---|
committer | Jule Anger <janger@samba.org> | 2021-09-10 13:50:10 +0000 |
commit | 33f06d10a03a3e51fe0774491f73a392471f4f81 (patch) | |
tree | 97301cddf99d53b8ea6625c79c7a48f8dfaeae82 /libcli | |
parent | 2baaa891bb3690a2783eb2c5e45368c320e27236 (diff) | |
download | samba-33f06d10a03a3e51fe0774491f73a392471f4f81.tar.gz |
docs-xml: use upper case for "{client,server} smb3 {signing,encryption} algorithms" values
This matches what smbstatus prints out. Note there's also the removal of
an '-' in "hmac-sha-256" => HMAC-SHA256".
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14825
RN: "{client,server} smb3 {signing,encryption} algorithms" should use the same strings as smbstatus output
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Sep 8 16:37:07 UTC 2021 on sn-devel-184
(cherry picked from commit 867c6ff9f3f28ab4bfa0cb1660889f3f5be0d111)
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/smb/util.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libcli/smb/util.c b/libcli/smb/util.c index 061f478c92d..e1c0f124236 100644 --- a/libcli/smb/util.c +++ b/libcli/smb/util.c @@ -466,9 +466,9 @@ enum smb_encryption_setting smb_encryption_setting_translate(const char *str) } static const struct enum_list enum_smb3_signing_algorithms[] = { - {SMB2_SIGNING_AES128_GMAC, "aes-128-gmac"}, - {SMB2_SIGNING_AES128_CMAC, "aes-128-cmac"}, - {SMB2_SIGNING_HMAC_SHA256, "hmac-sha-256"}, + {SMB2_SIGNING_AES128_GMAC, "AES-128-GMAC"}, + {SMB2_SIGNING_AES128_CMAC, "AES-128-CMAC"}, + {SMB2_SIGNING_HMAC_SHA256, "HMAC-SHA256"}, {-1, NULL} }; @@ -488,10 +488,10 @@ const char *smb3_signing_algorithm_name(uint16_t algo) } static const struct enum_list enum_smb3_encryption_algorithms[] = { - {SMB2_ENCRYPTION_AES128_GCM, "aes-128-gcm"}, - {SMB2_ENCRYPTION_AES128_CCM, "aes-128-ccm"}, - {SMB2_ENCRYPTION_AES256_GCM, "aes-256-gcm"}, - {SMB2_ENCRYPTION_AES256_CCM, "aes-256-ccm"}, + {SMB2_ENCRYPTION_AES128_GCM, "AES-128-GCM"}, + {SMB2_ENCRYPTION_AES128_CCM, "AES-128-CCM"}, + {SMB2_ENCRYPTION_AES256_GCM, "AES-256-GCM"}, + {SMB2_ENCRYPTION_AES256_CCM, "AES-256-CCM"}, {-1, NULL} }; |