mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 22:19:05 +00:00
Fixed const correctness issues in programs and tests
(cherry picked from commit e0225e4d7f)
Conflicts:
programs/ssl/ssl_client2.c
programs/ssl/ssl_server2.c
programs/test/ssl_test.c
programs/x509/cert_app.c
This commit is contained in:
parent
3c2122ff9d
commit
ef3f8c747e
21 changed files with 112 additions and 93 deletions
|
|
@ -61,7 +61,7 @@ int main( int argc, char *argv[] )
|
|||
}
|
||||
|
||||
entropy_init( &entropy );
|
||||
ret = ctr_drbg_init( &ctr_drbg, entropy_func, &entropy, (unsigned char *) "RANDOM_GEN", 10 );
|
||||
ret = ctr_drbg_init( &ctr_drbg, entropy_func, &entropy, (const unsigned char *) "RANDOM_GEN", 10 );
|
||||
if( ret != 0 )
|
||||
{
|
||||
printf( "failed in ctr_drbg_init: %d\n", ret );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue