TLS: sync ciphers with ENC_ macro

we should add SM1 and SM4 to ciphers because there are
ENC_SM1 and ENC_SM4 defined in packet-tls-utils.h
This commit is contained in:
zhangzhilei 2022-08-11 15:23:55 +08:00 committed by A Wireshark GitLab Utility
parent e5db541526
commit 9da3c833a4
2 changed files with 5 additions and 3 deletions

View File

@ -3030,6 +3030,8 @@ static const gchar *ciphers[]={
"CAMELLIA256",
"SEED",
"CHACHA20", /* since Libgcrypt 1.7.0 */
"SM1",
"SM4",
"*UNKNOWN*"
};

View File

@ -394,9 +394,9 @@ typedef struct {
#define ENC_CAMELLIA256 0x38
#define ENC_SEED 0x39
#define ENC_CHACHA20 0x3A
#define ENC_NULL 0x3B
#define ENC_SM1 0x3C
#define ENC_SM4 0x3D
#define ENC_SM1 0x3B
#define ENC_SM4 0x3C
#define ENC_NULL 0x3D
#define DIG_MD5 0x40