Create the write record layer method and object and use it
authorMatt Caswell <matt@openssl.org>
Fri, 19 Aug 2022 15:54:09 +0000 (16:54 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 23 Sep 2022 13:43:24 +0000 (14:43 +0100)
commit2b71b042202d11854801682d48ccf4e4e34cd5cf
tree058aca485755d1945564780dea3f8fc8e17c2f3f
parenta566864b607317fc95cbe190bbf0b8b928fcfa77
Create the write record layer method and object and use it

Make sure we set the write record layer method and create the object
where appropriate. Move the newly restructured writing code into the
record layer object.

For now we are cheating and still accessing the underlying SSL_CONNECTION
object. This will be removed in subsequent commits.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19198)
12 files changed:
ssl/record/methods/dtls_meth.c
ssl/record/methods/ktls_meth.c
ssl/record/methods/recmethod_local.h
ssl/record/methods/tls_common.c
ssl/record/rec_layer_s3.c
ssl/record/record.h
ssl/record/recordmethod.h
ssl/s3_enc.c
ssl/s3_msg.c
ssl/ssl_lib.c
ssl/t1_enc.c
ssl/tls13_enc.c