diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-02-06 14:06:02 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:44 +0100 |
commit | 1792b8d6a843a79f5b333163bd74b99ac2cfdb30 (patch) | |
tree | 46e360ddc45035427c77dda0ce57cfe63d2ec1c7 | |
parent | 08ecabdd888a322bd6499366be446d4d03443c1e (diff) | |
download | libnitrokey-1792b8d6a843a79f5b333163bd74b99ac2cfdb30.tar.gz libnitrokey-1792b8d6a843a79f5b333163bd74b99ac2cfdb30.tar.bz2 |
Mark issues with FIXME
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r-- | NitrokeyManager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 74a6ecf..6ce9910 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -522,7 +522,7 @@ namespace nitrokey{ auto p = get_payload<GetPasswordSafeSlotPassword>(); p.slot_number = slot_number; auto response = GetPasswordSafeSlotPassword::CommandTransaction::run(device, p); - return strdup((const char *) response.data().slot_password); + return strdup((const char *) response.data().slot_password); //FIXME use secure way } void NitrokeyManager::write_password_safe_slot(uint8_t slot_number, const char *slot_name, const char *slot_login, |