aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ssl-utils.h
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-07-09 15:56:31 +0200
committerMichael Mann <mmann78@netscape.net>2017-07-09 17:51:31 +0000
commit8869abfcb88d100e4f2ed134f53d6147d725161d (patch)
tree21968118706842ee184a7d7e044d0d80262eef3a /epan/dissectors/packet-ssl-utils.h
parent91a49173ee92bd8eaddda3fba20deb6ae1fbc3ca (diff)
TLS13: Add Ticket nonce
Add Ticket nonce added on Draft 21 Bug: 12779 Change-Id: I2891e1ffe700d85f703b29feacccdc6dd7ff376d Reviewed-on: https://code.wireshark.org/review/22565 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: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.h')
-rw-r--r--epan/dissectors/packet-ssl-utils.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ssl-utils.h b/epan/dissectors/packet-ssl-utils.h
index 17e539d7f9..a9dc8a1e3a 100644
--- a/epan/dissectors/packet-ssl-utils.h
+++ b/epan/dissectors/packet-ssl-utils.h
@@ -788,6 +788,8 @@ typedef struct ssl_common_dissect {
gint hs_comp_method;
gint hs_session_ticket_lifetime_hint;
gint hs_session_ticket_age_add;
+ gint hs_session_ticket_nonce_len;
+ gint hs_session_ticket_nonce;
gint hs_session_ticket_len;
gint hs_session_ticket;
gint hs_finished;
@@ -1009,7 +1011,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, -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, \
@@ -1585,6 +1587,16 @@ ssl_common_dissect_t name = { \
FT_UINT32, BASE_DEC, NULL, 0x0, \
"Random 32-bit value to obscure age of ticket", HFILL } \
}, \
+ { & name .hf.hs_session_ticket_nonce_len, \
+ { "Session Ticket Nonce Length", prefix ".handshake.session_ticket_nonce_length", \
+ FT_UINT8, BASE_DEC, NULL, 0x0, \
+ NULL, HFILL } \
+ }, \
+ { & name .hf.hs_session_ticket_nonce, \
+ { "Session Ticket Nonce", prefix ".handshake.session_ticket_nonce", \
+ FT_BYTES, BASE_NONE, NULL, 0x0, \
+ "A unique per-ticket value", HFILL } \
+ }, \
{ & name .hf.hs_session_ticket_len, \
{ "Session Ticket Length", prefix ".handshake.session_ticket_length", \
FT_UINT16, BASE_DEC, NULL, 0x0, \