summaryrefslogtreecommitdiff
path: root/src/v1.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2014-05-20 12:16:28 +0200
committerLinus Nordberg <linus@nordu.net>2014-05-20 12:16:28 +0200
commit943b9b21f069a91a4417332940539a3015ad6af7 (patch)
tree9e9d2068cf1475e64ccbf7d8369361f249845807 /src/v1.erl
parent1065955a36169d357c8ca4588e2e4dc068c842c7 (diff)
Make 'extensions' field the empty string.
Not the empty list.
Diffstat (limited to 'src/v1.erl')
-rw-r--r--src/v1.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v1.erl b/src/v1.erl
index 32dabab..9f454fc 100644
--- a/src/v1.erl
+++ b/src/v1.erl
@@ -17,7 +17,7 @@ add_chain(SessionID, _Env, Input) ->
R = [{sct_version, ?PROTOCOL_VERSION},
{id, base64:encode(SPT#spt.logid)},
{timestamp, SPT#spt.timestamp},
- {extensions, []},
+ {extensions, base64:encode("")},
{signature,
base64:encode(
list_to_binary(plop:serialise(SPT#spt.signature)))}],