diff options
author | lloyd <[email protected]> | 2014-04-10 13:59:30 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-04-10 13:59:30 +0000 |
commit | da2efcb6e07677cc8b0860508efb5d07c4f8171d (patch) | |
tree | 8eb8e773a5712a9dab4f7f8e22f667866d0f2ae0 /src/lib/cert/x509 | |
parent | e67cbc67e4e1bf289aeb28361fa0fa432886b5d7 (diff) |
Better TLS checks
Diffstat (limited to 'src/lib/cert/x509')
-rw-r--r-- | src/lib/cert/x509/x509path.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cert/x509/x509path.cpp b/src/lib/cert/x509/x509path.cpp index c1b68e72d..e8e44f653 100644 --- a/src/lib/cert/x509/x509path.cpp +++ b/src/lib/cert/x509/x509path.cpp @@ -171,7 +171,8 @@ check_chain(const std::vector<X509_Certificate>& cert_path, if(!crl_p) { - status.insert(Certificate_Status_Code::NO_REVOCATION_DATA); + if(restrictions.require_revocation_information()) + status.insert(Certificate_Status_Code::NO_REVOCATION_DATA); continue; } |