Fix a few style / whitespace issues

This commit is contained in:
Manuel Pégourié-Gonnard 2018-12-11 10:56:56 +01:00
parent 8a46c22466
commit 9b8ea89ae5
3 changed files with 2 additions and 4 deletions

View file

@ -3058,7 +3058,6 @@
*/ */
//#define MBEDTLS_PARAM_FAILED( cond ) assert( cond ) //#define MBEDTLS_PARAM_FAILED( cond ) assert( cond )
/* SSL Cache options */ /* SSL Cache options */
//#define MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT 86400 /**< 1 day */ //#define MBEDTLS_SSL_CACHE_DEFAULT_TIMEOUT 86400 /**< 1 day */
//#define MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES 50 /**< Maximum entries in cache */ //#define MBEDTLS_SSL_CACHE_DEFAULT_MAX_ENTRIES 50 /**< Maximum entries in cache */

View file

@ -41,7 +41,7 @@
extern "C" { extern "C" {
#endif #endif
#if defined( MBEDTLS_CHECK_PARAMS ) #if defined(MBEDTLS_CHECK_PARAMS)
#if defined(MBEDTLS_PARAM_FAILED) #if defined(MBEDTLS_PARAM_FAILED)
/** An alternative definition of MBEDTLS_PARAM_FAILED has been set in config.h. /** An alternative definition of MBEDTLS_PARAM_FAILED has been set in config.h.
@ -50,7 +50,7 @@ extern "C" {
* MBEDTLS_PARAM_FAILED() will expand to a call to mbedtls_param_failed(). * MBEDTLS_PARAM_FAILED() will expand to a call to mbedtls_param_failed().
*/ */
#define MBEDTLS_PARAM_FAILED_ALT #define MBEDTLS_PARAM_FAILED_ALT
#else #else /* MBEDTLS_PARAM_FAILED */
#define MBEDTLS_PARAM_FAILED( cond ) \ #define MBEDTLS_PARAM_FAILED( cond ) \
mbedtls_param_failed( #cond, __FILE__, __LINE__ ) mbedtls_param_failed( #cond, __FILE__, __LINE__ )

View file

@ -99,7 +99,6 @@ typedef enum
* *
* \param TEST The test expression to be tested. * \param TEST The test expression to be tested.
*/ */
#define TEST_ASSERT( TEST ) \ #define TEST_ASSERT( TEST ) \
do { \ do { \
if( ! (TEST) ) \ if( ! (TEST) ) \