]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/mifarehost.c
CHG: syntax suger
[proxmark3-svn] / client / mifarehost.c
index 4e9ac539d40323e7e849c7b6d98a7d54eedc588b..4b3ee486e13db90254094e40d92fc51f5f0fdc33 100644 (file)
@@ -218,14 +218,13 @@ out:
 }\r
 \r
 int mfCheckKeys (uint8_t blockNo, uint8_t keyType, bool clear_trace, uint8_t keycnt, uint8_t * keyBlock, uint64_t * key){\r
-\r
        *key = 0;\r
        UsbCommand c = {CMD_MIFARE_CHKKEYS, { (blockNo | (keyType<<8)), clear_trace, keycnt}};\r
        memcpy(c.d.asBytes, keyBlock, 6 * keycnt);\r
        clearCommandBuffer();\r
        SendCommand(&c);\r
        UsbCommand resp;\r
-       if (!WaitForResponseTimeout(CMD_ACK,&resp, 2500)) return 1;\r
+       if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) return 1;\r
        if ((resp.arg[0] & 0xff) != 0x01) return 2;\r
        *key = bytes_to_num(resp.d.asBytes, 6);\r
        return 0;\r
Impressum, Datenschutz