remove comments
This commit is contained in:
1 parent
2432908e08
commit
91b1026f6d
1 file changed
+1
-14
@@ -2544,22 +2544,9 @@ int DesfireSetConfiguration(DesfireContext *dctx, uint8_t paramid, uint8_t *para
|
||||
memcpy(&data[1], param, paramlen);
|
||||
size_t datalen = 1 + paramlen;
|
||||
|
||||
|
||||
/*// add crc
|
||||
if (dctx->secureChannel == DACd40) {
|
||||
iso14443a_crc_append(&data[1], datalen - 1);
|
||||
datalen += 2;
|
||||
} else {
|
||||
desfire_crc32_append(cdata, datalen + 1);
|
||||
datalen += 4;
|
||||
}
|
||||
*/
|
||||
// dynamic length
|
||||
if (paramid == 0x02 && dctx->commMode == DCMEncrypted) {
|
||||
if (paramid == 0x02 && dctx->commMode == DCMEncrypted)
|
||||
dctx->commMode = DCMEncryptedWithPadding;
|
||||
//data[datalen] = 0x80;
|
||||
//datalen++;
|
||||
}
|
||||
|
||||
// send command
|
||||
uint8_t resp[257] = {0};
|
||||
|
||||
Reference in new issue
Block a user