commit | 720df3eeaecfc9ad229440c59e08c8d52f13dc1e | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Thu Oct 01 13:10:44 2015 -0700 |
committer | Sen Jiang <senj@google.com> | Thu Oct 22 13:16:07 2015 -0700 |
tree | fe07787244ec3eb0ce2147c17973627ea99147dd | |
parent | abdc0115548985d8ca3f3f2aeb1283741ce409a6 [diff] |
Skip metadata signature when hashing payload in major version 2. We should skip metadata signature when hashing the payload, so that the payload signature won't depend on metadata signature. VerifySignedPayload will also verify metadata signature now if it exist. Bug: 23981164 TEST=cros_workon_make update_engine --test Change-Id: I3e52b7bf8ddf1539bbb6934e8a5ec1112b94ae62