summaryrefslogtreecommitdiff
path: root/action_processor.h
diff options
context:
space:
mode:
authorDarin Petkov <petkov@chromium.org>2011-02-23 14:39:43 -0800
committerDarin Petkov <petkov@chromium.org>2011-02-23 14:39:43 -0800
commitabc7bc0f5d88f110b463191bb8384f95d3c4230a (patch)
treeac898cc400b9f8566b3f6dc1d1bee74a05974273 /action_processor.h
parent48a0a4826c47fe097d7ff31ad830911c1f288dbf (diff)
If a public key is present, disallow old style full payloads.
This is necessary to ensure that if a public key is present the payload is signed and the signature passes verification. BUG=chromium-os:11760 TEST=unit tests, tested on device Change-Id: I6af61ead0e918c0b971dbcfeabcab3be03e6eb97 Review URL: http://codereview.chromium.org/6574009
Diffstat (limited to 'action_processor.h')
-rw-r--r--action_processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/action_processor.h b/action_processor.h
index 124fe000..ef06181f 100644
--- a/action_processor.h
+++ b/action_processor.h
@@ -40,6 +40,7 @@ enum ActionExitCode {
kActionCodeDownloadWriteError = 14,
kActionCodeNewRootfsVerificationError = 15,
kActionCodeNewKernelVerificationError = 16,
+ kActionCodeSignedDeltaPayloadExpectedError = 17,
kActionCodeOmahaRequestEmptyResponseError = 200,
kActionCodeOmahaRequestXMLParseError = 201,
kActionCodeOmahaRequestNoUpdateCheckNode = 202,