mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-18 00:59:53 +00:00
Fix incorrect size used for zeroization of buffer
Signed-off-by: Paul Elliott <[email protected]>
This commit is contained in:
+1
-1
@@ -7722,7 +7722,7 @@ static int ssl_calc_finished_tls_generic(mbedtls_ssl_context *ssl, void *ctx,
|
||||
|
||||
MBEDTLS_SSL_DEBUG_BUF(3, "calc finished result", buf, len);
|
||||
|
||||
mbedtls_platform_zeroize(padbuf, sizeof(padbuf));
|
||||
mbedtls_platform_zeroize(padbuf, hlen);
|
||||
|
||||
MBEDTLS_SSL_DEBUG_MSG(2, ("<= calc finished"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user