mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-06 22:49:34 +01:00
Add explicit MBEDTLS_DEBUG_C-guard around debugging code
This commit is contained in:
parent
f0da6670dc
commit
b8f50147ee
1 changed files with 2 additions and 0 deletions
|
|
@ -4424,6 +4424,7 @@ static int ssl_load_buffered_message( mbedtls_ssl_context *ssl )
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_DEBUG_C)
|
||||||
/* Debug only */
|
/* Debug only */
|
||||||
{
|
{
|
||||||
unsigned offset;
|
unsigned offset;
|
||||||
|
|
@ -4438,6 +4439,7 @@ static int ssl_load_buffered_message( mbedtls_ssl_context *ssl )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* MBEDTLS_DEBUG_C */
|
||||||
|
|
||||||
/* Check if we have buffered and/or fully reassembled the
|
/* Check if we have buffered and/or fully reassembled the
|
||||||
* next handshake message. */
|
* next handshake message. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue