summaryrefslogtreecommitdiff
path: root/src/v1.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-10-24 16:49:57 +0200
committerLinus Nordberg <linus@nordberg.se>2014-10-24 16:49:57 +0200
commit80e21b72beb000a864c0fb5483a1fdeb9499c31d (patch)
treef49345f24457cca0995b595ee857f14abd3a9a24 /src/v1.erl
parent86419f500e74386a4613d4cee0aab66e129d7ed5 (diff)
Don't use update_known_roots/0 in get-roots.
It's crashing and needs to be rewritten.
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 086fa35..707f8ea 100644
--- a/src/v1.erl
+++ b/src/v1.erl
@@ -132,7 +132,7 @@ request(get, "ct/v1/get-entry-and-proof", Query) ->
request(get, "ct/v1/get-roots", _Query) ->
R = [{certificates,
[base64:encode(Der) ||
- Der <- catlfish:update_known_roots()]}],
+ Der <- catlfish:known_roots()]}],
success(jiffy:encode({R}));
request(_Method, _Path, _) ->