aboutsummaryrefslogtreecommitdiff
path: root/src/tests/util.rs
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2018-07-10 12:34:03 +0200
committerRobin Krahl <robin.krahl@ireas.org>2018-12-10 14:36:45 +0100
commit99e417b8b5ca921f45f59f85b887f9bf6f03a267 (patch)
tree79a414d65cac603cdf89da38e3d6d13b1611288e /src/tests/util.rs
parentc1e6bcb3e448962b5f4cf4453e629eae1a82b943 (diff)
downloadnitrokey-rs-99e417b8b5ca921f45f59f85b887f9bf6f03a267.tar.gz
nitrokey-rs-99e417b8b5ca921f45f59f85b887f9bf6f03a267.tar.bz2
Fix generic connections (connect()) to return correct device
This patch fixes the generic connect() method to return a DeviceWrapper of the correct type. This is enabled by the NK_get_device_model() method introduced in libnitrokey v3.4.
Diffstat (limited to 'src/tests/util.rs')
0 files changed, 0 insertions, 0 deletions