From 4c579391b14f2af25fa8987e3966375474d8301f Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Wed, 30 May 2018 13:58:38 +0100 Subject: [PATCH] CCM*: Remove superfluous braces --- library/ccm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/library/ccm.c b/library/ccm.c index 32f8bb098..804eaf80f 100644 --- a/library/ccm.c +++ b/library/ccm.c @@ -156,9 +156,7 @@ static int ccm_auth_crypt( mbedtls_ccm_context *ctx, int mode, size_t length, * Also, loosen the requirements to enable support for CCM* (IEEE 802.15.4). */ if( tag_len == 2 || tag_len > 16 || tag_len % 2 != 0 ) - { return( MBEDTLS_ERR_CCM_BAD_INPUT ); - } /* Also implies q is within bounds */ if( iv_len < 7 || iv_len > 13 )