Fixed const correctness issues in programs and tests

This commit is contained in:
Paul Bakker 2013-06-06 12:52:24 +02:00
parent eae09db9e5
commit e0225e4d7f
21 changed files with 108 additions and 89 deletions

View file

@ -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 );