diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/NitrokeyManager.h | 3 | ||||
| -rw-r--r-- | include/stick10_commands.h | 4 | 
2 files changed, 5 insertions, 2 deletions
| diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h index 6f4ab75..6588711 100644 --- a/include/NitrokeyManager.h +++ b/include/NitrokeyManager.h @@ -44,6 +44,9 @@ namespace nitrokey {          void get_password_safe_slot_status(); +        uint8_t get_admin_retry_count(); +        uint8_t get_user_retry_count(); +      private:          NitrokeyManager();          ~NitrokeyManager(); 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; | 
