]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - tools/nonce2key/crypto1.c
FIX: Coverity Scans complain about uninitialized usage of struct. Setting s->ODD...
[proxmark3-svn] / tools / nonce2key / crypto1.c
index d15a40e31b02224884c21713bf98282e3888fc7d..57a6c1df9157ce5bed3653af91d9dec630d919c5 100644 (file)
@@ -23,6 +23,7 @@
 struct Crypto1State * crypto1_create(uint64_t key)
 {
        struct Crypto1State *s = malloc(sizeof(*s));
+       s->odd = s->even = 0;   
        int i;
 
        for(i = 47;s && i > 0; i -= 2) {
Impressum, Datenschutz