From 4e8eb70640bb3768ab434add374bdf6f8455d2ec Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 10 Jul 2013 15:21:38 +0000 Subject: Change default policy to prohibit DTLS to minimize surprise. Allow applications to send arbirary alert messages. Add a new optional parameter to Channel which specifies how large to make the IO buffers by default. Add Channel::reset_state, and reset the IO buffers and cipher specs after a fatal alert. --- src/tls/tls_policy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tls/tls_policy.h') diff --git a/src/tls/tls_policy.h b/src/tls/tls_policy.h index f80bffb71..6cc41fc50 100644 --- a/src/tls/tls_policy.h +++ b/src/tls/tls_policy.h @@ -122,6 +122,8 @@ class BOTAN_DLL Policy /** * @return true if and only if we are willing to accept this version + * Default accepts only TLS, so override if you want to enable DTLS + * in your application. */ virtual bool acceptable_protocol_version(Protocol_Version version) const; -- cgit v1.2.3