Fix edit mistake in cipher_wrap.c

Error was from 08c337d058
This commit is contained in:
Manuel Pégourié-Gonnard 2018-05-24 14:06:02 +02:00
parent d0f143b1c9
commit 39f25616b3

View file

@ -841,8 +841,7 @@ static int aria_crypt_cbc_wrap( void *ctx, mbedtls_operation_t operation,
size_t length, unsigned char *iv,
const unsigned char *input, unsigned char *output )
{
(void) operation;
return mbedtls_aria_crypt_cbc( (mbedtls_aria_context *) ctx, length, iv,
return mbedtls_aria_crypt_cbc( (mbedtls_aria_context *) ctx, operation, length, iv,
input, output );
}
#endif /* MBEDTLS_CIPHER_MODE_CBC */