mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 18:33:18 +08:00
Fix incorrect types in encodeCardholderCredentials
This commit is contained in:
parent
13ff8d50cf
commit
7b0a85a0af
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ void decodeCardholderCredentials(uint8_t *eight_bytes, GallagherCredentials_t *c
|
|||
|
||||
void encodeCardholderCredentials(uint8_t *eight_bytes, GallagherCredentials_t *creds) {
|
||||
uint8_t rc = creds->region_code;
|
||||
uint8_t fc = creds->facility_code;
|
||||
uint8_t cn = creds->card_number;
|
||||
uint16_t fc = creds->facility_code;
|
||||
uint32_t cn = creds->card_number;
|
||||
uint8_t il = creds->issue_level;
|
||||
|
||||
// put data into the correct places (Gallagher obfuscation)
|
||||
|
|
Loading…
Reference in a new issue