mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Resolve #2801 - remove repetitive assignment to ssl->in_msg (the first value was never used)
This commit is contained in:
@ -6414,7 +6414,7 @@ static int ssl_get_next_record( mbedtls_ssl_context *ssl )
|
|||||||
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
|
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
|
||||||
ssl->in_len = ssl->in_cid + rec.cid_len;
|
ssl->in_len = ssl->in_cid + rec.cid_len;
|
||||||
#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
|
#endif /* MBEDTLS_SSL_DTLS_CONNECTION_ID */
|
||||||
ssl->in_iv = ssl->in_msg = ssl->in_len + 2;
|
ssl->in_iv = ssl->in_len + 2;
|
||||||
|
|
||||||
/* The record content type may change during decryption,
|
/* The record content type may change during decryption,
|
||||||
* so re-read it. */
|
* so re-read it. */
|
||||||
|
Reference in New Issue
Block a user