Skip to content

Commit

Permalink
Remove TODO referencing closed upstream issue
Browse files Browse the repository at this point in the history
libnitrokey issue #164 (Nitrokey/libnitrokey#164)
has been closed so the TODO we still have in the code is effectively
dangling. Hence, this change removes it.
  • Loading branch information
d-e-s-o committed Apr 24, 2021
1 parent aa0b73b commit 35c6cac
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -843,9 +843,6 @@ pub fn otp_set(ctx: &mut Context<'_>, mut args: args::OtpSetArgs) -> anyhow::Res
// We need to ensure to provide a string with an even number of
// characters in it, just because that's what libnitrokey
// expects. So prepend a '0' if that is not the case.
// TODO: This code can be removed once upstream issue #164
// (https://github.com/Nitrokey/libnitrokey/issues/164) is
// addressed.
if data.secret.len() % 2 != 0 {
data.secret.insert(0, '0')
}
Expand Down

0 comments on commit 35c6cac

Please sign in to comment.