]> git.ipfire.org Git - thirdparty/openssl.git/commit
tls_common.c: Handle inner content type properly on Big Endian
authorTomas Mraz <tomas@openssl.org>
Sat, 20 Sep 2025 14:45:50 +0000 (16:45 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 23 Sep 2025 14:37:35 +0000 (16:37 +0200)
commit2edf021463518d9af905b1b03f952ea643b3fb9b
tree9d03d8847ed7d159cee496dadd3cb0814f490d51
parente7f88391867dd71dc0ef37646f497411bea5350c
tls_common.c: Handle inner content type properly on Big Endian

When passing the inner content type to msg_callback,
the lowest byte of rec->type needs to be passed instead
of directly passing the rec->type otherwise the value is
incorrect on Big Endian platforms.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28627)
ssl/record/methods/tls_common.c