Fix public key lenght to 65 bytes (#725)

This commit is contained in:
Fl0-0 2018-11-30 18:44:52 +01:00 committed by pwpiwi
commit 9c87879e36

View file

@ -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;
}