Oops, use mbedtls_free() not plain free()

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
Tom Cosgrove 2022-12-16 11:02:06 +00:00
parent 1133d2325b
commit 342d00bc22

View File

@ -276,7 +276,7 @@ int mbedtls_mpi_mod_inv( mbedtls_mpi_mod_residue *X,
mbedtls_platform_zeroize( working_memory,
working_limbs * sizeof(mbedtls_mpi_uint) );
free( working_memory );
mbedtls_free( working_memory );
return ret;
}