mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix compilation errors for strlen call that doesnt like uint8_t arrays
This commit is contained in:
parent
8565781f66
commit
0a42e92d11
1 changed files with 1 additions and 1 deletions
|
@ -8570,7 +8570,7 @@ static int CmdHFMFHidEncode(const char *Cmd) {
|
|||
if (bin_len) {
|
||||
char mfcbin[121] = {0};
|
||||
mfcbin[0] = '1';
|
||||
memcpy(mfcbin + 1, bin, strlen(bin));
|
||||
memcpy(mfcbin + 1, bin, bin_len);
|
||||
|
||||
size_t hexlen = 0;
|
||||
uint8_t hex[15] = {0};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue