Resolve #2801 - remove repetitive assignment to ssl->in_msg (the first value was never used)
This commit is contained in:
parent
734f0cf65e
commit
89af51ff39
1 changed files with 1 additions and 1 deletions
|
@ -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. */
|
||||||
|
|
Loading…
Reference in a new issue