Use a record layer specific message callback
authorMatt Caswell <matt@openssl.org>
Wed, 25 May 2022 15:41:30 +0000 (16:41 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 18 Aug 2022 15:38:13 +0000 (16:38 +0100)
commit3c7b9ef9c56a8066e0e6f4c61bc2ac2648bb1e42
treea74602f15d9dce192724aed64cc8e9f1060adea4
parent9dd90232d537f0ccd457fe1e23f4cbe83917c70a
Use a record layer specific message callback

Don't use the message callback from the SSL object. Instead we use a
wrapper callback so that the record layer does not need to be aware of the
SSL object.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18132)
ssl/record/methods/recmethod_local.h
ssl/record/methods/tls_common.c
ssl/record/rec_layer_s3.c
ssl/record/record.h