AU: Verify delta payload signature and signed hash.
The signature and hash are verified only if the public key file exists.
This means that currently this feature is desabled until we install a public
key.
BUG=5663
TEST=unit tests, applied a signed delta update on the server
Change-Id: I5be72f7fde88400587f8aae0c7d5745c79fc4428
Review URL: http://codereview.chromium.org/3592008
diff --git a/action_processor.h b/action_processor.h
index 98fc853..b2c1392 100644
--- a/action_processor.h
+++ b/action_processor.h
@@ -35,6 +35,7 @@
kActionCodeDownloadTransferError = 9,
kActionCodeDownloadHashMismatchError = 10,
kActionCodeDownloadSizeMismatchError = 11,
+ kActionCodeDownloadPayloadVerificationError = 12,
};
class AbstractAction;