aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509_crl.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-08-08 18:54:48 +0200
committerSimon Warta <[email protected]>2015-08-11 10:50:14 +0200
commit3b0ab51f41325a20ba0b8113418d9d916d8e2857 (patch)
tree05ffa5624f8aff7d1df750aa3d8416414a1b84e9 /src/lib/cert/x509/x509_crl.cpp
parentee415570876d8d91e99bab7dc7a14209419a93af (diff)
Sometimes we don't know the input format. But it is one of two
Diffstat (limited to 'src/lib/cert/x509/x509_crl.cpp')
-rw-r--r--src/lib/cert/x509/x509_crl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cert/x509/x509_crl.cpp b/src/lib/cert/x509/x509_crl.cpp
index 5dce682c2..8b6d1522b 100644
--- a/src/lib/cert/x509/x509_crl.cpp
+++ b/src/lib/cert/x509/x509_crl.cpp
@@ -177,7 +177,7 @@ u32bit X509_CRL::crl_number() const
*/
X509_Time X509_CRL::this_update() const
{
- return X509_Time(info.get1("X509.CRL.start"), ASN1_Tag::UTC_TIME);
+ return X509_Time(info.get1("X509.CRL.start"), ASN1_Tag::UTC_OR_GENERALIZED_TIME);
}
/*
@@ -185,7 +185,7 @@ X509_Time X509_CRL::this_update() const
*/
X509_Time X509_CRL::next_update() const
{
- return X509_Time(info.get1("X509.CRL.end"), ASN1_Tag::UTC_TIME);
+ return X509_Time(info.get1("X509.CRL.end"), ASN1_Tag::UTC_OR_GENERALIZED_TIME);
}
}