summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-09-24 22:04:44 +0200
committerLinus Nordberg <linus@nordberg.se>2014-09-24 22:04:44 +0200
commit5fba8e2d4d263dd78563b8f3af931d8e599d7cad (patch)
tree19855249d41d9d056a2156dafd68d3dc923c3c66
parent7e654c3ee196f6b647b06b68bef06a9268d29852 (diff)
Do serialise certificate when signing SCT.
-rw-r--r--src/plop.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plop.erl b/src/plop.erl
index adf4c0b..b0d9090 100644
--- a/src/plop.erl
+++ b/src/plop.erl
@@ -419,8 +419,8 @@ serialise(#spt_signed{
[<<Version:8,
Sigtype:8,
Timestamp:64,
- Entrytype:16,
- Entry/binary>>,
+ Entrytype:16>>,
+ serialise_tls_vector(Entry, 3),
serialise_tls_vector(Extensions, 2)]);
serialise(#mtl{ % Merkle Tree Leaf.
version = Version,