fix last commit

This commit is contained in:
Pavol Rusnak 2017-12-13 17:56:46 +01:00
parent 73edc7cb74
commit 106642bd44
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 1 deletions

View File

@ -215,6 +215,7 @@ bool storage_from_flash(void)
u2fword >>= 1;
}
// force recomputing u2f root for storage version < 9.
// this is done by re-setting the mnemonic, which triggers the computation
if (version < 9) {
storageUpdate.has_mnemonic = storageRom->has_mnemonic;
strlcpy(storageUpdate.mnemonic, storageRom->mnemonic, sizeof(storageUpdate.mnemonic));

@ -1 +1 @@
Subproject commit 8e96b42260b84e1e0f0b00a5e528d19258c57031
Subproject commit 8019bd2730ce7e4b2351e2441dbea38191ed14d9