diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-26 10:59:24 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:57 +0200 |
commit | 8a938be4ffa97490d89206cc1fd079a057cfc65c (patch) | |
tree | 5f2794b8858551eb8cd9f1574d1682567674a04e /include/stick10_commands.h | |
parent | b37e5990aa409689e5d6162776583616ac03e0ac (diff) | |
download | libnitrokey-8a938be4ffa97490d89206cc1fd079a057cfc65c.tar.gz libnitrokey-8a938be4ffa97490d89206cc1fd079a057cfc65c.tar.bz2 |
Manage retry counts of user and admin passwords
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/stick10_commands.h')
-rw-r--r-- | include/stick10_commands.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stick10_commands.h b/include/stick10_commands.h index c8eda03..31041d0 100644 --- a/include/stick10_commands.h +++ b/include/stick10_commands.h @@ -313,7 +313,7 @@ class GetPasswordRetryCount : Command<CommandID::GET_PASSWORD_RETRY_COUNT> { bool isValid() const { return true; } std::string dissect() const { std::stringstream ss; - ss << " password_retry_count\t" << password_retry_count << std::endl; + ss << " password_retry_count\t" << (int)password_retry_count << std::endl; return ss.str(); } } __packed; @@ -331,7 +331,7 @@ class GetUserPasswordRetryCount bool isValid() const { return true; } std::string dissect() const { std::stringstream ss; - ss << " password_retry_count\t" << password_retry_count << std::endl; + ss << " password_retry_count\t" << (int)password_retry_count << std::endl; return ss.str(); } } __packed; |