diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-29 00:03:01 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-29 00:03:01 +0300 |
commit | caeba984a1120713035cb08089ec19d68e1af3ca (patch) | |
tree | 91e9139e867f05ff42f1579148f441f7a2a60fb6 /bpkg/auth.cxx | |
parent | 1c4d0bab8ad9973077d231fd4fabfb76f4645a3f (diff) |
Use system_clock instead of timestamp::clock
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r-- | bpkg/auth.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index 4faf9ed..5d9a638 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -14,6 +14,7 @@ #include <libbutl/process.hxx> #include <libbutl/openssl.hxx> #include <libbutl/fdstream.hxx> +#include <libbutl/timestamp.hxx> #include <libbutl/filesystem.hxx> #include <bpkg/package.hxx> @@ -838,7 +839,7 @@ namespace bpkg // shared_ptr<certificate> cert (parse_cert (co, "", cert_pem, r)); - timestamp now (timestamp::clock::now ()); + timestamp now (system_clock::now ()); if (cert->end_date < now) fail << "certificate for repository " << r << " has expired"; |