From d7fb3fd4e61372db9efea48b0251683f4e4604e7 Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Sat, 3 Sep 2016 12:43:44 +0100 Subject: [PATCH] Fix error text and whitespace in crypt_and_hash.c --- programs/aes/crypt_and_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/aes/crypt_and_hash.c b/programs/aes/crypt_and_hash.c index d889245b9..02f57b3d1 100644 --- a/programs/aes/crypt_and_hash.c +++ b/programs/aes/crypt_and_hash.c @@ -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;