summaryrefslogtreecommitdiff
path: root/src/catlfish.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/catlfish.erl')
-rw-r--r--src/catlfish.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/catlfish.erl b/src/catlfish.erl
index 711deaa..27563d1 100644
--- a/src/catlfish.erl
+++ b/src/catlfish.erl
@@ -124,6 +124,7 @@ add_to_db(Type, LeafCert, CertChain, EntryHash) ->
leaf_type = timestamped_entry,
entry = TSE}),
MTLHash = ht:leaf_hash(MTLText),
+ lager:debug("LeafCert len: ~p", [byte_size(LeafCert)]),
LogEntry = pack_entry(Type, MTLText, LeafCert, CertChain),
ok = plop:add(LogEntry, MTLHash, EntryHash),
{TSE, MTLHash}.