]> 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:13 +0000 (15:26 +0200)
commita0078dc5997fec2e6549b2da0fcfcd99a57a78ab
treea32d5d8e995d0ad8ad94101ead28dda357f0934a
parent2b39339e40cf97ff5594723176dc1e2e0c4dd884
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