Enhancement: change tls13_early_secrets to local variable
Since tls13_early_secrets is only temperately used in the function, there is no need to keep it in the handshake context. Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
6b4cb63aed
commit
bae9e74d39
2 changed files with 6 additions and 7 deletions
|
@ -986,7 +986,6 @@ struct mbedtls_ssl_handshake_params {
|
|||
|
||||
mbedtls_ssl_tls13_handshake_secrets tls13_hs_secrets;
|
||||
#if defined(MBEDTLS_SSL_EARLY_DATA)
|
||||
mbedtls_ssl_tls13_early_secrets tls13_early_secrets;
|
||||
/** TLS 1.3 transform for early data and handshake messages. */
|
||||
mbedtls_ssl_transform *transform_earlydata;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue