installer for new block OTA system

(Cherry-pick back from master.)

Bug: 16984795
Change-Id: Ifa3d8345c5e2a0be86fb28faa080ca82592a96b4
This commit is contained in:
Doug Zongker
2014-08-15 14:31:52 -07:00
parent 2efc9d994c
commit bc7ffeda98
10 changed files with 669 additions and 10 deletions
+1 -3
View File
@@ -112,9 +112,7 @@ int ApplyBSDiffPatch(const unsigned char* old_data, ssize_t old_size,
printf("short write of output: %d (%s)\n", errno, strerror(errno));
return 1;
}
if (ctx) {
SHA_update(ctx, new_data, new_size);
}
if (ctx) SHA_update(ctx, new_data, new_size);
free(new_data);
return 0;