mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-08-16 16:17:48 +00:00
Call mbedtls_platform_zeroize via mbedtls_sha3_free
Signed-off-by: Dave Rodgman <[email protected]>
This commit is contained in:
+1
-1
@@ -286,7 +286,7 @@ int mbedtls_sha3_finish(mbedtls_sha3_context *ctx,
|
||||
ret = 0;
|
||||
|
||||
exit:
|
||||
mbedtls_platform_zeroize(ctx, sizeof(mbedtls_sha3_context));
|
||||
mbedtls_sha3_free(ctx);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user