]> git.ipfire.org Git - thirdparty/openssl.git/commit
tls_common.c: Align the calculation of maximal alignment value
authorFrederik Wedel-Heinen <frederik.wedel-heinen@dencrypt.dk>
Tue, 22 Oct 2024 11:06:24 +0000 (13:06 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 24 Oct 2024 13:26:24 +0000 (15:26 +0200)
commit854502c8c180d9693b7f6d6660fd531d9dda1a7a
tree1716bbf9564cb07d3d6715c6dc2ffbf7f4cecd90
parentbefb786b1faefdc79b6fb3fbedab4546e8402d5e
tls_common.c: Align the calculation of maximal alignment value

In tls_setup_write_buffer() and tls_setup_read_buffer() the calculation
is different. Make them the same.

Fixes #25746

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25764)

(cherry picked from commit fc0e79461f05406d52fca564204cb8a48f983eb5)
ssl/record/methods/tls_common.c