diff options
author | Peter Wu <peter@lekensteyn.nl> | 2017-01-30 05:28:21 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-01-31 14:55:37 +0000 |
commit | cf4f44e7a5453010cecfe8ad094f4482a0191c0e (patch) | |
tree | 498891f82f02ba5787f16bd1724419d51a30e759 /epan/dissectors/packet-ssl-utils.h | |
parent | 69ee6ec3d8e33c860d0c9e16bcfa4401ce506d8e (diff) |
TLS13: add Encrypted Extensions
See https://tools.ietf.org/html/draft-ietf-tls-tls13-18#section-4.3.1
Change-Id: I35e049d991be4c242ef2b84db3a322c6a13d2f96
Ping-Bug: 12779
Reviewed-on: https://code.wireshark.org/review/19860
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
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.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ssl-utils.h b/epan/dissectors/packet-ssl-utils.h index 67c09766ce..091c3f1c0f 100644 --- a/epan/dissectors/packet-ssl-utils.h +++ b/epan/dissectors/packet-ssl-utils.h @@ -63,6 +63,7 @@ typedef enum { SSL_HND_HELLO_VERIFY_REQUEST = 3, SSL_HND_NEWSESSION_TICKET = 4, SSL_HND_HELLO_RETRY_REQUEST = 6, + SSL_HND_ENCRYPTED_EXTENSIONS = 8, SSL_HND_CERTIFICATE = 11, SSL_HND_SERVER_KEY_EXCHG = 12, SSL_HND_CERT_REQUEST = 13, @@ -74,7 +75,7 @@ typedef enum { SSL_HND_CERT_STATUS = 22, SSL_HND_SUPPLEMENTAL_DATA = 23, /* Encrypted Extensions was NextProtocol in draft-agl-tls-nextprotoneg-03 - * and changed in draft 04 */ + * and changed in draft 04. Not to be confused with TLS 1.3 EE. */ SSL_HND_ENCRYPTED_EXTS = 67 } HandshakeType; @@ -865,6 +866,12 @@ ssl_dissect_hnd_hello_retry_request(ssl_common_dissect_t *hf, tvbuff_t *tvb, pac gboolean is_dtls); extern void +ssl_dissect_hnd_encrypted_extensions(ssl_common_dissect_t *hf, tvbuff_t *tvb, packet_info* pinfo, + proto_tree *tree, guint32 offset, guint32 length, + SslSession *session, SslDecryptSession *ssl, + gboolean is_dtls); + +extern void ssl_dissect_hnd_new_ses_ticket(ssl_common_dissect_t *hf, tvbuff_t *tvb, proto_tree *tree, guint32 offset, SslDecryptSession *ssl, |