Move sequence increment to post encryption processing
authorMatt Caswell <matt@openssl.org>
Mon, 17 Oct 2022 13:42:09 +0000 (14:42 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 20 Oct 2022 13:39:33 +0000 (14:39 +0100)
commit421386e392151c267ac7d3de6a2dd23c0ab62aed
treed02cfe210ce85760b9ea7c457aec2c984d095307
parent3abc0d3e8504f730117e3b68dfb1aab81c5e51fe
Move sequence increment to post encryption processing

This change make dtls_write_records virtuall the same as
tls_write_records_default, which will enable us to merge them in a
subsequent commit.

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