mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 23:21:04 +00:00
Fixed memory leak in rsa.c introduced in 43f9799
This commit is contained in:
parent
60ad84f43f
commit
62087eed22
|
@ -1,5 +1,9 @@
|
|||
PolarSSL ChangeLog
|
||||
|
||||
= Branch 1.2
|
||||
Bugfix
|
||||
* Fixed memory leak in RSA as a result of introduction of blinding
|
||||
|
||||
= Version 1.2.9 released 2013-10-01
|
||||
Changes
|
||||
* x509_verify() now case insensitive for cn (RFC 6125 6.4)
|
||||
|
|
|
@ -1347,6 +1347,7 @@ int rsa_pkcs1_verify( rsa_context *ctx,
|
|||
*/
|
||||
void rsa_free( rsa_context *ctx )
|
||||
{
|
||||
mpi_free( &ctx->Vi ); mpi_free( &ctx->Vf );
|
||||
mpi_free( &ctx->RQ ); mpi_free( &ctx->RP ); mpi_free( &ctx->RN );
|
||||
mpi_free( &ctx->QP ); mpi_free( &ctx->DQ ); mpi_free( &ctx->DP );
|
||||
mpi_free( &ctx->Q ); mpi_free( &ctx->P ); mpi_free( &ctx->D );
|
||||
|
|
Loading…
Reference in a new issue