Convert dtls_write_records to use standard record layer functions
authorMatt Caswell <matt@openssl.org>
Thu, 13 Oct 2022 15:44:22 +0000 (16:44 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 20 Oct 2022 13:39:33 +0000 (14:39 +0100)
commitb9e37f8f573de1951655f6d8684f2f65ffc6905b
tree4c9de2b8edeb44e20ff40bc09e0ad388f668af98
parent248a9bf21ad5a61d911765964e2758e0da3c554c
Convert dtls_write_records to use standard record layer functions

We have standard functions for most of the work that dtls_write_records
does - so we convert it to use those functions instead.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19424)
ssl/record/methods/dtls_meth.c
ssl/record/methods/recmethod_local.h
ssl/record/methods/tls1_meth.c
ssl/record/methods/tls_common.c
ssl/record/methods/tlsany_meth.c
ssl/record/rec_layer_s3.c
ssl/ssl_local.h
ssl/statem/statem_dtls.c