diff options
author | Peter Wu <peter@lekensteyn.nl> | 2017-03-17 15:46:14 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-03-18 23:20:13 +0000 |
commit | 2337b7bd20e6db80797384a03a83a45c4b58a580 (patch) | |
tree | 36a1892311a695a2f5dbeb468a375f44e6521ae2 /epan/dissectors/packet-ssl-utils.h | |
parent | a126c8093dbacb60e525dc9b306a2726f9ceb97a (diff) |
TLS13: update early_data for draft -19
Added new max_early_data_size for NewSessionTicket.
Change-Id: I6886415d03ffdce983b49649ad52ff0f897f2f77
Ping-Bug: 12779
Reviewed-on: https://code.wireshark.org/review/20591
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.h')
-rw-r--r-- | epan/dissectors/packet-ssl-utils.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ssl-utils.h b/epan/dissectors/packet-ssl-utils.h index 2fb698aa04..9e5b242ad1 100644 --- a/epan/dissectors/packet-ssl-utils.h +++ b/epan/dissectors/packet-ssl-utils.h @@ -783,6 +783,7 @@ typedef struct ssl_common_dissect { gint sct_sct_extensions; gint sct_sct_signature; gint sct_sct_signature_length; + gint hs_ext_max_early_data_size; /* do not forget to update SSL_COMMON_LIST_T and SSL_COMMON_HF_LIST! */ } hf; @@ -976,7 +977,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, \ }, \ /* ett */ { \ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \ @@ -1651,6 +1652,11 @@ ssl_common_dissect_t name = { \ { "Signature", prefix ".sct.sct_signature", \ FT_BYTES, BASE_NONE, NULL, 0x00, \ NULL, HFILL } \ + }, \ + { & name .hf.hs_ext_max_early_data_size, \ + { "Maximum Early Data Size", prefix ".early_data.max_early_data_size", \ + FT_UINT32, BASE_DEC, NULL, 0x00, \ + "Maximum amount of 0-RTT data that the client may send", HFILL } \ } /* }}} */ |