aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509crl/crl_ent.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-10-06 15:54:03 +0000
committerlloyd <[email protected]>2011-10-06 15:54:03 +0000
commit7939e91a733c8c50706de2fb090fcb60f7f229c8 (patch)
treebd9f24eefbae7a49e4832ac728ea83c80da99dc4 /src/cert/x509crl/crl_ent.cpp
parentca5581260445e70ed4d038091acb88949b6101ce (diff)
parent2877bbc0828a92de94d3628455e92c4298a2ac7d (diff)
propagate from branch 'net.randombit.botan' (head 29dfb73a5efec220ebafcb9c1d7a32bb9d63461c)
to branch 'net.randombit.botan.cxx11' (head a842d86b2b9593318fbce5868c3d1278f8b3a037)
Diffstat (limited to 'src/cert/x509crl/crl_ent.cpp')
-rw-r--r--src/cert/x509crl/crl_ent.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cert/x509crl/crl_ent.cpp b/src/cert/x509crl/crl_ent.cpp
index d566637f6..a5663e6bb 100644
--- a/src/cert/x509crl/crl_ent.cpp
+++ b/src/cert/x509crl/crl_ent.cpp
@@ -11,7 +11,6 @@
#include <botan/ber_dec.h>
#include <botan/bigint.h>
#include <botan/oids.h>
-#include <botan/time.h>
namespace Botan {
@@ -31,7 +30,7 @@ CRL_Entry::CRL_Entry(const X509_Certificate& cert, CRL_Code why) :
throw_on_unknown_critical(false)
{
serial = cert.serial_number();
- time = X509_Time(system_time());
+ time = X509_Time(std::chrono::system_clock::now());
reason = why;
}