diff options
| author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-11-10 18:36:13 +0100 | 
|---|---|---|
| committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-12-03 16:01:49 +0100 | 
| commit | c7e33af909a6e9883058685389aea7b5ad5b4dd1 (patch) | |
| tree | b99d2cc3acfc238da6f5eef6ed8962bf819c1d82 | |
| parent | acd426f8634678da15fc30f761f03e6520614fe0 (diff) | |
| download | libnitrokey-c7e33af909a6e9883058685389aea7b5ad5b4dd1.tar.gz libnitrokey-c7e33af909a6e9883058685389aea7b5ad5b4dd1.tar.bz2 | |
Mark unused packet variables in TOTP`s GET_CODE
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
| -rw-r--r-- | include/stick10_commands_0.8.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/include/stick10_commands_0.8.h b/include/stick10_commands_0.8.h index 9099b3d..5e05405 100644 --- a/include/stick10_commands_0.8.h +++ b/include/stick10_commands_0.8.h @@ -252,9 +252,9 @@ namespace nitrokey {                  struct CommandPayload {                      uint8_t temporary_user_password[25];                      uint8_t slot_number; -                    uint64_t challenge; -                    uint64_t last_totp_time; -                    uint8_t last_interval; +                    uint64_t challenge; //@unused +                    uint64_t last_totp_time; //@unused +                    uint8_t last_interval; //@unused                      bool isValid() const { return !(slot_number & 0xF0); }                      std::string dissect() const { | 
