installer for new block OTA system

Bug: 16984795
Change-Id: I90f958446baed83dec658de2430c8fc5e9c3047e
This commit is contained in:
Doug Zongker
2014-08-15 14:31:52 -07:00
parent cdc9828fca
commit 66f5ce387a
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;