mirror of
https://github.com/chenxiaolong/avbroot.git
synced 2026-07-03 14:05:11 +02:00
Merge pull request #125 from chenxiaolong/comment
avbroot/ota.py: Fix incorrect comment about the absolute signature offset
This commit is contained in:
+2
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user