diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-09-04 01:23:37 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-09-06 13:45:30 +0000 |
commit | 7a674c006b3d09735c9340ad74f02556fbd91cbd (patch) | |
tree | 748b60b5c61cb295aad2577f01e00c526262cb70 /wsutil | |
parent | 36c8065cc3fbe7eb36dd8474e53aca36cdca624d (diff) | |
download | wireshark-7a674c006b3d09735c9340ad74f02556fbd91cbd.tar.gz |
ssl: fix TLS renegotiation, add test for this
A handshake starts a new session, be sure to clear the previous state to
avoid creating a decoder with wrong secrets.
Renegotiations are also kind of transparant to the application layer, so
be sure to re-use an existing SslFlow. This fixes the Follow SSL stream
functionality which would previously ignore everything except for the
first session.
The capture file contains a crafted HTTP request/response over TLS 1.2,
interleaved with renegotiations. The HTTP response contains the Python
script used to generate the traffic. Surprise!
Change-Id: I0110ce76893d4a79330845e53e47e10f1c79e47e
Reviewed-on: https://code.wireshark.org/review/17480
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'wsutil')
0 files changed, 0 insertions, 0 deletions