aboutsummaryrefslogtreecommitdiff
path: root/tests/util
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-03 12:16:21 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-03 13:17:54 +0100
commitd60e03b46a6af75056f07394ef66ecaa35f32d77 (patch)
treeeecd8b42abaf5a125d5d7ddcdc9e0b6225755ce5 /tests/util
parent1061005a82ed0ba6ad5c48322e704f786bd802ab (diff)
downloadnitrokey-rs-d60e03b46a6af75056f07394ef66ecaa35f32d77.tar.gz
nitrokey-rs-d60e03b46a6af75056f07394ef66ecaa35f32d77.tar.bz2
Add Storage::change_update_pin method
This patch adds the change_update_pin method to the Storage struct that uses the NK_change_update_password function to set the password required for firmware updates.
Diffstat (limited to 'tests/util')
-rw-r--r--tests/util/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/util/mod.rs b/tests/util/mod.rs
index c2c94e2..5e495d8 100644
--- a/tests/util/mod.rs
+++ b/tests/util/mod.rs
@@ -1,4 +1,5 @@
pub static ADMIN_PASSWORD: &str = "12345678";
+pub static UPDATE_PIN: &str = "12345678";
pub static USER_PASSWORD: &str = "123456";
#[cfg(not(feature = "test-storage"))]