aboutsummaryrefslogtreecommitdiff
path: root/include/stick10_commands.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-08-05 11:06:49 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-05 11:34:18 +0200
commit0688078d9c8ec564a72e8101c3859f3226f65289 (patch)
tree6712d14c8310056f4c20f90df190ea9d8778c8de /include/stick10_commands.h
parent42446e1a384d3391e4240afe349c34958e5fabed (diff)
downloadlibnitrokey-0688078d9c8ec564a72e8101c3859f3226f65289.tar.gz
libnitrokey-0688078d9c8ec564a72e8101c3859f3226f65289.tar.bz2
Fixed PIN protected HOTP requests
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/stick10_commands.h')
-rw-r--r--include/stick10_commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stick10_commands.h b/include/stick10_commands.h
index 95aaa93..f7813c4 100644
--- a/include/stick10_commands.h
+++ b/include/stick10_commands.h
@@ -669,7 +669,7 @@ class Authorize : Command<CommandID::AUTHORIZE> {
class UserAuthorize : Command<CommandID::USER_AUTHORIZE> {
public:
struct CommandPayload {
- uint64_t crc_to_authorize;
+ uint32_t crc_to_authorize;
uint8_t temporary_password[25];
std::string dissect() const {
std::stringstream ss;