diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mifare-tool.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/mifare-tool.c b/utils/mifare-tool.c index 58c0692..7c3a51e 100644 --- a/utils/mifare-tool.c +++ b/utils/mifare-tool.c @@ -102,8 +102,7 @@ int main(int argc, char **argv) program_name = basename(argv[0]); #endif/*__MINGW32__*/ - memcpy(key, MIFARE_CL_KEYA_DEFAULT_INFINEON, - sizeof(MIFARE_CL_KEYA_DEFAULT_INFINEON)); + memcpy(key, MIFARE_CL_KEYA_DEFAULT_INFINEON, MIFARE_CL_KEY_LEN); printf("%s - (C) 2006 by Harald Welte\n" "This program is Free Software and has " |