diff options
author | Jack Lloyd <[email protected]> | 2019-05-07 04:16:01 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-05-07 04:16:01 -0400 |
commit | a867666b5b3d65305cb52d13872fb2829440fb61 (patch) | |
tree | 6a6cda39d7e2cfad62d215d43ca6d09d55825e8a | |
parent | df45afc093073ceb29f358ba7acc412c8b6e2093 (diff) | |
parent | ab271cbe7f43da858a6b5706a2fd6077b00cbbbd (diff) |
Merge GH #1935 Fix doc
-rw-r--r-- | doc/manual/tls.rst | 4 |
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 |