summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2018-05-21 00:53:34 +0200
committerRobin Krahl <me@robin-krahl.de>2018-05-21 01:02:11 +0200
commit98eaf71502afeb4f14eb4f7bc365e3211b5709fb (patch)
tree9c3916298879769dd1adee622f007caae975eb11 /src/tests
parent96b2f4bd20f81fdc1e57c004cd66d90221be6f87 (diff)
downloadnitrokey-rs-98eaf71502afeb4f14eb4f7bc365e3211b5709fb.tar.gz
nitrokey-rs-98eaf71502afeb4f14eb4f7bc365e3211b5709fb.tar.bz2
Update nitrokey-sys dependency to v3.3.0
Now libnitrokey v3.3 is compiled from source, fixing the problems with older libnitrokey versions (freeing strings, firmware version getter). Also, bindgen is no longer a build dependency. This makes the build process a lot faster.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/pro.rs3
1 files changed, 1 insertions, 2 deletions
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 {