mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Revert to strcpy instead of strcpy_s for compatibility.
This commit is contained in:
parent
5ed4804044
commit
4b5d532c9a
1 changed files with 3 additions and 3 deletions
|
@ -259,7 +259,7 @@ static int CmdFlashMemLoad(const char *Cmd) {
|
|||
free(data);
|
||||
return PM3_EOVFLOW;
|
||||
}
|
||||
strcpy_s(spiffsDest, 32, MF_KEYS_FILE);
|
||||
strcpy(spiffsDest, MF_KEYS_FILE);
|
||||
break;
|
||||
case DICTIONARY_T55XX:
|
||||
keylen = T55XX_KEY_LENGTH;
|
||||
|
@ -273,7 +273,7 @@ static int CmdFlashMemLoad(const char *Cmd) {
|
|||
free(data);
|
||||
return PM3_EOVFLOW;
|
||||
}
|
||||
strcpy_s(spiffsDest, 32, T55XX_KEYS_FILE);
|
||||
strcpy(spiffsDest, T55XX_KEYS_FILE);
|
||||
break;
|
||||
case DICTIONARY_ICLASS:
|
||||
keylen = ICLASS_KEY_LENGTH;
|
||||
|
@ -287,7 +287,7 @@ static int CmdFlashMemLoad(const char *Cmd) {
|
|||
free(data);
|
||||
return PM3_EOVFLOW;
|
||||
}
|
||||
strcpy_s(spiffsDest, 32, ICLASS_KEYS_FILE);
|
||||
strcpy(spiffsDest, ICLASS_KEYS_FILE);
|
||||
break;
|
||||
case DICTIONARY_NONE:
|
||||
res = loadFile_safe(filename, ".bin", (void **)&data, &datalen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue