TLS: sync digests with DIG macro

since we define DIG_MD5(0x40) to DIG_SM3(0x45) in
epan/dissectors/packet-tls-utils.h
and in ssl_cipher_suite_dig,
we use cs->dig - DIG_MD5 to retrive from digests,
so we should add SM3 to digests
This commit is contained in:
zhangzhilei 2022-08-11 12:19:43 +08:00 committed by A Wireshark GitLab Utility
parent 7160d9e0f0
commit 6cd2258c55
1 changed files with 1 additions and 0 deletions

View File

@ -3007,6 +3007,7 @@ static const SslDigestAlgo digests[]={
{"SHA256", 32},
{"SHA384", 48},
{"Not Applicable", 0},
{"SM3", 32},
};
#define DIGEST_MAX_SIZE 48