diff options
-rw-r--r-- | src/x509.erl | 2 |
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", |