Adapt programs / test suites
This commit is contained in:
parent
8f870b047c
commit
a317a98221
33 changed files with 76 additions and 12 deletions
|
@ -83,6 +83,9 @@ void entropy_init( entropy_context *ctx )
|
|||
|
||||
void entropy_free( entropy_context *ctx )
|
||||
{
|
||||
#if defined(POLARSSL_HAVEGE_C)
|
||||
havege_free( &ctx->havege_data );
|
||||
#endif
|
||||
polarssl_zeroize( ctx, sizeof( entropy_context ) );
|
||||
#if defined(POLARSSL_THREADING_C)
|
||||
polarssl_mutex_free( &ctx->mutex );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue