aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/src/pinentry.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-23 01:39:59 +0100
committerDaniel Mueller <deso@posteo.net>2018-12-24 17:51:03 -0800
commite0a7aa80c5c2b049538d9d333e9ce919a4a56dce (patch)
tree4ee17995407be4232bc2fd6002f818386d8e5efd /nitrocli/src/pinentry.rs
parent27ed7f31128cf17dee1ab8e7cfa49f45ca123aec (diff)
downloadnitrocli-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.rs1
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,