forked from osmocom/wireshark
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:
parent
7160d9e0f0
commit
6cd2258c55
|
@ -3007,6 +3007,7 @@ static const SslDigestAlgo digests[]={
|
|||
{"SHA256", 32},
|
||||
{"SHA384", 48},
|
||||
{"Not Applicable", 0},
|
||||
{"SM3", 32},
|
||||
};
|
||||
|
||||
#define DIGEST_MAX_SIZE 48
|
||||
|
|
Loading…
Reference in New Issue