Merge pull request #1797 from alisander/master

Update cmdlfhitag.c
This commit is contained in:
Iceman 2022-10-16 18:02:07 +02:00 committed by GitHub
commit bf28e36cd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -780,7 +780,7 @@ static int CmdLFHitagWriter(const char *Cmd) {
}
if (h24) {
htf = WHT2F_CRYPTO;
memcpy(htd.pwd.password, key, 4);
memcpy(htd.pwd.password, key, 6);
memcpy(htd.crypto.data, data, sizeof(data));
}
if (h27) {