summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/x509.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509.erl b/src/x509.erl
index e0d8ea7..7ae73c3 100644
--- a/src/x509.erl
+++ b/src/x509.erl
@@ -377,7 +377,7 @@ pems_from_file(Filename) ->
dump_unparsable_cert(Der) ->
case application:get_env(catlfish, rejected_certs_path) of
{ok, Directory} ->
- {NowMegaSec, NowSec, NowMicroSec} = now(),
+ {NowMegaSec, NowSec, NowMicroSec} = erlang:timestamp(),
Filename =
filename:join(Directory,
io_lib:format("~p:~p.~p",