mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-03 23:43:40 +00:00
Remove duplicate mbedtls_platform_zeroize for tls13_early_secrets
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
16c895dff3
commit
f206c1493b
@ -1178,10 +1178,6 @@ static int ssl_tls13_generate_early_key(mbedtls_ssl_context *ssl,
|
||||
traffic_keys->key_len = key_len;
|
||||
traffic_keys->iv_len = iv_len;
|
||||
|
||||
/* Erase early secrets */
|
||||
mbedtls_platform_zeroize(
|
||||
&tls13_early_secrets, sizeof(mbedtls_ssl_tls13_early_secrets));
|
||||
|
||||
MBEDTLS_SSL_DEBUG_BUF(4, "client early write_key",
|
||||
traffic_keys->client_write_key,
|
||||
traffic_keys->key_len);
|
||||
|
Loading…
Reference in New Issue
Block a user