mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 06:10:42 +01:00
fix: librsgt.h was not put in distribution tarball
This commit is contained in:
parent
e25ffb6d18
commit
2155336436
@ -178,7 +178,7 @@ endif
|
||||
# support library for guardtime
|
||||
#
|
||||
if ENABLE_GUARDTIME
|
||||
librsgt_la_SOURCES = librsgt.c librsgt_read.c
|
||||
librsgt_la_SOURCES = librsgt.c librsgt_read.c librsgt.h
|
||||
|
||||
pkglib_LTLIBRARIES += lmsig_gt.la
|
||||
lmsig_gt_la_SOURCES = lmsig_gt.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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user