Remove trailing whitespace
Trailing white spaces causing check_files.py to fail Signed-off-by: Joe Subbiani <joe.subbiani@arm.com>
This commit is contained in:
parent
c4f3d5b38e
commit
6f2bb0c8ef
2 changed files with 4 additions and 4 deletions
|
@ -67,8 +67,8 @@ extern void (*mbedtls_test_hook_test_fail)( const char * test, int line, const c
|
||||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
|
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
|
||||||
|
|
||||||
/** Byte Reading Macros
|
/** Byte Reading Macros
|
||||||
*
|
*
|
||||||
* To tidy up code and save horizontal and vertical space, use byte
|
* To tidy up code and save horizontal and vertical space, use byte
|
||||||
* reading macros to cast
|
* reading macros to cast
|
||||||
*/
|
*/
|
||||||
#define BYTE_0( x ) ( (uint8_t) ( ( x ) & 0xff ) )
|
#define BYTE_0( x ) ( (uint8_t) ( ( x ) & 0xff ) )
|
||||||
|
@ -122,7 +122,7 @@ do { \
|
||||||
} while( 0 )
|
} while( 0 )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 32-bit integer conversion from bytes (little endian)
|
* 32-bit integer conversion from bytes (little endian)
|
||||||
*/
|
*/
|
||||||
#define BYTES_TO_U32_LE( data, offset ) \
|
#define BYTES_TO_U32_LE( data, offset ) \
|
||||||
|
|
|
@ -2254,7 +2254,7 @@ int mbedtls_ssl_flight_transmit( mbedtls_ssl_context *ssl )
|
||||||
* copy beginning of headers then fill fragmentation fields.
|
* copy beginning of headers then fill fragmentation fields.
|
||||||
* Handshake headers: type(1) len(3) seq(2) f_off(3) f_len(3) */
|
* Handshake headers: type(1) len(3) seq(2) f_off(3) f_len(3) */
|
||||||
memcpy( ssl->out_msg, cur->p, 6 );
|
memcpy( ssl->out_msg, cur->p, 6 );
|
||||||
|
|
||||||
ssl->out_msg[6] = BYTE_2( frag_off );
|
ssl->out_msg[6] = BYTE_2( frag_off );
|
||||||
ssl->out_msg[7] = BYTE_1( frag_off );
|
ssl->out_msg[7] = BYTE_1( frag_off );
|
||||||
ssl->out_msg[8] = BYTE_0( frag_off );
|
ssl->out_msg[8] = BYTE_0( frag_off );
|
||||||
|
|
Loading…
Reference in a new issue