mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-21 06:40:50 +00:00
tls: always zeroize buffer on exit
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
3589a4c644
commit
6835b4a6ed
@ -2682,6 +2682,7 @@ static int ssl_get_ecdh_params_from_cert(mbedtls_ssl_context *ssl)
|
||||
break;
|
||||
}
|
||||
|
||||
mbedtls_platform_zeroize(buf, sizeof(buf));
|
||||
ret = 0;
|
||||
break;
|
||||
#endif /* !MBEDTLS_PK_USE_PSA_EC_DATA */
|
||||
|
Loading…
x
Reference in New Issue
Block a user