]> git.ipfire.org Git - thirdparty/openssl.git/commit - ssl/record/methods/tls1_meth.c
Use common tls_write_records() even for DTLS
authorMatt Caswell <matt@openssl.org>
Fri, 7 Oct 2022 15:23:14 +0000 (16:23 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 20 Oct 2022 13:39:32 +0000 (14:39 +0100)
commit602ee1f672a41f984e8923ad7430ca51ca42abde
treeb7e49f757deff9bfa07cfef7aa52e22e6c869b86
parent4cdd198ec204a4c2ec6b3ec728ebcc8af04abc86
Use common tls_write_records() even for DTLS

In practice this just means have a DTLS specific write_records that the
common tls_write_records() just calls. We also replace the use of
ssl3_write_pending() with tls_retry_write_records().

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/tlsany_meth.c