mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Capitalise MPS trace macros
Capitalise the MPS trace macros, as per the coding style (and make a slight change to naming convention to avoid a name collision). Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
@ -104,7 +104,7 @@
|
||||
{ \
|
||||
if( !(cond) ) \
|
||||
{ \
|
||||
MBEDTLS_MPS_TRACE( mbedtls_mps_trace_error, string ); \
|
||||
MBEDTLS_MPS_TRACE( MBEDTLS_MPS_TRACE_TYPE_ERROR, string ); \
|
||||
MBEDTLS_MPS_TRACE_RETURN( MBEDTLS_ERR_MPS_OPERATION_UNEXPECTED ); \
|
||||
} \
|
||||
} while( 0 )
|
||||
@ -126,7 +126,7 @@
|
||||
{ \
|
||||
if( !(cond) ) \
|
||||
{ \
|
||||
MBEDTLS_MPS_TRACE( mbedtls_mps_trace_error, string ); \
|
||||
MBEDTLS_MPS_TRACE( MBEDTLS_MPS_TRACE_TYPE_ERROR, string ); \
|
||||
MBEDTLS_MPS_TRACE_RETURN( MBEDTLS_ERR_MPS_INTERNAL_ERROR ); \
|
||||
} \
|
||||
} while( 0 )
|
||||
|
Reference in New Issue
Block a user