- Fixed renumber error code for POLARSSL_ERR_CTR_DRBG_FILE_IO_ERROR
This commit is contained in:
Родитель
ccdb028629
Коммит
3f9b650b4b
|
@ -67,7 +67,7 @@ int main( int argc, char *argv[] )
|
|||
#if defined(POLARSSL_FS_IO)
|
||||
ret = ctr_drbg_update_seed_file( &ctr_drbg, "seedfile" );
|
||||
|
||||
if( ret == 1 )
|
||||
if( ret == POLARSSL_ERR_CTR_DRBG_FILE_IO_ERROR )
|
||||
{
|
||||
printf("Failed to open seedfile. Generating one.\n");
|
||||
ret = ctr_drbg_write_seed_file( &ctr_drbg, "seedfile" );
|
||||
|
|
Загрузка…
Ссылка в новой задаче