diff options
author | Linus Nordberg <linus@nordberg.se> | 2014-05-05 01:03:34 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2014-05-05 01:03:34 +0200 |
commit | 6d6561a902f2352f8dc1b7a28c37694e71fade16 (patch) | |
tree | 925a72eb72259952a446d213a9abe537b1b3be68 /src | |
parent | bf6fc033b757ae4b572ab6ff7fff332236525791 (diff) |
Add (empty) get-roots.
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), |