aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl-utils.h
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-10-07 12:35:41 +0200
committerAnders Broman <a.broman58@gmail.com>2016-10-12 03:52:04 +0000
commit9434f25275b1ff838a9976903f180de7da4b00e4 (patch)
treee6a3bbb21ed0e3da9c08c875f163767127c77ece /epan/dissectors/packet-ssl-utils.h
parentaa78460ef9793ea56f79ef353e9f6af3805799f8 (diff)
TLS(1.3): Add Supported Versions (43) Hello extension
Ping-Bug: 12779 Change-Id: Ia8dcfcb300f4da3bf270d9512fbcc85a7b1a8671 Reviewed-on: https://code.wireshark.org/review/18108 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.h')
-rw-r--r--epan/dissectors/packet-ssl-utils.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ssl-utils.h b/epan/dissectors/packet-ssl-utils.h
index 2278008972..2ba7e0f1f5 100644
--- a/epan/dissectors/packet-ssl-utils.h
+++ b/epan/dissectors/packet-ssl-utils.h
@@ -169,6 +169,7 @@ typedef enum {
#define SSL_HND_HELLO_EXT_KEY_SHARE 40
#define SSL_HND_HELLO_EXT_PRE_SHARED_KEY 41
#define SSL_HND_HELLO_EXT_EARLY_DATA 42
+#define SSL_HND_HELLO_EXT_SUPPORTED_VERSIONS 43
#define SSL_HND_HELLO_EXT_COOKIE 44
#define SSL_HND_HELLO_EXT_NPN 13712 /* 0x3374 */
#define SSL_HND_HELLO_EXT_CHANNEL_ID_OLD 30031 /* 0x754f */
@@ -683,6 +684,8 @@ typedef struct ssl_common_dissect {
gint hs_ext_psk_identity;
gint hs_ext_psk_identity_selected;
gint hs_ext_early_data_obfuscated_ticket_age;
+ gint hs_ext_supported_versions_len;
+ gint hs_ext_supported_versions;
gint hs_ext_cookie_len;
gint hs_ext_cookie;
gint hs_ext_server_name;
@@ -888,7 +891,7 @@ ssl_common_dissect_t name = { \
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \
- -1, -1, -1, -1, \
+ -1, -1, -1, -1, -1, -1, \
}, \
/* ett */ { \
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \
@@ -1062,6 +1065,16 @@ ssl_common_dissect_t name = { \
FT_UINT32, BASE_DEC, NULL, 0x0, \
"The time since the client learned about the server configuration that it is using, in milliseconds", HFILL } \
}, \
+ { & name .hf.hs_ext_supported_versions_len, \
+ { "Supported Versions length", prefix ".handshake.extensions.supported_versions_len", \
+ FT_UINT8, BASE_DEC, NULL, 0x0, \
+ NULL, HFILL } \
+ }, \
+ { & name .hf.hs_ext_supported_versions, \
+ { "Supported Versions", prefix ".handshake.extensions.supported_versions", \
+ FT_UINT16, BASE_HEX, VALS(ssl_versions), 0x0, \
+ NULL, HFILL } \
+ }, \
{ & name .hf.hs_ext_cookie_len, \
{ "Cookie length", prefix ".handshake.extensions.cookie_len", \
FT_UINT16, BASE_DEC, NULL, 0x0, \