|
|
@@ -71,10 +71,10 @@ static bool seader_credential_load(SeaderCredential* cred, FuriString* path, boo
|
|
|
cred->credential = swapped;
|
|
|
|
|
|
// Optional SIO/Diversifier
|
|
|
- flipper_format_read_hex(file, "SIO", cred->sio, sizeof(cred->sio));
|
|
|
cred->sio_len = sizeof(cred->sio); // No way to know real length;
|
|
|
- flipper_format_read_hex(file, "Diversifier", cred->diversifier, sizeof(cred->diversifier));
|
|
|
cred->diversifier_len = sizeof(cred->diversifier); // No way to know real length;
|
|
|
+ flipper_format_read_hex(file, "SIO", cred->sio, cred->sio_len);
|
|
|
+ flipper_format_read_hex(file, "Diversifier", cred->diversifier, cred->diversifier_len);
|
|
|
|
|
|
parsed = true;
|
|
|
} while(false);
|