mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Adapt programs / test suites
This commit is contained in:
parent
84bbeb58df
commit
d2a2d61a68
6 changed files with 65 additions and 47 deletions
|
|
@ -165,7 +165,7 @@ int main( int argc, char *argv[] )
|
|||
const md_info_t *md_info;
|
||||
md_context_t md_ctx;
|
||||
|
||||
memset( &md_ctx, 0, sizeof( md_context_t ));
|
||||
md_init( &md_ctx );
|
||||
|
||||
if( argc == 1 )
|
||||
{
|
||||
|
|
@ -217,7 +217,7 @@ int main( int argc, char *argv[] )
|
|||
ret |= generic_print( md_info, argv[i] );
|
||||
|
||||
exit:
|
||||
md_free_ctx( &md_ctx );
|
||||
md_free( &md_ctx );
|
||||
|
||||
return( ret );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue