diff options
author | Jack Lloyd <[email protected]> | 2016-11-28 05:30:29 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-28 05:30:29 -0500 |
commit | ea3cb1e12822bbdbe99938ef47ac739f9c891ff4 (patch) | |
tree | 973fb402dfb30b66fd209cbf9b55b6ef7dab3828 /src/lib/tls/tls_callbacks.cpp | |
parent | 89e37bc7a265f26b1dddd90ec3a94b43d81e48e3 (diff) |
Add TLS::Policy::require_cert_revocation_info
Diffstat (limited to 'src/lib/tls/tls_callbacks.cpp')
-rw-r--r-- | src/lib/tls/tls_callbacks.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tls/tls_callbacks.cpp b/src/lib/tls/tls_callbacks.cpp index 7afb3f17f..f25f392b3 100644 --- a/src/lib/tls/tls_callbacks.cpp +++ b/src/lib/tls/tls_callbacks.cpp @@ -36,7 +36,8 @@ void TLS::Callbacks::tls_verify_cert_chain( if(cert_chain.empty()) throw Invalid_Argument("Certificate chain was empty"); - Path_Validation_Restrictions restrictions(true, policy.minimum_signature_strength()); + Path_Validation_Restrictions restrictions(policy.require_cert_revocation_info(), + policy.minimum_signature_strength()); Path_Validation_Result result = x509_path_validate(cert_chain, |