1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Merge pull request #9872 from rojer/tls_hs_defrag_in

Defragment incoming TLS handshake messages
This commit is contained in:
Manuel Pégourié-Gonnard
2025-02-24 09:28:11 +01:00
committed by GitHub
6 changed files with 110 additions and 41 deletions

View File

@@ -1795,6 +1795,8 @@ struct mbedtls_ssl_context {
size_t MBEDTLS_PRIVATE(in_hslen); /*!< current handshake message length,
including the handshake header */
size_t MBEDTLS_PRIVATE(in_hsfraglen); /*!< accumulated length of hs fragments
(up to in_hslen) */
int MBEDTLS_PRIVATE(nb_zero); /*!< # of 0-length encrypted messages */
int MBEDTLS_PRIVATE(keep_current_message); /*!< drop or reuse current message