Undo deprecation of MBEDTLS_ERR_BLOWFISH_INVALID_INPUT_LENGTH

This commit is contained in:
Hanno Becker 2018-12-18 09:45:17 +00:00
parent a034369eca
commit 6640b0d9a3
6 changed files with 10 additions and 9 deletions

View file

@ -265,7 +265,7 @@ int mbedtls_blowfish_crypt_cbc( mbedtls_blowfish_context *ctx,
unsigned char temp[MBEDTLS_BLOWFISH_BLOCKSIZE];
if( length % MBEDTLS_BLOWFISH_BLOCKSIZE )
return( MBEDTLS_ERR_BLOWFISH_BAD_INPUT_DATA );
return( MBEDTLS_ERR_BLOWFISH_INVALID_INPUT_LENGTH );
if( mode == MBEDTLS_BLOWFISH_DECRYPT )
{