mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Remove in_hshdr
The first fragment of a fragmented handshake message always starts at the beginning of the buffer so there's no need to store it. Signed-off-by: Deomid rojer Ryabkov <rojer@rojer.me>
This commit is contained in:
@@ -1808,8 +1808,8 @@ struct mbedtls_ssl_context {
|
||||
|
||||
size_t MBEDTLS_PRIVATE(in_hslen); /*!< current handshake message length,
|
||||
including the handshake header */
|
||||
unsigned char *MBEDTLS_PRIVATE(in_hshdr); /*!< original handshake header start */
|
||||
size_t MBEDTLS_PRIVATE(in_hsfraglen); /*!< accumulated hs fragments length */
|
||||
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
|
||||
|
Reference in New Issue
Block a user