diff options
author | lloyd <[email protected]> | 2013-03-27 16:57:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-03-27 16:57:59 +0000 |
commit | 4d69a574d050e010fdc1792ea0c8020bc1a5f55c (patch) | |
tree | e356db2f929f59c00fc7739641eb30d7de262fda /src/tls/tls_policy.cpp | |
parent | 3bf1f1321c3c78c499d7e44c9fb2ca97b927f5a1 (diff) | |
parent | 11c7544fe0576571f01973c8861a068895aa8c87 (diff) |
propagate from branch 'net.randombit.botan' (head b7ac11f48ca4fe8e5aafa01979c5bf087b156d77)
to branch 'net.randombit.botan.aead-modes' (head 061b249cd586d4ff849aaa48c3ec8cf7587acc56)
Diffstat (limited to 'src/tls/tls_policy.cpp')
-rw-r--r-- | src/tls/tls_policy.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tls/tls_policy.cpp b/src/tls/tls_policy.cpp index 98e3c6bca..1048e0a62 100644 --- a/src/tls/tls_policy.cpp +++ b/src/tls/tls_policy.cpp @@ -131,6 +131,14 @@ u32bit Policy::session_ticket_lifetime() const bool Policy::acceptable_protocol_version(Protocol_Version version) const { return version.known_version(); // accept any version we know about + + // maybe someday... + //return version >= Protocol_Version::TLS_V11; + } + +bool Policy::server_uses_own_ciphersuite_preferences() const + { + return true; } namespace { |