aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509cert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/x509/x509cert.cpp')
-rw-r--r--src/lib/x509/x509cert.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/x509/x509cert.cpp b/src/lib/x509/x509cert.cpp
index 6814f54c1..74bd17811 100644
--- a/src/lib/x509/x509cert.cpp
+++ b/src/lib/x509/x509cert.cpp
@@ -771,6 +771,7 @@ std::string X509_Certificate::to_string() const
}
NameConstraints name_constraints = this->name_constraints();
+
if(!name_constraints.permitted().empty() ||
!name_constraints.excluded().empty())
{