diff options
| author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-30 18:40:11 +0000 | 
|---|---|---|
| committer | Robin Krahl <robin.krahl@ireas.org> | 2019-02-02 11:25:37 +0100 | 
| commit | 13006c00dcbd570cf8347d89557834e320427377 (patch) | |
| tree | 6d51c0223778d4957ef1660f845fe5bd404d8538 /nitrokey-sys | |
| parent | 0972bbe82623c3d9649b6023d8f50d304aa0cde6 (diff) | |
| download | nitrokey-rs-13006c00dcbd570cf8347d89557834e320427377.tar.gz nitrokey-rs-13006c00dcbd570cf8347d89557834e320427377.tar.bz2 | |
Store mutable reference to Device in PasswordSafe
The current implementation of PasswordSafe stored a normal reference to
the Device.  This patch changes the PasswordSafe struct to use a mutable
reference instead.  This allows the borrow checker to make sure that
there is only one PasswordSafe instance at a time.  While this is
currently not needed, it will become important once we can lock the PWS
on the Nitrokey when dropping the PasswordSafe instance.
Diffstat (limited to 'nitrokey-sys')
0 files changed, 0 insertions, 0 deletions
