mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 04:35:28 +00:00
Minor style corrections
Move function block brace outside conditional compilation to not confuse some editors, and correct indentation.
This commit is contained in:
parent
9ac640326b
commit
9b2b66ebd2
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue