mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Various const fixes
This commit is contained in:
parent
17d99fc6f2
commit
8fc30b178c
6 changed files with 26 additions and 26 deletions
|
|
@ -60,7 +60,7 @@ int main( int argc, char *argv[] )
|
|||
#else
|
||||
|
||||
#if defined(VERBOSE)
|
||||
static void dump_buf( char *title, unsigned char *buf, size_t len )
|
||||
static void dump_buf( const char *title, unsigned char *buf, size_t len )
|
||||
{
|
||||
size_t i;
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ static void dump_buf( char *title, unsigned char *buf, size_t len )
|
|||
printf( "\n" );
|
||||
}
|
||||
|
||||
static void dump_pubkey( char *title, ecdsa_context *key )
|
||||
static void dump_pubkey( const char *title, ecdsa_context *key )
|
||||
{
|
||||
unsigned char buf[300];
|
||||
size_t len;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue