diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 | ||||
-rw-r--r-- | src/tests/pro.rs | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -489,8 +489,6 @@ pub trait Device { } /// Returns the major part of the firmware version (should be zero). - /// Note that this method is buggy for libnitrokey older than v3.3. For - /// these versions, this method returns the minor part. /// /// # Example /// diff --git a/src/tests/pro.rs b/src/tests/pro.rs index 7fa8ec3..dee7dc6 100644 --- a/src/tests/pro.rs +++ b/src/tests/pro.rs @@ -196,8 +196,7 @@ fn totp_slot_name() { #[cfg_attr(not(feature = "test-pro"), ignore)] fn get_major_firmware_version() { set_debug(false); - // TODO fix for different libnitrokey versions - assert_eq!(8, ::connect().unwrap().get_major_firmware_version()); + assert_eq!(0, ::connect().unwrap().get_major_firmware_version()); } fn admin_retry(device: UnauthenticatedDevice, suffix: &str, count: u8) -> UnauthenticatedDevice { |