[hf seos] Allow short SIO

This commit is contained in:
Aaron Tulino (Aaronjamt)
2025-12-21 03:55:28 -07:00
parent 16ebc6c7f7
commit 32f1e4b51c
+1 -1
View File
@@ -349,7 +349,7 @@ static int seos_get_data(uint8_t *rndICC, uint8_t *rndIFD, uint8_t *diversified_
int getDataSize = 0;
// ------------------- Cryptogram Response -------------------
if (resplen >= 2 && response[0] == 0x85 && response[1] >= 0x40) {
if (resplen >= 2 && response[0] == 0x85) {
uint8_t cryptogram_length = response[1];
uint8_t cryptogram[cryptogram_length];
uint8_t decrypted[cryptogram_length];