clear session on Initialize message

This commit is contained in:
Pavol Rusnak 2015-03-30 14:41:51 +02:00
parent 7c6d2fe395
commit bda4267c38
1 changed files with 1 additions and 0 deletions

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;