aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api_ref/tls.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api_ref/tls.rst b/doc/api_ref/tls.rst
index 90fe2f555..f78d59e90 100644
--- a/doc/api_ref/tls.rst
+++ b/doc/api_ref/tls.rst
@@ -1699,10 +1699,10 @@ It offers the following interface:
A helper class to initialize and configure the Stream's underlying *native handle* (see :cpp:class:`TLS::Client`).
- .. cpp:function:: Context(Credentials_Manager* credentialsManager, \
- RandomNumberGenerator* randomNumberGenerator, \
- Session_Manager* sessionManager, \
- Policy* policy, \
+ .. cpp:function:: Context(Credentials_Manager& credentialsManager, \
+ RandomNumberGenerator& randomNumberGenerator, \
+ Session_Manager& sessionManager, \
+ Policy& policy, \
Server_Information serverInfo = Server_Information())
Constructor for TLS::Context.
@@ -1755,10 +1755,10 @@ Stream Code Example
boost::asio::ip::tcp::resolver::iterator endpoint_iterator,
http::request<http::string_body> req)
: request_(req)
- , ctx_(&credentials_mgr_,
- &rng_,
- &session_mgr_,
- &policy_,
+ , ctx_(credentials_mgr_,
+ rng_,
+ session_mgr_,
+ policy_,
Botan::TLS::Server_Information())
, stream_(io_context, ctx_)
{