Merge pull request #7781

4f7c38a device_trezor_base: fix typo (anon)
This commit is contained in:
luigi1111 2021-07-27 17:03:46 -04:00
commit 56ce7fca6f
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -510,7 +510,7 @@ namespace trezor {
const auto data_cleaner = epee::misc_utils::create_scope_leave_handler([&]() { const auto data_cleaner = epee::misc_utils::create_scope_leave_handler([&]() {
if (m.has_passphrase()) if (m.has_passphrase())
memwipe(&(m.mutable_passphrase())[0], m.mutable_passphrase()->size()); memwipe(&(*m.mutable_passphrase())[0], m.mutable_passphrase()->size());
}); });
resp = call_raw(&m); resp = call_raw(&m);