aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cert/x509/x509path.cpp')
-rw-r--r--src/lib/cert/x509/x509path.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/cert/x509/x509path.cpp b/src/lib/cert/x509/x509path.cpp
index dfd45f951..3f760cd54 100644
--- a/src/lib/cert/x509/x509path.cpp
+++ b/src/lib/cert/x509/x509path.cpp
@@ -205,11 +205,6 @@ check_chain(const std::vector<X509_Certificate>& cert_path,
Extensions extensions = subject.v3_extensions();
for (auto& extension : extensions.extensions())
{
- if(!Extensions::is_known_extension(extension.first->oid_of()) && extension.second)
- {
- status.insert(Certificate_Status_Code::UNKNOWN_CRITICAL_EXTENSION);
- continue;
- }
extension.first->validate(cert_path[i], status, cert_path);
}
}