summaryrefslogtreecommitdiffstats
path: root/verifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'verifier.h')
-rw-r--r--verifier.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/verifier.h b/verifier.h
index 6fa8f2b0a..665e5a9b1 100644
--- a/verifier.h
+++ b/verifier.h
@@ -25,6 +25,12 @@
#include <openssl/rsa.h>
#include <openssl/sha.h>
+#define ASSUMED_UPDATE_BINARY_NAME "META-INF/com/google/android/update-binary"
+
+enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_RETRY };
+
+static const float VERIFICATION_PROGRESS_FRAC = 0.25;
+
struct RSADeleter {
void operator()(RSA* rsa) const {
RSA_free(rsa);