diff options
author | Matt Caswell <matt@openssl.org> | 2022-10-27 14:14:53 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-11-02 10:24:08 +0000 |
commit | f8e6dda7b7c2d9456ca3b175ac6aa0d0b9bc84b0 (patch) | |
tree | e56236118fd7fa6ae0f8c71638ad70ceae437919 /test | |
parent | c5bc976d9a0fe8c12962ee774abcb78673ea8bff (diff) |
Fix the ceiling on how much encryption growth we can have
Stitched ciphersuites can grow by more during encryption than the code
allowed for. We fix the calculation and add an assert to check we go it
right.
Note that this is not a security issue. Even though we can overflow the
amount of bytes reserved in the WPACKET for the encryption, the underlying
buffer is still big enough.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19517)
(cherry picked from commit eaa206007322ab0b1eaf9f83485e56deafc9df80)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions