diff options
author | Linus Nordberg <linus@nordu.net> | 2016-09-15 16:36:47 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-09-15 16:36:47 +0200 |
commit | 0effa68d641a1af9d9750bf195600f9640d89e34 (patch) | |
tree | 31963212b2a1264d40d10b2dfcd2612bdfd917da /src | |
parent | 1a2eca30e0065cf33f10dcd109402037821b7694 (diff) |
Don't use erlang:timestamp/0 on R17.
Diffstat (limited to 'src')
-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 9159cb3..562ed3a 100644 --- a/src/x509.erl +++ b/src/x509.erl @@ -376,7 +376,7 @@ pems_from_file(Filename) -> dump_unparsable_cert(Der) -> case application:get_env(catlfish, rejected_certs_path) of {ok, Directory} -> - {NowMegaSec, NowSec, NowMicroSec} = erlang:timestamp(), + {NowMegaSec, NowSec, NowMicroSec} = plop_compat:timestamp(), Filename = filename:join(Directory, io_lib:format("~p:~p.~p", |