]> 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:24:52 +0000 (15:24 +0200)
commitfc0e79461f05406d52fca564204cb8a48f983eb5
treeb4c1422244b61d6b1696a7ae0956fe4d4a735d1b
parent3d3bb26a13dcc67f99e66de6a44ae9ced117f64b
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)
ssl/record/methods/tls_common.c