Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Knogle committed Aug 23, 2024
1 parent 31df3eb commit 03284d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/prng.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,7 @@ int nwipe_aes_ctr_prng_init( NWIPE_PRNG_INIT_SIGNATURE )
}

// Initialize the PRNG state with the provided seed.
if( aes_ctr_prng_init(
(aes_ctr_state_t*) *state, (uint64_t*) ( seed->s ), seed->length / sizeof( uint64_t ) )
if( aes_ctr_prng_init( (aes_ctr_state_t*) *state, (uint64_t*) ( seed->s ), seed->length / sizeof( uint64_t ) )
!= 0 )
{
nwipe_log( NWIPE_LOG_SANITY, "Fatal error occured during PRNG init in OpenSSL." );
Expand Down

0 comments on commit 03284d7

Please sign in to comment.