Skip to content

Commit

Permalink
Fixed type error on i686 - uint64_t for AES-CTR
Browse files Browse the repository at this point in the history
  • Loading branch information
Knogle committed Aug 23, 2024
1 parent e56a47c commit 31df3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prng.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,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, (unsigned long*) ( seed->s ), seed->length / sizeof( unsigned long ) )
(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 31df3eb

Please sign in to comment.