aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-28 05:30:29 -0500
committerJack Lloyd <[email protected]>2016-11-28 05:30:29 -0500
commitea3cb1e12822bbdbe99938ef47ac739f9c891ff4 (patch)
tree973fb402dfb30b66fd209cbf9b55b6ef7dab3828 /src/lib/tls/tls_policy.cpp
parent89e37bc7a265f26b1dddd90ec3a94b43d81e48e3 (diff)
Add TLS::Policy::require_cert_revocation_info
Diffstat (limited to 'src/lib/tls/tls_policy.cpp')
-rw-r--r--src/lib/tls/tls_policy.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/tls/tls_policy.cpp b/src/lib/tls/tls_policy.cpp
index e9caa8bb3..84ba5e4bf 100644
--- a/src/lib/tls/tls_policy.cpp
+++ b/src/lib/tls/tls_policy.cpp
@@ -161,6 +161,11 @@ size_t Policy::minimum_signature_strength() const
return 110;
}
+bool Policy::require_cert_revocation_info() const
+ {
+ return true;
+ }
+
size_t Policy::minimum_rsa_bits() const
{
/* Default assumption is all end-entity certificates should