TLS: fix display of Google QUIC Version in Transport Parameters

This commit is contained in:
Nardi Ivan 2020-12-30 16:49:06 +01:00 committed by AndersBroman
parent 6a300f13d0
commit a23915c9a8
2 changed files with 2 additions and 2 deletions

View File

@ -7578,7 +7578,7 @@ ssl_dissect_hnd_hello_ext_quic_transport_parameters(ssl_common_dissect_t *hf, tv
case SSL_HND_QUIC_TP_GOOGLE_QUIC_VERSION:
for (i = 0; i < parameter_length; i += 4) {
proto_tree_add_item(parameter_tree, hf->hf.hs_ext_quictp_parameter_google_quic_version,
tvb, offset + i, 4, ENC_ASCII|ENC_NA);
tvb, offset + i, 4, ENC_BIG_ENDIAN);
}
offset += parameter_length;
break;

View File

@ -2224,7 +2224,7 @@ ssl_common_dissect_t name = { \
}, \
{ & name .hf.hs_ext_quictp_parameter_google_quic_version, \
{ "Google QUIC version", prefix ".quic.parameter.google.quic_version", \
FT_STRING, BASE_NONE, NULL, 0x00, \
FT_UINT32, BASE_HEX, VALS(quic_version_vals), 0x00, \
NULL, HFILL } \
}, \
{ & name .hf.hs_ext_quictp_parameter_google_initial_rtt, \