Fix an assertion failure in tls_common.c
authorMatt Caswell <matt@openssl.org>
Wed, 10 Jan 2024 16:44:12 +0000 (16:44 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 31 Jan 2024 10:10:41 +0000 (10:10 +0000)
commit5fb065589d3a4dfeeb6d48b0561ab3145ceb2127
tree276828004ba281c975eb28a8eb7edd4ac68ed541
parent62ecad5378067ab1f702ef2381c2f4a279d15250
Fix an assertion failure in tls_common.c

When we clear the record layer, we better make sure we clear all relevant
fields, otherwise we can get ourselves into an unexpected state.

Fixes #23255

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23256)
ssl/ssl_lib.c