Merge pull request #3057 from aaronjamt/patch-seos-short-sio

[hf seos] Allow short SIO
This commit is contained in:
Iceman
2025-12-21 12:09:35 +01:00
committed by GitHub
+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];