diff --git a/client/src/cmdhf14b.c b/client/src/cmdhf14b.c index 6ae6ac15a..9eca2fc06 100644 --- a/client/src/cmdhf14b.c +++ b/client/src/cmdhf14b.c @@ -1369,7 +1369,7 @@ static int handle_14b_apdu(bool chainingin, uint8_t *datain, int datainlen, bool } // check apdu length - if (rlen == 0 && rlen == 1) { + if (rlen == 0 || rlen == 1) { PrintAndLogEx(ERR, "APDU: Small APDU response. Len=%d", rlen); return PM3_ESOFT; }