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)
int idle( mbedtls_net_context *fd,
int idle_reason )
{
int idle_reason )
#else
int idle( mbedtls_net_context *fd,
mbedtls_timing_delay_context *timer,
int idle_reason )
{
mbedtls_timing_delay_context *timer,
int idle_reason )
#endif
{
int ret;
int poll_type = 0;

View file

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