mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-05 05:59:23 +01:00
Rename md_init_ctx() to md_setup()
This commit is contained in:
parent
d4b9173269
commit
abb674467b
16 changed files with 32 additions and 32 deletions
|
|
@ -101,10 +101,10 @@ int main( int argc, char *argv[] )
|
|||
aes_init( &aes_ctx );
|
||||
md_init( &sha_ctx );
|
||||
|
||||
ret = md_init_ctx( &sha_ctx, md_info_from_type( POLARSSL_MD_SHA256 ), 1 );
|
||||
ret = md_setup( &sha_ctx, md_info_from_type( POLARSSL_MD_SHA256 ), 1 );
|
||||
if( ret != 0 )
|
||||
{
|
||||
polarssl_printf( " ! md_init_ctx() returned -0x%04x\n", -ret );
|
||||
polarssl_printf( " ! md_setup() returned -0x%04x\n", -ret );
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue