]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfhard.c
FIX: 256 is too big for uint8_t
[proxmark3-svn] / client / cmdhfmfhard.c
index 07421ea19b3bbb2ac14feeec6c981f476e3b019c..eac783ff3903a6adcebf5fe88ec7348c234f9694 100644 (file)
@@ -686,8 +686,8 @@ 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;
+       struct Crypto1State sim_cs = {0, 0};
+//     sim_cs.odd = sim_cs.even = 0;
 
        // init cryptostate with key:
        for(int8_t i = 47; i > 0; i -= 2) {
Impressum, Datenschutz