mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-14 04:46:27 +00:00
Make hmac_ctx optional
Note from future self: actually md_init_ctx will be re-introduced with the same signature later, and a new function with the additional argument will be added.
This commit is contained in:
@@ -204,7 +204,7 @@ int main( int argc, char *argv[] )
|
||||
polarssl_fprintf( stderr, "Message Digest '%s' not found\n", argv[1] );
|
||||
return( 1 );
|
||||
}
|
||||
if( md_init_ctx( &md_ctx, md_info) )
|
||||
if( md_init_ctx( &md_ctx, md_info, 0 ) )
|
||||
{
|
||||
polarssl_fprintf( stderr, "Failed to initialize context.\n" );
|
||||
return( 1 );
|
||||
|
||||
Reference in New Issue
Block a user