diff options
author | René Korthaus <[email protected]> | 2016-04-10 19:45:52 +0200 |
---|---|---|
committer | René Korthaus <[email protected]> | 2016-04-10 19:45:52 +0200 |
commit | 51e49a04f968931c6bd0f9a77d69cabe2c0fc710 (patch) | |
tree | 43a20a941cb054c879f138fd13526499f6d68dc1 /src/lib/cert/x509/x509path.cpp | |
parent | 6bb53f89ef97bb8c5bee8d78c85ccb96a29e8f46 (diff) |
Add Unknown_Critical_Extension type
Diffstat (limited to 'src/lib/cert/x509/x509path.cpp')
-rw-r--r-- | src/lib/cert/x509/x509path.cpp | 5 |
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); } } |