diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 12:24:23 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 12:24:23 +0100 |
commit | 45b1eec5db3939229f9f3b0a06cd770a396f18e3 (patch) | |
tree | 770dfd19aac4c68b9bcb383100c4c044c617437c | |
parent | f1a11ebf72610fb9cf80ac7f9f147b4ba1a5336f (diff) | |
download | nitrokey-sys-rs-45b1eec5db3939229f9f3b0a06cd770a396f18e3.tar.gz nitrokey-sys-rs-45b1eec5db3939229f9f3b0a06cd770a396f18e3.tar.bz2 |
Update login_auto test case
Currently, the login_auto test case calls NK_logout before
NK_login_auto due to the behavior described in libnitrokey pull
request #115 [0]. This behavior has been fixed in version 3.4.1.
Therefore this patch removes the NK_logout call.
[0] https://github.com/Nitrokey/libnitrokey/pull/115
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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()); } } |