summaryrefslogtreecommitdiff
path: root/src/tests/mod.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-05-20 23:10:50 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-05-21 01:12:28 +0200
commit0f5066ca18976c29e63e9f5c55691506c23dc7b6 (patch)
tree9b78775a2569016e203eb5d4d2f46157949bf89b /src/tests/mod.rs
parent68f1f31595757c5018c5c243a76e94e0af5439ef (diff)
downloadnitrokey-rs-0f5066ca18976c29e63e9f5c55691506c23dc7b6.tar.gz
nitrokey-rs-0f5066ca18976c29e63e9f5c55691506c23dc7b6.tar.bz2
Use NK_login_enum instead of NK_login
NK_login used a string to identify the model to connect to. Since libnitrokey v3.3, we can use NK_login_enum together with an enum value as a more type-safe alternative.
Diffstat (limited to 'src/tests/mod.rs')
0 files changed, 0 insertions, 0 deletions