FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD and s->EVEN to zero should do the trick.

This commit is contained in:
iceman1001 committed 2016-01-20 11:31:24 +01:00
1 parent 53831b8818
commit bf22fab73b
5 files changed
+5

No files matched your search

+1
View File
@@ -687,6 +687,7 @@ static void Check_for_FilterFlipProperties(void)
static void simulate_MFplus_RNG(uint32_t test_cuid, uint64_t test_key, uint32_t *nt_enc, uint8_t *par_enc)
{
struct Crypto1State sim_cs;
sim_cs.odd = sim_cs.even = 0;
// init cryptostate with key:
for(int8_t i = 47; i > 0; i -= 2) {