Skip to content

Commit

Permalink
Remove output of signature
Browse files Browse the repository at this point in the history
Signed-off-by: Shaka Huang <[email protected]>
  • Loading branch information
shakalaca committed Jul 14, 2015
1 parent d286a12 commit ec6162e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unpackbootimg.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ int main(int argc, char** argv)
//printf("total read: %d\n", header.second_size);
total_read += read_padding(f, header.second_size, pagesize);

#if 0
sprintf(tmp, "%s/signature", directory);
FILE *fsig = fopen(tmp, "wb");
byte* bsig = (byte*)malloc(728);
Expand All @@ -225,6 +226,7 @@ int main(int argc, char** argv)
total_read += 728;
fwrite(bsig, 728, 1, r);
fclose(fsig);
#endif

fclose(f);

Expand Down

0 comments on commit ec6162e

Please sign in to comment.