]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: maybe this init works better?
authoriceman <iceman@iuse.se>
Tue, 12 Jan 2016 14:57:53 +0000 (15:57 +0100)
committericeman <iceman@iuse.se>
Tue, 12 Jan 2016 14:57:53 +0000 (15:57 +0100)
client/cmdhfmfhard.c

index e2d6da74ebd7c042b113eda6333c99bff2e62913..2c1ed7c429498634e5ed7c0e5b4d4f607d699930 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