Fix use of deprecated function in the library
This commit is contained in:
parent
0bf112e7dc
commit
9658391073
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ void hmac_drbg_free( hmac_drbg_context *ctx )
|
|||
if( ctx == NULL )
|
||||
return;
|
||||
|
||||
md_free_ctx( &ctx->md_ctx );
|
||||
md_free( &ctx->md_ctx );
|
||||
|
||||
polarssl_zeroize( ctx, sizeof( hmac_drbg_context ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue