aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/tls_client.cpp4
-rw-r--r--doc/examples/tls_server.cpp4
2 files changed, 0 insertions, 8 deletions
diff --git a/doc/examples/tls_client.cpp b/doc/examples/tls_client.cpp
index 281ea4dd0..d56143a36 100644
--- a/doc/examples/tls_client.cpp
+++ b/doc/examples/tls_client.cpp
@@ -73,10 +73,6 @@ bool handshake_complete(const TLS::Session& session)
if(!session.session_ticket().empty())
std::cout << "Session ticket " << hex_encode(session.session_ticket()) << "\n";
- std::cout << "Secure renegotiation is"
- << (session.secure_renegotiation() ? "" : " NOT")
- << " supported\n";
-
return true;
}
diff --git a/doc/examples/tls_server.cpp b/doc/examples/tls_server.cpp
index 980230d58..4eadb8c79 100644
--- a/doc/examples/tls_server.cpp
+++ b/doc/examples/tls_server.cpp
@@ -73,10 +73,6 @@ bool handshake_complete(const TLS::Session& session)
if(!session.session_ticket().empty())
std::cout << "Session ticket " << hex_encode(session.session_ticket()) << "\n";
- std::cout << "Secure renegotiation is"
- << (session.secure_renegotiation() ? "" : " NOT")
- << " supported\n";
-
return true;
}