diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-27 22:40:07 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-28 20:21:41 +0100 |
commit | 5d7bb087707915a78149da7492cccd772db2657e (patch) | |
tree | 7055a28d98bb695175a5a64e49a6195dde994ee1 /src/error.rs | |
parent | 1d68e24db4078ad1a004afd7bec90a81e7d31ec8 (diff) | |
download | nitrokey-rs-5d7bb087707915a78149da7492cccd772db2657e.tar.gz nitrokey-rs-5d7bb087707915a78149da7492cccd772db2657e.tar.bz2 |
Accept UTF-8 errors in password safe tests
After a factory reset or after building the AES key, the password safe
contains garbage data. This will most likely not be valid UTF-8.
Therefore we change the tests to also accept an UTF-8 error in these
cases.
Diffstat (limited to 'src/error.rs')
0 files changed, 0 insertions, 0 deletions