diff options
author | Linus Nordberg <linus@nordu.net> | 2016-07-16 17:26:54 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-07-16 17:26:54 +0200 |
commit | 374900dca397ba8fe38fc028e9eb657feb5ce073 (patch) | |
tree | 708bfe4081bf50961bab983e0e4a610cd7ac1355 /src/catlfish.erl | |
parent | cde186313b20e46be41736c9ac506674fa4f2d23 (diff) |
WIP
NOTE: tests don't work -- SCT's don't validate
Diffstat (limited to 'src/catlfish.erl')
-rw-r--r-- | src/catlfish.erl | 1 |
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}. |