diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/v1.erl | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -45,11 +45,13 @@ get_proof_by_hash(SessionID, _Env, _Input) -> niy(SessionID). get_entries(SessionID, _Env, _Input) -> niy(SessionID). -get_roots(SessionID, _Env, _Input) -> - niy(SessionID). get_entry_and_proof(SessionID, _Env, _Input) -> niy(SessionID). +get_roots(SessionID, _Env, _Input) -> + R = [{certificates, []}], % NIY. + mod_esi:deliver(SessionID, binary_to_list(jiffy:encode({R}))). + %% For testing. FIXME: Remove. hello(SessionID, Env, Input) -> Query = httpd:parse_query(Input), |