Clean up and minor fixes following review

Minor fixes following review including:
    * formatting changes including indentation and code style
    * corrections
    * removal of debug code
    * clarification of code through variable renaming
    * memory leak
    * compiler warnings
This commit is contained in:
Simon Butcher 2016-10-06 12:49:58 +01:00
parent 5805fbedcb
commit f394e09431
5 changed files with 140 additions and 164 deletions

View file

@ -31,7 +31,7 @@ void mbedtls_cmac_setkey( int cipher_type, int key_size,
!= NULL );
TEST_ASSERT( result == mbedtls_cipher_cmac( cipher_info, key, key_size,
buf, 16, tmp ) != 0 );
buf, 16, tmp ) );
}
/* END_CASE */