1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-02 19:01:04 +00:00

fix(legacy): recompile bundled bootloader

This commit is contained in:
Pavol Rusnak 2021-03-03 16:36:18 +01:00
parent cd62a79ec2
commit 4a82d6c9d5
2 changed files with 3 additions and 3 deletions

View File

@ -128,10 +128,10 @@ static int known_bootloader(int r, const uint8_t *hash) {
return 1; // 1.8.0 shipped with fw 1.8.0 and 1.8.1 return 1; // 1.8.0 shipped with fw 1.8.0 and 1.8.1
if (0 == if (0 ==
memcmp(hash, memcmp(hash,
"\xf0\xa1\x9c\x9b\x0a\xf6\xce\xb1\x49\xcb\xa6\x4e\xcf\xd0\x1a\x6a" "\xf9\xca\xe9\x7c\xca\x0b\x5f\xbe\xc4\x0a\x3a\xe2\x27\x11\x37\x99"
"\x01\xe6\x07\xd3\x1f\xed\xef\xf8\x65\xd5\x19\xa8\x6f\xe9\x15\x1a", "\x81\x09\x38\xe7\x27\x5d\x5e\xbf\x9e\x35\xd5\x57\xea\x57\x93\xff",
32)) 32))
return 1; // 1.9.0 'stay in bootloader' return 1; // 1.9.0 shipped with fw 1.9.x
return 0; return 0;
} }
#endif #endif

Binary file not shown.