use 3-byte version
This commit is contained in:
parent
bc8984aac3
commit
6c23532f08
@ -47,7 +47,8 @@ int16_t bridge_u2f_to_solo(uint8_t * _chal, uint8_t * _appid, uint8_t klen, uint
|
|||||||
case WalletVersion:
|
case WalletVersion:
|
||||||
msg_buf[0] = SOLO_VERSION_MAJ;
|
msg_buf[0] = SOLO_VERSION_MAJ;
|
||||||
msg_buf[1] = SOLO_VERSION_MIN;
|
msg_buf[1] = SOLO_VERSION_MIN;
|
||||||
u2f_response_writeback(msg_buf, 2);
|
msg_buf[2] = SOLO_VERSION_PATCH;
|
||||||
|
u2f_response_writeback(msg_buf, 3);
|
||||||
break;
|
break;
|
||||||
case WalletRng:
|
case WalletRng:
|
||||||
printf1(TAG_WALLET,"SoloRng\n");
|
printf1(TAG_WALLET,"SoloRng\n");
|
||||||
|
@ -195,6 +195,8 @@ int bootloader_bridge(int klen, uint8_t * keyh)
|
|||||||
u2f_response_writeback(&version,1);
|
u2f_response_writeback(&version,1);
|
||||||
version = BOOT_VERSION_MIN;
|
version = BOOT_VERSION_MIN;
|
||||||
u2f_response_writeback(&version,1);
|
u2f_response_writeback(&version,1);
|
||||||
|
version = BOOT_VERSION_PATCH;
|
||||||
|
u2f_response_writeback(&version,1);
|
||||||
break;
|
break;
|
||||||
case BootReboot:
|
case BootReboot:
|
||||||
printf1(TAG_BOOT, "BootReboot.\r\n");
|
printf1(TAG_BOOT, "BootReboot.\r\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user