diff options
author | lloyd <[email protected]> | 2013-07-10 15:21:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-07-10 15:21:38 +0000 |
commit | 4e8eb70640bb3768ab434add374bdf6f8455d2ec (patch) | |
tree | ba16494e3a9665c3d5eb7b8228fe4b15178ac785 /src/tls/tls_policy.h | |
parent | 2a9848fd18b1210a845d02efda38e398950bd76c (diff) |
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.
Diffstat (limited to 'src/tls/tls_policy.h')
-rw-r--r-- | src/tls/tls_policy.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |