projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7b6e320
)
Fix public key lenght to 65 bytes (#725)
author
Fl0-0
<Fl0-0@users.noreply.github.com>
Fri, 30 Nov 2018 17:44:52 +0000
(18:44 +0100)
committer
pwpiwi
<pwpiwi@users.noreply.github.com>
Fri, 30 Nov 2018 17:44:52 +0000
(18:44 +0100)
client/cmdhffido.c
patch
|
blob
|
blame
|
history
diff --git
a/client/cmdhffido.c
b/client/cmdhffido.c
index e2d6c0917dc091d65355df19a4405b8e62361478..357e265c7e79bee7680f90da86745088b575246a 100644
(file)
--- a/
client/cmdhffido.c
+++ b/
client/cmdhffido.c
@@
-531,7
+531,7
@@
int CmdHFFidoAuthenticate(const char *cmd) {
// public key
CLIGetHexWithReturn(8, hdata, &hdatalen);
// 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;
}
PrintAndLog("ERROR: public key length must be 65 bytes only.");
return 1;
}
Impressum
,
Datenschutz