1
0
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:
Pavol Rusnak 2015-03-30 14:41:51 +02:00
parent 7c6d2fe395
commit bda4267c38

View File

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