FIX: downloaded a fresh clone from my fork, and took away the build-errors.

This commit is contained in:
iceman1001
2015-01-05 15:12:48 +01:00
parent d3a22c7dfa
commit 0452ec6c90
2 changed files with 6 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ int CmdHFEPACollectPACENonces(const char *Cmd)
size_t nonce_length = resp.arg[1];
char *nonce = (char *) malloc(2 * nonce_length + 1);
for(int j = 0; j < nonce_length; j++) {
snprintf(nonce + (2 * j), "%02X", resp.d.asBytes[j]);
sprintf(nonce + (2 * j), "%02X", resp.d.asBytes[j]);
}
// print nonce
PrintAndLog("Length: %d, Nonce: %s", nonce_length, nonce);