diff options
author | lloyd <[email protected]> | 2014-04-11 22:13:07 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-04-11 22:13:07 +0000 |
commit | d96b4425121bfeb122d90c73405f951b220a839c (patch) | |
tree | 20cca858ce4aa844f9067391f7380507cca6a2d1 /src/lib/tls/tls_extensions.h | |
parent | a69436e3cb4b91ec835673145fd4dbe703342a4c (diff) |
Verify that the server did not send any extension that the client didn't
offer. Previously the client only checked a couple of special cases.
Diffstat (limited to 'src/lib/tls/tls_extensions.h')
-rw-r--r-- | src/lib/tls/tls_extensions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/tls/tls_extensions.h b/src/lib/tls/tls_extensions.h index caa389ded..a88938eba 100644 --- a/src/lib/tls/tls_extensions.h +++ b/src/lib/tls/tls_extensions.h @@ -13,6 +13,7 @@ #include <vector> #include <string> #include <map> +#include <set> namespace Botan { @@ -357,6 +358,8 @@ class Heartbeat_Support_Indicator : public Extension class Extensions { public: + std::set<Handshake_Extension_Type> extension_types() const; + template<typename T> T* get() const { |