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

@ -446,13 +446,12 @@ 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

@ -848,14 +848,12 @@ 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;