aboutsummaryrefslogtreecommitdiff
path: root/rand/src/lib.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-26 20:05:47 +0000
committerDaniel Mueller <deso@posteo.net>2019-01-26 23:35:10 -0800
commitca45fd413e7c8af212a693d94dba0038d055bff8 (patch)
treebfe90d1c1581df96ed393e13648f6fc6452affcd /rand/src/lib.rs
parent2809a90f3a790e3fc0a81ddac58f6de56e783cf2 (diff)
downloadnitrocli-ca45fd413e7c8af212a693d94dba0038d055bff8.tar.gz
nitrocli-ca45fd413e7c8af212a693d94dba0038d055bff8.tar.bz2
Add test for pws get after factory reset
The factory reset only clears the slot status. The slot content is overwritten with random data. Therefore accessing a PWS slot after a factory reset returns garbage data. We fixed this by always querying the status before accessing the PWS. This patch adds a corresponding test case.
Diffstat (limited to 'rand/src/lib.rs')
0 files changed, 0 insertions, 0 deletions