Ensure our buffer allocation allows for the Explicit IV
authorMatt Caswell <matt@openssl.org>
Thu, 19 Jan 2023 11:59:44 +0000 (11:59 +0000)
committerPauli <pauli@openssl.org>
Tue, 24 Jan 2023 00:21:43 +0000 (11:21 +1100)
commit3be93f1b264d35ad93ceb71affacdef1b930c3c6
treeff51a5ee20c4e75efd9be4cde1a9db43c0d7abb4
parent5e73bf03d78da6a635a0a48e1e584f5b9ead45e2
Ensure our buffer allocation allows for the Explicit IV

Some ciphers/protocol versions have an explicit IV. We need to make sure we
have sufficient room for it in the underlying buffer.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20086)
ssl/record/ssl3_buffer.c