]> git.ipfire.org Git - thirdparty/openssl.git/commit
Move the record padding callback fully into the record layer
authorMatt Caswell <matt@openssl.org>
Wed, 31 Aug 2022 14:41:16 +0000 (15:41 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 23 Sep 2022 13:54:49 +0000 (14:54 +0100)
commit5f95eb77e780cc0b90a7da6cc4f79c7bb153ca64
treeb661b28d48c9a28ef896304f7bc8c025d95bffdb
parentf2892e21619a2c59e957f7f9121f24713bcad3e9
Move the record padding callback fully into the record layer

We wrap the callback and pass it to the record layer via the dispatch
array, in order to avoid accessing it directly via SSL_CONNECTION.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19198)
ssl/record/methods/recmethod_local.h
ssl/record/methods/tls_common.c
ssl/record/rec_layer_s3.c
ssl/record/record.h