mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
protect: passphrase is optional
This commit is contained in:
parent
7fa8ae136f
commit
7834eaba26
@ -257,7 +257,7 @@ bool protectPassphrase(void)
|
||||
if (msg_tiny_id == MessageType_MessageType_PassphraseAck) {
|
||||
msg_tiny_id = 0xFFFF;
|
||||
PassphraseAck *ppa = (PassphraseAck *)msg_tiny;
|
||||
session_cachePassphrase(ppa->passphrase);
|
||||
session_cachePassphrase(ppa->has_passphrase ? ppa->passphrase : "");
|
||||
result = true;
|
||||
break;
|
||||
}
|
||||
|
2
vendor/trezor-common
vendored
2
vendor/trezor-common
vendored
@ -1 +1 @@
|
||||
Subproject commit 43b64648832028efbb93079a1bd17794ed4044cb
|
||||
Subproject commit d85f7ac6bbcccbc83012d85fdf25635e57c5f15b
|
Loading…
Reference in New Issue
Block a user