diff options
author | Jack Lloyd <[email protected]> | 2016-11-28 05:30:54 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-28 05:30:54 -0500 |
commit | 71406354a1ec7c2021b92e051ede72fe0466639a (patch) | |
tree | bbe6ae8104efe42e3a018c0d9374102960dd944c /src | |
parent | ea3cb1e12822bbdbe99938ef47ac739f9c891ff4 (diff) |
Document TLS::Policy::require_cert_revocation_info
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/tls_client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cli/tls_client.cpp b/src/cli/tls_client.cpp index b6cb43ff9..30871791c 100644 --- a/src/cli/tls_client.cpp +++ b/src/cli/tls_client.cpp @@ -263,7 +263,8 @@ class TLS_Client final : public Command, public Botan::TLS::Callbacks if(cert_chain.empty()) throw std::invalid_argument("Certificate chain was empty"); - Botan::Path_Validation_Restrictions restrictions(true, policy.minimum_signature_strength()); + Botan::Path_Validation_Restrictions restrictions(policy.require_cert_revocation_info(), + policy.minimum_signature_strength()); auto ocsp_timeout = std::chrono::milliseconds(1000); |