diff options
author | John Thacker <johnthacker@gmail.com> | 2023-03-09 17:28:27 -0500 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2023-03-11 02:03:16 +0000 |
commit | a329db7dd289d125417d32a2c10379e6a04b99dc (patch) | |
tree | ea03864905b8dd1dc0092e1e949160038601e932 /test | |
parent | 5f7122828cc3d379b447e6b4916415dc6a6dfa61 (diff) |
TLS: Fail without exception when decrypting truncated records
On truncated TLS records, just fail when attempting to decrypt or
calculate the handshake hash instead of raising an BoundsError.
The appropriate exception will be raised later when fields are
actually added to the tree.
This only makes a difference on the first pass, especially with
unencrypted initial handshake messages, as we don't try to decrypt
or calculate the hash on the second pass.
Fix #18896
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions