From ec6162e81426a3033c8ae2b13e8fb97a8aee523e Mon Sep 17 00:00:00 2001 From: Shaka Huang Date: Tue, 14 Jul 2015 19:46:20 +0800 Subject: [PATCH] Remove output of signature Signed-off-by: Shaka Huang --- unpackbootimg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unpackbootimg.c b/unpackbootimg.c index 4626ee5..0004647 100644 --- a/unpackbootimg.c +++ b/unpackbootimg.c @@ -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); @@ -225,6 +226,7 @@ int main(int argc, char** argv) total_read += 728; fwrite(bsig, 728, 1, r); fclose(fsig); +#endif fclose(f);