X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/99136c6eefdc8f1bba10ece22572e471b6deebb1..be67483e63430608982f1c92e02b59d7b4dc65b3:/armsrc/emvcmd.c diff --git a/armsrc/emvcmd.c b/armsrc/emvcmd.c index 217ded54..7055e259 100644 --- a/armsrc/emvcmd.c +++ b/armsrc/emvcmd.c @@ -977,7 +977,7 @@ void SimulateEMVcard() cmdsRecvd++; if (p_response != NULL) { - EmSendCmd14443aRaw(p_response->modulation, p_response->modulation_n, receivedCmd[0] == 0x52); + EmSendCmd14443aRaw(p_response->modulation, p_response->modulation_n); // do the tracing for the previous reader request and this tag answer: @@ -1068,7 +1068,7 @@ void EMVFuzz_RATS(uint8_t ratslen, uint8_t* RATS) uint8_t *receivedCmdPar = BigBuf_malloc(MAX_PARITY_SIZE); // To control where we are in the protocol - int order; + int order = 0; // We need to listen to the high-frequency, peak-detected path. iso14443a_setup(FPGA_HF_ISO14443A_TAGSIM_LISTEN); @@ -1096,11 +1096,11 @@ void EMVFuzz_RATS(uint8_t ratslen, uint8_t* RATS) } if (receivedCmd[0] == 0xE0) { // Received a RATS request p_response = &responses[3]; order = 70; - EmSendCmd14443aRaw(p_response->modulation, p_response->modulation_n, (receivedCmd[0] == 0x52) || (receivedCmd[0] == 0x26)); + EmSendCmd14443aRaw(p_response->modulation, p_response->modulation_n); break; } if (p_response != NULL){ - EmSendCmd14443aRaw(p_response->modulation, p_response->modulation_n, (receivedCmd[0] == 0x52) || (receivedCmd[0] == 0x26)); + EmSendCmd14443aRaw(p_response->modulation, p_response->modulation_n); } else { break; }