Merge pull request #125 from chenxiaolong/comment

avbroot/ota.py: Fix incorrect comment about the absolute signature offset
This commit is contained in:
Andrew Gunnerson
2023-08-11 15:28:11 -04:00
committed by GitHub
+2 -1
View File
@@ -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,