From 88c62b390eb5504772dd4fbb266054828dc4dc5d Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 22 Mar 2013 13:33:18 +0100 Subject: rsgtutil: add new file type to file type detection --- tools/rsgtutil.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/rsgtutil.c') diff --git a/tools/rsgtutil.c b/tools/rsgtutil.c index d9cce2f7..9d9f3568 100644 --- a/tools/rsgtutil.c +++ b/tools/rsgtutil.c @@ -133,6 +133,8 @@ detectFileType(char *name) if((r = rsgt_tlvrdHeader(fp, (uchar*)hdr)) != 0) goto err; if(!strcmp(hdr, "LOGSIG10")) typeName = "Log Signature File, Version 10"; + else if(!strcmp(hdr, "GTSTAT10")) + typeName = "rsyslog GuardTime Signature State File, Version 10"; else typeName = "unknown"; -- cgit v1.2.3