summaryrefslogtreecommitdiffstats
path: root/tools/logsigner.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/logsigner.c')
-rw-r--r--tools/logsigner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/logsigner.c b/tools/logsigner.c
index 51803be2..1a9b9ab5 100644
--- a/tools/logsigner.c
+++ b/tools/logsigner.c
@@ -120,7 +120,7 @@ processFile(char *name)
char line[64*1024+1];
gtctx ctx = NULL;
- ctx = rsgtCtxNew();
+ ctx = rsgtCtxNew("SIGFILE");
sigblkInit(ctx);
if(!strcmp(name, "-"))
fp = stdin;
@@ -139,7 +139,7 @@ processFile(char *name)
line[len] = '\0';
}
//sign(line, len);
- sigblkAddRecord(ctx, line, len);
+ sigblkAddRecord(ctx, (unsigned char*)line, len);
}
if(fp != stdin)