mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 12:35:37 +00:00
Fix error text and whitespace in crypt_and_hash.c
This commit is contained in:
parent
75dea20fee
commit
d7fb3fd4e6
|
@ -386,11 +386,11 @@ int main( int argc, char *argv[] )
|
|||
*/
|
||||
if( filesize < 16 + mbedtls_md_get_size( md_info ) )
|
||||
{
|
||||
mbedtls_fprintf( stderr, "File too short to be encrypted.\n" );
|
||||
mbedtls_fprintf( stderr, "File too short to be decrypted.\n" );
|
||||
goto exit;
|
||||
}
|
||||
|
||||
if( mbedtls_cipher_get_block_size( &cipher_ctx ) == 0 )
|
||||
if( mbedtls_cipher_get_block_size( &cipher_ctx ) == 0 )
|
||||
{
|
||||
mbedtls_fprintf( stderr, "Invalid cipher block size: 0. \n" );
|
||||
goto exit;
|
||||
|
|
Loading…
Reference in a new issue