mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Fix use of deprecated function in the library
This commit is contained in:
@@ -314,7 +314,7 @@ void hmac_drbg_free( hmac_drbg_context *ctx )
|
|||||||
if( ctx == NULL )
|
if( ctx == NULL )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
md_free_ctx( &ctx->md_ctx );
|
md_free( &ctx->md_ctx );
|
||||||
|
|
||||||
polarssl_zeroize( ctx, sizeof( hmac_drbg_context ) );
|
polarssl_zeroize( ctx, sizeof( hmac_drbg_context ) );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user