diff options
author | Peter Wu <peter@lekensteyn.nl> | 2017-03-17 13:53:40 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-03-19 21:57:12 +0000 |
commit | 18c4d1bb1f89dc9a75fbd3cb85a6024ceb2b3775 (patch) | |
tree | bf61a0f561418c18a8823f2ca02f14db7b052662 /epan | |
parent | 2d6e634f34559b9dea7affa51f93090333df8e5c (diff) |
TLS13: update HRR for draft -19
Change-Id: I4b229350fbc6740b307e52086cc0529a888c8eb4
Ping-Bug: 12779
Reviewed-on: https://code.wireshark.org/review/20587
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ssl-utils.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c index 471ba1bc27..2c2a83fc48 100644 --- a/epan/dissectors/packet-ssl-utils.c +++ b/epan/dissectors/packet-ssl-utils.c @@ -7262,9 +7262,10 @@ ssl_dissect_hnd_hello_retry_request(ssl_common_dissect_t *hf, tvbuff_t *tvb, SslSession *session, SslDecryptSession *ssl, gboolean is_dtls) { - /* https://tools.ietf.org/html/draft-ietf-tls-tls13-18#section-4.1.4 + /* https://tools.ietf.org/html/draft-ietf-tls-tls13-19#section-4.1.4 * struct { * ProtocolVersion server_version; + * CipherSuite cipher_suite; * Extension extensions<2..2^16-1>; * } HelloRetryRequest; */ @@ -7272,6 +7273,10 @@ ssl_dissect_hnd_hello_retry_request(ssl_common_dissect_t *hf, tvbuff_t *tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; + proto_tree_add_item(tree, hf->hf.hs_cipher_suite, + tvb, offset, 2, ENC_BIG_ENDIAN); + offset += 2; + ssl_dissect_hnd_extension(hf, tvb, tree, pinfo, offset, offset_end, SSL_HND_HELLO_RETRY_REQUEST, session, ssl, is_dtls); |