summaryrefslogtreecommitdiff
path: root/examples/otp.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-01-28 19:47:39 +0100
committerRobin Krahl <robin.krahl@ireas.org>2020-01-28 21:05:13 +0100
commit777cbd0fee8187325b0272d3264b535828d4b4ea (patch)
tree99a1d543239da1a9a9d4c88dcf55bcfbdb52c031 /examples/otp.rs
parent669fbb40d894460e9603dcf6e953373e53a19347 (diff)
downloadnitrokey-rs-777cbd0fee8187325b0272d3264b535828d4b4ea.tar.gz
nitrokey-rs-777cbd0fee8187325b0272d3264b535828d4b4ea.tar.bz2
Remove AuthenticatedDevice::temp_password_ptr
We introduced the AuthenticatedDevice::temp_password_ptr function to reduce the number of casts needed in our code base. Since we switched from Vec<u8> to CString, we no longer have to cast the return value of as_ptr. Therefore we can remove the temp_password_ptr function to reduce code complexity.
Diffstat (limited to 'examples/otp.rs')
0 files changed, 0 insertions, 0 deletions