mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07: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) {
|
void encodeCardholderCredentials(uint8_t *eight_bytes, GallagherCredentials_t *creds) {
|
||||||
uint8_t rc = creds->region_code;
|
uint8_t rc = creds->region_code;
|
||||||
uint8_t fc = creds->facility_code;
|
uint16_t fc = creds->facility_code;
|
||||||
uint8_t cn = creds->card_number;
|
uint32_t cn = creds->card_number;
|
||||||
uint8_t il = creds->issue_level;
|
uint8_t il = creds->issue_level;
|
||||||
|
|
||||||
// put data into the correct places (Gallagher obfuscation)
|
// put data into the correct places (Gallagher obfuscation)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue