summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-09-24 19:48:17 +0200
committerLinus Nordberg <linus@nordberg.se>2014-09-24 19:49:04 +0200
commit0af8bbb19bdf6adc725725216de0ad0260445663 (patch)
tree2ab2449f2b64b44b70de58be9cca788bdbc0fa85 /src
parent6994e5e42ef8b541f5ef22a8eab2dc14a5f86a2c (diff)
CtExtensions in SCT is empty string in output.encode-extra-data
Diffstat (limited to 'src')
-rw-r--r--src/catlfish.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/catlfish.erl b/src/catlfish.erl
index 58e763f..2ba9d58 100644
--- a/src/catlfish.erl
+++ b/src/catlfish.erl
@@ -16,7 +16,7 @@ add_chain(LeafCert, CertChain) ->
R = [{sct_version, ?PROTOCOL_VERSION},
{id, base64:encode(SPT#spt.logid)},
{timestamp, SPT#spt.timestamp},
- {extensions, base64:encode(serialise_tls_vector(<<>>, 2))},
+ {extensions, base64:encode("")},
{signature, base64:encode(plop:serialise(SPT#spt.signature))}],
binary_to_list(jiffy:encode({R})).