mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-06 23:15:21 +00:00
Revert "Avoid formatting debug message uselessly"
This reverts commit 925a72628b.
Reason: introduced an ABI change in the maintenance branch.
This commit is contained in:
parent
84690c35ee
commit
705de2f98d
2 changed files with 2 additions and 7 deletions
|
|
@ -57,10 +57,7 @@
|
|||
|
||||
|
||||
#define SSL_DEBUG_MSG( level, args ) \
|
||||
do { \
|
||||
if( level <= debug_threshold ) \
|
||||
debug_print_msg_free( ssl, level, __FILE__, __LINE__, debug_fmt args ); \
|
||||
} while( 0 )
|
||||
debug_print_msg_free( ssl, level, __FILE__, __LINE__, debug_fmt args );
|
||||
|
||||
#define SSL_DEBUG_RET( level, text, ret ) \
|
||||
debug_print_ret( ssl, level, __FILE__, __LINE__, text, ret );
|
||||
|
|
@ -150,8 +147,6 @@ void debug_print_crt( const ssl_context *ssl, int level,
|
|||
const char *text, const x509_crt *crt );
|
||||
#endif
|
||||
|
||||
extern int debug_threshold;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue