1
0
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:
Pavol Rusnak 2018-02-27 15:41:02 +01:00
parent 7fa8ae136f
commit 7834eaba26
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

@ -1 +1 @@
Subproject commit 43b64648832028efbb93079a1bd17794ed4044cb
Subproject commit d85f7ac6bbcccbc83012d85fdf25635e57c5f15b