aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/manual/tls.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/tls.rst b/doc/manual/tls.rst
index e93631a7c..bb363ca43 100644
--- a/doc/manual/tls.rst
+++ b/doc/manual/tls.rst
@@ -447,7 +447,7 @@ The full code for a TLS client using BSD sockets is in `src/cli/tls_client.cpp`
Callbacks callbacks;
Botan::AutoSeeded_RNG rng;
Botan::TLS::Session_Manager_In_Memory session_mgr(rng);
- Botan::Client_Credentials creds;
+ Client_Credentials creds;
Botan::TLS::Strict_Policy policy;
// open the tls connection
@@ -605,7 +605,7 @@ The full code for a TLS server using asio is in `src/cli/tls_proxy.cpp`.
Callbacks callbacks;
Botan::AutoSeeded_RNG rng;
Botan::TLS::Session_Manager_In_Memory session_mgr(rng);
- Botan::Client_Credentials creds;
+ Server_Credentials creds;
Botan::TLS::Strict_Policy policy;
// accept tls connection from client