mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-03-23 00:38:30 +08:00
cppcheck: avoid undef behavior in variadic fct warning
This commit is contained in:
parent
8f44b07eb3
commit
0cf56a5436
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ static int FIDO2CheckSignature(json_t *root, uint8_t *publickey, uint8_t *sign,
|
|||
res = FillBuffer(xbuf, sizeof(xbuf), &xbuflen,
|
||||
authData, authDataLen, // rpIdHash[32] + flags[1] + signCount[4]
|
||||
clientDataHash, 32, // Hash of the serialized client data. "$.ClientDataHash" from json
|
||||
NULL, 0);
|
||||
(uint8_t *)NULL, 0);
|
||||
PrintAndLogEx(DEBUG, "--xbuf(%d)[%zu]: %s", res, xbuflen, sprint_hex(xbuf, xbuflen));
|
||||
|
||||
res = ecdsa_signature_verify(MBEDTLS_ECP_DP_SECP256R1, publickey, xbuf, xbuflen, sign, signLen, true);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue