]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
added destroy
authorOleg Moiseenko <olegmsn@gmail.com>
Sat, 10 Feb 2018 21:28:15 +0000 (23:28 +0200)
committerOleg Moiseenko <olegmsn@gmail.com>
Sat, 10 Feb 2018 21:28:15 +0000 (23:28 +0200)
client/cmdhflist.c

index dc3d96400d4cc323ab21a7c9abda38d74cee62af..b1bd8a7ae9d289871b89d2e8773396c9feee5650 100644 (file)
@@ -377,5 +377,7 @@ bool NestedCheckKey(uint64_t key, TAuthData *ad, uint8_t *cmd, uint8_t cmdsize)
        memcpy(buf, cmd, cmdsize);
        mf_crypto1_decrypt(pcs, buf, cmdsize, 0);
        
        memcpy(buf, cmd, cmdsize);
        mf_crypto1_decrypt(pcs, buf, cmdsize, 0);
        
+       crypto1_destroy(pcs);
+       
        return CheckCrc14443(CRC_14443_A, buf, cmdsize);
 }
\ No newline at end of file
        return CheckCrc14443(CRC_14443_A, buf, cmdsize);
 }
\ No newline at end of file
Impressum, Datenschutz