Browse code

Change debugging output when outputting authenticode signatures to make machine parsing easier

Shawn Webb authored on 2012/12/04 03:54:28
Showing 1 changed files
... ...
@@ -152,10 +152,8 @@ int crtmgr_add(crtmgr *m, cli_crt *x509) {
152 152
             sprintf(&subject[j*2], "%02x", i->subject[j]);
153 153
         }
154 154
         // printing lines, broken up to minimize truncation
155
-        cli_dbgmsg("crtmgr_add: added cert s:%s i:%s %lu->%lu %s%s%s\n", subject, issuer, (unsigned long)i->not_before, (unsigned long)i->not_after, i->certSign ? "cert ":"", i->codeSign ? "code ":"", i->timeSign ? "time":"");
156
-        cli_dbgmsg("crtmgr_add: n:%s \n", mod);
155
+        cli_dbgmsg("crtmgr_add: added cert subject:%s serial:%s pubkey:%s i:%s %lu->%lu %s%s%s\n", subject, serial, mod, issuer, (unsigned long)i->not_before, (unsigned long)i->not_after, i->certSign ? "cert ":"", i->codeSign ? "code ":"", i->timeSign ? "time":"");
157 156
         cli_dbgmsg("crtmgr_add: e:%s \n", exp);
158
-        cli_dbgmsg("crtmgr_add: serial:%s \n", serial);
159 157
         free(serial);
160 158
     }
161 159
     m->items++;