summaryrefslogtreecommitdiffstats
path: root/runtime/librsgt_read.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-03-22 16:46:31 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-03-22 16:46:31 +0100
commit21553364368b3b23b4b2007f9526b29c898287ab (patch)
treec2ac4985425c6fda7e8e3f93245ef469f6cc5490 /runtime/librsgt_read.c
parente25ffb6d1839d35fa890099aef8a78930d90438d (diff)
downloadrsyslog-21553364368b3b23b4b2007f9526b29c898287ab.tar.gz
rsyslog-21553364368b3b23b4b2007f9526b29c898287ab.tar.bz2
rsyslog-21553364368b3b23b4b2007f9526b29c898287ab.zip
fix: librsgt.h was not put in distribution tarball
Diffstat (limited to 'runtime/librsgt_read.c')
-rw-r--r--runtime/librsgt_read.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/librsgt_read.c b/runtime/librsgt_read.c
index e32ae454..8bd04aca 100644
--- a/runtime/librsgt_read.c
+++ b/runtime/librsgt_read.c
@@ -167,7 +167,7 @@ reportError(int errcode, gterrctx_t *ectx)
* ectx, as it has most information we need.
*/
static void
-reportVerifySuccess(gterrctx_t *ectx)
+reportVerifySuccess(gterrctx_t *ectx, GTVerificationInfo *vrfyInf)
{
if(ectx->fp != NULL) {
fprintf(ectx->fp, "%s[%llu:%llu:%llu]: block signature successfully verified\n",
@@ -180,6 +180,7 @@ reportVerifySuccess(gterrctx_t *ectx)
fprintf(ectx->fp, "\tBlock End Record...: '%s'\n", ectx->errRec);
fprintf(ectx->fp, "\tGT Verify Timestamp: [%u]%s\n",
ectx->gtstate, GTHTTP_getErrorString(ectx->gtstate));
+ GTVerificationInfo_print(ectx->fp, 0, vrfyInf);
}
}
@@ -909,7 +910,7 @@ verifyBLOCK_SIG(block_sig_t *bs, gtfile gf, FILE *sigfp, gterrctx_t *ectx)
r = 0;
if(rsgt_read_showVerified)
- reportVerifySuccess(ectx);
+ reportVerifySuccess(ectx, vrfyInf);
done:
if(r != 0)
reportError(r, ectx);