aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-05-22 21:41:30 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-05-22 23:42:18 +0200
commit2ec913fdcadef73281ec30f96c0fc7cd00a4ed26 (patch)
treefa70814910ced501f6b63030cc783127b928898e /src/tests
parent105dcead4890bee529f4ae9833892cdd1a4f8014 (diff)
downloadnitrokey-rs-2ec913fdcadef73281ec30f96c0fc7cd00a4ed26.tar.gz
nitrokey-rs-2ec913fdcadef73281ec30f96c0fc7cd00a4ed26.tar.bz2
Move the authenticate methods to a new Authenticate trait
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/pro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/pro.rs b/src/tests/pro.rs
index 71daa78..8476451 100644
--- a/src/tests/pro.rs
+++ b/src/tests/pro.rs
@@ -1,5 +1,5 @@
use std::ffi::CStr;
-use {AdminAuthenticatedDevice, CommandError, CommandStatus, Config, ConfigureOtp,
+use {AdminAuthenticatedDevice, Authenticate, CommandError, CommandStatus, Config, ConfigureOtp,
Device, GenerateOtp, Model, OtpMode, OtpSlotData, UnauthenticatedDevice};
static ADMIN_PASSWORD: &str = "12345678";