summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--runtime/librsgt.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e4eebe7..c823dc33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
---------------------------------------------------------------------------
Version 7.3.12 [devel] 2013-04-??
+- bugfix: block size limit was not properly honored
- bugfix: potential segfault in guardtime signature provider
it could segfault if an error was reported by the GuardTime API, because
an invalid free could happen then
diff --git a/runtime/librsgt.c b/runtime/librsgt.c
index 2127e306..ae0b0df6 100644
--- a/runtime/librsgt.c
+++ b/runtime/librsgt.c
@@ -148,6 +148,7 @@ rsgtfileConstruct(gtctx ctx)
goto done;
gf->ctx = ctx;
gf->hashAlg = ctx->hashAlg;
+ gf->blockSizeLimit = ctx->blockSizeLimit;
gf->bKeepRecordHashes = ctx->bKeepRecordHashes;
gf->bKeepTreeHashes = ctx->bKeepTreeHashes;
gf->x_prev = NULL;