From 2635ae43b7812c470252350c80e6634c8e19f608 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 27 May 2020 22:43:48 +0200 Subject: [PATCH] fix redundantassignment --- client/src/cmdhffido.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/cmdhffido.c b/client/src/cmdhffido.c index e35479db9..991d7eb5d 100644 --- a/client/src/cmdhffido.c +++ b/client/src/cmdhffido.c @@ -337,6 +337,7 @@ static int CmdHFFidoRegister(const char *cmd) { &buf[67], keyHandleLen, // keyHandle &buf[1], 65, // user public key NULL, 0); + (void)res; //PrintAndLogEx(NORMAL, "--xbuf(%d)[%d]: %s", res, xbuflen, sprint_hex(xbuf, xbuflen)); res = ecdsa_signature_verify(MBEDTLS_ECP_DP_SECP256R1, public_key, xbuf, xbuflen, &buf[hashp], len - hashp, true); if (res) { @@ -563,6 +564,7 @@ static int CmdHFFidoAuthenticate(const char *cmd) { &buf[1], 4, // counter data, 32, // challenge parameter NULL, 0); + (void)res; //PrintAndLogEx(NORMAL, "--xbuf(%d)[%d]: %s", res, xbuflen, sprint_hex(xbuf, xbuflen)); res = ecdsa_signature_verify(MBEDTLS_ECP_DP_SECP256R1, public_key, xbuf, xbuflen, &buf[5], len - 5, true); if (res) {