mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-23 22:45:22 +00:00
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
e4cc8c1ee0
commit
61f7d73336
|
@ -58,8 +58,8 @@
|
||||||
#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 ) )
|
||||||
|
@ -113,7 +113,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 ) \
|
||||||
|
|
|
@ -2525,7 +2525,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