diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-01-28 19:47:39 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-01-28 21:05:13 +0100 |
commit | 777cbd0fee8187325b0272d3264b535828d4b4ea (patch) | |
tree | 99a1d543239da1a9a9d4c88dcf55bcfbdb52c031 /src/otp.rs | |
parent | 669fbb40d894460e9603dcf6e953373e53a19347 (diff) | |
download | nitrokey-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 'src/otp.rs')
0 files changed, 0 insertions, 0 deletions