commit | 4c579391b14f2af25fa8987e3966375474d8301f | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Wed May 30 13:58:38 2018 +0100 |
committer | Janos Follath <janos.follath@arm.com> | Wed May 30 13:58:38 2018 +0100 |
tree | 9967dee4ebe79a83aa9dd86e62aafbd573e23be4 | |
parent | 143b319773c74740b8d3a4010fabd64859168c6d [diff] |
CCM*: Remove superfluous braces
diff --git a/library/ccm.c b/library/ccm.c index 32f8bb0..804eaf8 100644 --- a/library/ccm.c +++ b/library/ccm.c
@@ -156,9 +156,7 @@ * 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 )