Skip to content

Commit

Permalink
Merge pull request #125 from chenxiaolong/comment
Browse files Browse the repository at this point in the history
avbroot/ota.py: Fix incorrect comment about the absolute signature offset
  • Loading branch information
chenxiaolong authored Aug 11, 2023
2 parents 5cad5d0 + 8416528 commit ac80abe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion avbroot/ota.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,8 @@ def open_signing_wrapper(f, privkey, passphrase, cert):

comment.write(struct.pack(
'<HHH',
# Absolute value of the offset of the signature from EOF
# Absolute value of the offset of the signature from the end of the
# archive comment
comment_size - len(message),
0xffff,
comment_size,
Expand Down

0 comments on commit ac80abe

Please sign in to comment.