mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 00:39:46 +00:00
- Added const-correctness to main codebase
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
#define DEBUG_LEVEL 4
|
||||
|
||||
void my_debug( void *ctx, int level, char *str )
|
||||
void my_debug( void *ctx, int level, const char *str )
|
||||
{
|
||||
if( level < DEBUG_LEVEL )
|
||||
{
|
||||
|
||||
@@ -53,7 +53,7 @@ struct options
|
||||
char *request_page; /* page on server to request */
|
||||
} opt;
|
||||
|
||||
void my_debug( void *ctx, int level, char *str )
|
||||
void my_debug( void *ctx, int level, const char *str )
|
||||
{
|
||||
if( level < opt.debug_level )
|
||||
{
|
||||
|
||||
@@ -80,7 +80,7 @@ int my_ciphers[] =
|
||||
|
||||
#define DEBUG_LEVEL 0
|
||||
|
||||
void my_debug( void *ctx, int level, char *str )
|
||||
void my_debug( void *ctx, int level, const char *str )
|
||||
{
|
||||
if( level < DEBUG_LEVEL )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user