aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_client.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-12-30 16:44:51 +0000
committerlloyd <[email protected]>2011-12-30 16:44:51 +0000
commit480adf560aedce4165cb5606701e3a5ff99dda41 (patch)
tree36679472c82a89ea6af14dddd5a83c209fbdbf3e /src/tls/tls_client.cpp
parenteedc562549e726e040a1a76893ddb264d3b85e64 (diff)
Full support for renegotiation including RFC 5746 extensions for
client and server. Server side can handle SCSV values as well, client always sends the extension instead. Handle an empty SNI extension coming back from the server - this is used to indicate that it understood the name. Also add better checking for extensions by passing in what the supposed size of the extension is. Only send the secure negotiation extension in the server hello if the client indicated support for it.
Diffstat (limited to 'src/tls/tls_client.cpp')
-rw-r--r--src/tls/tls_client.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tls/tls_client.cpp b/src/tls/tls_client.cpp
index a97ac65b3..8c7c4188e 100644
--- a/src/tls/tls_client.cpp
+++ b/src/tls/tls_client.cpp
@@ -12,8 +12,6 @@
#include <botan/dsa.h>
#include <botan/dh.h>
-#include <stdio.h>
-
namespace Botan {
/*
@@ -89,8 +87,6 @@ void TLS_Client::process_handshake_msg(Handshake_Type type,
if(type == HELLO_REQUEST)
{
- printf("got a hello request\n");
-
Hello_Request hello_request(contents);
// Ignore request entirely if we are currently negotiating a handshake