aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/levin.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-14 21:15:02 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-12-17 01:38:29 +0000
commitf717d5936c522b6be978b9bb3f88d2750658fa08 (patch)
tree3acf82feb974625ef1c484cacf2333fb28b6f522 /tests/unit_tests/levin.cpp
parentb4e1dc83d275f8ee9a8c12615cf952f05161c7a3 (diff)
downloadmonzero-core-f717d5936c522b6be978b9bb3f88d2750658fa08.tar.gz
monzero-core-f717d5936c522b6be978b9bb3f88d2750658fa08.tar.xz
monzero-core-f717d5936c522b6be978b9bb3f88d2750658fa08.zip
wallet2: guard against race with multiple decrypt_keys users
If more than one thread wants to make sure of the spend secret key, then we decrypt on the first caller and reencrypt on the last caller, otherwise we could use an invalid secret key.
Diffstat (limited to 'tests/unit_tests/levin.cpp')
0 files changed, 0 insertions, 0 deletions