mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 19:38:09 +00:00
clear session on Initialize message
This commit is contained in:
parent
7c6d2fe395
commit
bda4267c38
@ -113,6 +113,7 @@ void fsm_msgInitialize(Initialize *msg)
|
||||
(void)msg;
|
||||
recovery_abort();
|
||||
signing_abort();
|
||||
session_clear();
|
||||
RESP_INIT(Features);
|
||||
resp->has_vendor = true; strlcpy(resp->vendor, "bitcointrezor.com", sizeof(resp->vendor));
|
||||
resp->has_major_version = true; resp->major_version = VERSION_MAJOR;
|
||||
|
Loading…
Reference in New Issue
Block a user