Allow partially releasing a record for TLS
authorMatt Caswell <matt@openssl.org>
Mon, 27 Feb 2023 09:19:16 +0000 (09:19 +0000)
committerPauli <pauli@openssl.org>
Wed, 12 Apr 2023 01:02:01 +0000 (11:02 +1000)
commit7a4e109ebe5af83bad6447889e43ac2612375070
tree31dcd6ed8004872d115a0a05c1a20574b8724dbe
parent2eb91b0ec325924ae4b7dc596617a6fff71d7ae6
Allow partially releasing a record for TLS

This enables the cleansing of plaintext to occur in the record layer and
avoids the need to cast away const above the record layer.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20404)
include/internal/recordmethod.h
ssl/quic/quic_tls.c
ssl/record/methods/recmethod_local.h
ssl/record/methods/tls_common.c
ssl/record/rec_layer_d1.c
ssl/record/rec_layer_s3.c
ssl/record/record.h