diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-23 03:02:31 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-23 03:02:31 +0000 |
commit | e31009064eaaef9153ad5da3911aa0a939a050c2 (patch) | |
tree | f7469134712074a9081e09c1fb7caa85c52e6d04 /src/util.rs | |
parent | 601bc22ae18838ff56b64c15b365bcf7f93006be (diff) | |
download | nitrokey-rs-e31009064eaaef9153ad5da3911aa0a939a050c2.tar.gz nitrokey-rs-e31009064eaaef9153ad5da3911aa0a939a050c2.tar.bz2 |
Add temp_password_ptr method to AuthenticatedDevice
To reduce the number of casts, we introduce the temp_password_ptr method
that casts the pointer received from the Vec<u8> to a c_char pointer
that can be handled by libnitrokey.
Diffstat (limited to 'src/util.rs')
0 files changed, 0 insertions, 0 deletions