1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Minor style corrections

Move function block brace outside conditional compilation
to not confuse some editors, and correct indentation.
This commit is contained in:
Hanno Becker
2018-03-15 12:21:15 +00:00
parent 9ac640326b
commit 9b2b66ebd2
2 changed files with 8 additions and 11 deletions

View File

@ -445,14 +445,13 @@ static int ssl_sig_hashes_for_test[] = {
*/ */
#if !defined(MBEDTLS_TIMING_C) #if !defined(MBEDTLS_TIMING_C)
int idle( mbedtls_net_context *fd, int idle( mbedtls_net_context *fd,
int idle_reason ) int idle_reason )
{
#else #else
int idle( mbedtls_net_context *fd, int idle( mbedtls_net_context *fd,
mbedtls_timing_delay_context *timer, mbedtls_timing_delay_context *timer,
int idle_reason ) int idle_reason )
{
#endif #endif
{
int ret; int ret;
int poll_type = 0; int poll_type = 0;

View File

@ -847,15 +847,13 @@ static int ssl_sig_hashes_for_test[] = {
*/ */
#if !defined(MBEDTLS_TIMING_C) #if !defined(MBEDTLS_TIMING_C)
int idle( mbedtls_net_context *fd, int idle( mbedtls_net_context *fd,
int idle_reason ) int idle_reason )
{
#else #else
int idle( mbedtls_net_context *fd, int idle( mbedtls_net_context *fd,
mbedtls_timing_delay_context *timer, mbedtls_timing_delay_context *timer,
int idle_reason ) int idle_reason )
{
#endif #endif
{
int ret; int ret;
int poll_type = 0; int poll_type = 0;