diff options
author | lloyd <[email protected]> | 2012-10-13 19:38:15 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-10-13 19:38:15 +0000 |
commit | ed689a532a5938051dddebbda22d34b04f208164 (patch) | |
tree | e11653c6183fcb50d049a4389371d4c7edf7d217 /src/tls/tls_policy.h | |
parent | 5a6afba7f8d403cd29efe3302012ecf1b5f6ce5a (diff) |
Remove TLS::Policy::pref_version. Instead pass the version to offer to
the Client constructor. Defaults to the most recent version of TLS.
Allows TLS or DTLS, and means that it's possible to back down on the
offered version, without requiring a Policy implementation with
mutable state.
Diffstat (limited to 'src/tls/tls_policy.h')
-rw-r--r-- | src/tls/tls_policy.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tls/tls_policy.h b/src/tls/tls_policy.h index 8b73fea9d..4379d9b0c 100644 --- a/src/tls/tls_policy.h +++ b/src/tls/tls_policy.h @@ -119,11 +119,6 @@ class BOTAN_DLL Policy */ virtual bool acceptable_protocol_version(Protocol_Version version) const; - /** - * @return the version we would prefer to negotiate - */ - virtual Protocol_Version pref_version() const; - virtual ~Policy() {} }; |