diff options
author | Daniel Mueller <deso@posteo.net> | 2017-04-09 20:53:54 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-04-09 20:53:54 -0700 |
commit | 3ce72e0ce1a0442786bc2600a7f276ae1994d90e (patch) | |
tree | 3263b7bf43242520d421f7af14367d273e544f15 /libc/src/unix/bsd/netbsdlike/openbsdlike/openbsd.rs | |
parent | 1e4a359f42e081851b98a12511ffe24968bfc6da (diff) | |
download | nitrocli-3ce72e0ce1a0442786bc2600a7f276ae1994d90e.tar.gz nitrocli-3ce72e0ce1a0442786bc2600a7f276ae1994d90e.tar.bz2 |
Wait until encrypted volume is opened/closed
Until now we treated any response but "ok" and "idle" to the encrypted
volume opening command as an error and reported it. However, the opening
process is a potentially long running and it is very likely that the
nitrokey reports a couple of "busy" messages.
This change implements the logic to wait until the nitrokey either
reports an error or a successful open.
Diffstat (limited to 'libc/src/unix/bsd/netbsdlike/openbsdlike/openbsd.rs')
0 files changed, 0 insertions, 0 deletions