fix: librsgt.h was not put in distribution tarball

This commit is contained in:
Rainer Gerhards 2013-03-22 16:46:31 +01:00
parent e25ffb6d18
commit 2155336436
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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);