aboutsummaryrefslogtreecommitdiff
path: root/src/device/wrapper.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-02-03 10:22:37 +0100
committerRobin Krahl <robin.krahl@ireas.org>2020-02-03 10:22:37 +0100
commitce4479b6f7a353f388aecda03cddc35389940252 (patch)
tree9824d4552faf18a09eabb214deb87b4db950ab41 /src/device/wrapper.rs
parent395ace0131ef6cd655a222734f2cc8d037395a3b (diff)
parentc1f48ce6c614586042db8891d2eebf19d2212ce4 (diff)
downloadnitrokey-rs-ce4479b6f7a353f388aecda03cddc35389940252.tar.gz
nitrokey-rs-ce4479b6f7a353f388aecda03cddc35389940252.tar.bz2
Merge branch 'get_config' into next
This patch series changes the Device::get_config implementation to use libnitrokey’s NK_get_status instead of NK_read_config. This does results in the same command being sent to the Nitrokey device, but avoids a new[]/free mismatch and makes the parsing more robust.
Diffstat (limited to 'src/device/wrapper.rs')
0 files changed, 0 insertions, 0 deletions