summaryrefslogtreecommitdiff
path: root/verifycert.erl
diff options
context:
space:
mode:
Diffstat (limited to 'verifycert.erl')
-rwxr-xr-xverifycert.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/verifycert.erl b/verifycert.erl
index b9a3753..d364adf 100755
--- a/verifycert.erl
+++ b/verifycert.erl
@@ -1,6 +1,6 @@
#!/usr/bin/env escript
%% -*- erlang -*-
-%%! -pa ebin -pa lib/catlfish-0.6.0-dev.ez/catlfish-0.6.0-dev/ebin -pa lib/lager-2.1.1.ez/lager-2.1.1/ebin
+%%! -pa lib/catlfish-0.6.0-dev.ez/catlfish-0.6.0-dev/ebin -pa lib/lager-2.1.1.ez/lager-2.1.1/ebin
write_reply(Bin) ->
Length = size(Bin),
@@ -36,6 +36,6 @@ loop(RootCerts) ->
loop(RootCerts)
end.
-main(_) ->
- Certs = x509:read_pemfiles_from_dir("tests/known_roots/"),
+main([KnownRoots]) ->
+ Certs = x509:read_pemfiles_from_dir(KnownRoots),
loop(Certs).