diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-23 01:39:59 +0100 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2018-12-24 17:51:03 -0800 |
commit | e0a7aa80c5c2b049538d9d333e9ce919a4a56dce (patch) | |
tree | 4ee17995407be4232bc2fd6002f818386d8e5efd /nitrocli/src/pinentry.rs | |
parent | 27ed7f31128cf17dee1ab8e7cfa49f45ca123aec (diff) | |
download | nitrocli-e0a7aa80c5c2b049538d9d333e9ce919a4a56dce.tar.gz nitrocli-e0a7aa80c5c2b049538d9d333e9ce919a4a56dce.tar.bz2 |
Clear both user and admin PIN
Currently, we only clear the user PIN if clear is called. This patch
changes the clear command to also clear the admin PIN as we will start
to use the admin PIN in upcoming patches.
Diffstat (limited to 'nitrocli/src/pinentry.rs')
-rw-r--r-- | nitrocli/src/pinentry.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nitrocli/src/pinentry.rs b/nitrocli/src/pinentry.rs index ce9a98f..891de38 100644 --- a/nitrocli/src/pinentry.rs +++ b/nitrocli/src/pinentry.rs @@ -28,7 +28,6 @@ use crate::error::Error; #[derive(Clone, Copy, Debug, PartialEq)] pub enum PinType { /// The admin PIN. - #[allow(unused)] Admin, /// The user PIN. User, |