Cleanse also the send stream data with SSL_OP_CLEANSE_PLAINTEXT
authorTomas Mraz <tomas@openssl.org>
Wed, 28 Jun 2023 14:34:14 +0000 (16:34 +0200)
committerPauli <pauli@openssl.org>
Sun, 2 Jul 2023 23:15:13 +0000 (09:15 +1000)
commit6ba2edb7143472e306cbb4cbee9bae3094bc01ef
tree0a12a67a34d03bf723d77038d08ef5e10e5f0f5a
parent9e87e4e8ac2c5c75eae0ef1d4208e2aa12ff57dc
Cleanse also the send stream data with SSL_OP_CLEANSE_PLAINTEXT

QUIC differs from TLS in this regard because it buffers the
data to be sent. TLS just encrypts the data to send in place.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21311)
include/internal/quic_stream.h
ssl/quic/quic_channel.c
ssl/quic/quic_impl.c
ssl/quic/quic_sstream.c