Skip to content

Commit 404d597

Browse files
committed
Merge branch 'comment'
2 parents 796a86f + 17fc6f5 commit 404d597

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api/bootloader/util.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ func HashFirmware(firmwareVersion uint32, unsignedFirmware []byte) []byte {
4040
}
4141

4242
// ParseSignedFirmware parses a signed firmware file and returns (sigdata, firmware). Errors if the
43-
// format is invalid, or the firmware magic does not match the expected magic according to the
44-
// device product.
43+
// format is invalid, or the firmware magic is not recognized.
4544
func ParseSignedFirmware(firmware []byte) (common.Product, []byte, []byte, error) {
4645
if len(firmware) <= magicLen+sigDataLen {
4746
return "", nil, nil, errp.New("firmware too small")

0 commit comments

Comments
 (0)