aboutsummaryrefslogtreecommitdiff
path: root/nitrokey-sys/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nitrokey-sys/src/lib.rs')
-rw-r--r--nitrokey-sys/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/nitrokey-sys/src/lib.rs b/nitrokey-sys/src/lib.rs
index 2740cc9..a179da8 100644
--- a/nitrokey-sys/src/lib.rs
+++ b/nitrokey-sys/src/lib.rs
@@ -4,7 +4,7 @@
mod ffi;
-pub use ffi::*;
+pub use crate::ffi::*;
#[cfg(test)]
mod tests {
@@ -14,8 +14,6 @@ mod tests {
#[test]
fn login_auto() {
unsafe {
- // logout required due to https://github.com/Nitrokey/libnitrokey/pull/115
- NK_logout();
assert_eq!(0, NK_login_auto());
}
}