From: Fl0-0 <Fl0-0@users.noreply.github.com>
Date: Fri, 30 Nov 2018 17:44:52 +0000 (+0100)
Subject: Fix public key lenght to 65 bytes (#725)
X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/9c87879e360c31b521310ff7be11efb3d27e3f8f?hp=7b6e32053373740516833b1a228a0ad01bb14bd2

Fix public key lenght to 65 bytes (#725)
---

diff --git a/client/cmdhffido.c b/client/cmdhffido.c
index e2d6c091..357e265c 100644
--- a/client/cmdhffido.c
+++ b/client/cmdhffido.c
@@ -531,7 +531,7 @@ int CmdHFFidoAuthenticate(const char *cmd) {
 
 	// public key
 	CLIGetHexWithReturn(8, hdata, &hdatalen);
-	if (hdatalen && hdatalen != 130) {
+	if (hdatalen && hdatalen != 65) {
 		PrintAndLog("ERROR: public key length must be 65 bytes only.");
 		return 1;
 	}