aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cert/x509/x509opt.cpp')
-rw-r--r--src/lib/cert/x509/x509opt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cert/x509/x509opt.cpp b/src/lib/cert/x509/x509opt.cpp
index ef83124e6..52845658f 100644
--- a/src/lib/cert/x509/x509opt.cpp
+++ b/src/lib/cert/x509/x509opt.cpp
@@ -17,7 +17,7 @@ namespace Botan {
*/
void X509_Cert_Options::not_before(const std::string& time_string)
{
- start = X509_Time(time_string, ASN1_Tag::UTC_TIME);
+ start = X509_Time(time_string, ASN1_Tag::UTC_OR_GENERALIZED_TIME);
}
/*
@@ -25,7 +25,7 @@ void X509_Cert_Options::not_before(const std::string& time_string)
*/
void X509_Cert_Options::not_after(const std::string& time_string)
{
- end = X509_Time(time_string, ASN1_Tag::UTC_TIME);
+ end = X509_Time(time_string, ASN1_Tag::UTC_OR_GENERALIZED_TIME);
}
/*