diff options
author | lloyd <[email protected]> | 2012-01-04 17:11:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-01-04 17:11:40 +0000 |
commit | 268b336843cf71f8fcb8c68ed67a622c71e3232a (patch) | |
tree | 1e6da6458693a5c8040edeb05bc3eef40c93cddf /src/tls/tls_extensions.cpp | |
parent | c926d5e919245f25d1730f4f4d565f691647e99f (diff) |
Split hello.cpp into c_hello.cpp and s_hello.cpp
Add support for NPN on the server side. Server is initialized with the
list of protocols it wants to offer, once the handshake completes the
client requested protocol is available via a getter.
Diffstat (limited to 'src/tls/tls_extensions.cpp')
-rw-r--r-- | src/tls/tls_extensions.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tls/tls_extensions.cpp b/src/tls/tls_extensions.cpp index a6ab13f46..c74790ea1 100644 --- a/src/tls/tls_extensions.cpp +++ b/src/tls/tls_extensions.cpp @@ -9,8 +9,6 @@ #include <botan/internal/tls_reader.h> #include <botan/tls_exceptn.h> -#include <stdio.h> - namespace Botan { namespace { @@ -244,8 +242,6 @@ Next_Protocol_Negotiation::Next_Protocol_Negotiation(TLS_Data_Reader& reader, { const std::string p = reader.get_string(1, 0, 255); - printf("Protocol option %s\n", p.c_str()); - if(bytes_remaining < p.size() + 1) throw Decoding_Error("Bad encoding for next protocol extension"); |