diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-03 22:24:51 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-03 23:26:45 +0100 |
commit | a02623db10c13d03ae889fd37078e467fe62406f (patch) | |
tree | bf4a228c5f30341ae77ded0248f5737f4339a4c9 /src/tests/otp.rs | |
parent | 616f84c13a4e676d3e2f870533fb1b8778c5f614 (diff) | |
download | nitrokey-rs-a02623db10c13d03ae889fd37078e467fe62406f.tar.gz nitrokey-rs-a02623db10c13d03ae889fd37078e467fe62406f.tar.bz2 |
Add Storage::enable_firmware_update method
This patch adds the enable_firmware_update method to the Storage struct
that uses NK_enable_firmware_update to put the Nitrokey Storage into
update mode. This method is not tested as external tooling is required
to resume normal operation and as it is hard to bail out if an error
occurs.
Diffstat (limited to 'src/tests/otp.rs')
0 files changed, 0 insertions, 0 deletions