summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/v1.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/v1.erl b/src/v1.erl
index c7624db..57458bb 100644
--- a/src/v1.erl
+++ b/src/v1.erl
@@ -3,7 +3,7 @@
get_sth_consistency/3, get_proof_by_hash/3, get_entries/3,
get_roots/3, get_entry_and_proof/3]).
-export([hello/3]).
--include("/home/linus/usr/src/ct/plop/include/plop.hrl").
+-include("$CTROOT/plop/include/plop.hrl").
-define(PROTOCOL_VERSION, 1).
%% Public functions.
@@ -36,7 +36,7 @@ get_sth(SessionID, _Env, _Input) ->
R = [{tree_size, Treesize},
{timestamp, Timestamp},
{sha256_root_hash, base64:encode(Roothash)},
- {tree_head_signature, base64:encode(Signature)}],
+ {tree_head_signature, Signature}],
deliver(SessionID, jiffy:encode({R})).
get_sth_consistency(SessionID, _Env, _Input) ->