summaryrefslogtreecommitdiff
path: root/verifycert.erl
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2015-04-13 16:39:19 +0200
committerLinus Nordberg <linus@nordberg.se>2015-04-13 16:39:19 +0200
commit80bc94506980ac588e6bb1ce5e8021be21dec2fe (patch)
treec44d158605bf4fe11434b620540a459a8441637d /verifycert.erl
parent8af8203651390a048d510e47a9349effcf67af22 (diff)
fixup! WIP
Diffstat (limited to 'verifycert.erl')
-rwxr-xr-xverifycert.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/verifycert.erl b/verifycert.erl
index 2d04b20..d364adf 100755
--- a/verifycert.erl
+++ b/verifycert.erl
@@ -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).