2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-19 16:12:09 +00:00

Fix typo in ssl::stream documentation.

This commit is contained in:
Christopher Kohlhoff
2024-04-02 22:46:53 +11:00
parent 8fba3f455f
commit fae2cfcbcb
2 changed files with 2 additions and 2 deletions

View File

@@ -157319,7 +157319,7 @@ This function may be used to obtain the underlying implementation of the context
The `native_handle()` function returns a pointer of type `SSL*` that is suitable for passing to functions such as `SSL_get_verify_result` and `SSL_get_peer_certificate:`
boost::asio::ssl::stream<asio:ip::tcp::socket> sock(my_context, ctx);
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> sock(io_ctx, ctx);
// ... establish connection and perform handshake ...

View File

@@ -188,7 +188,7 @@ public:
* suitable for passing to functions such as @c SSL_get_verify_result and
* @c SSL_get_peer_certificate:
* @code
* boost::asio::ssl::stream<asio:ip::tcp::socket> sock(my_context, ctx);
* boost::asio::ssl::stream<boost::asio::ip::tcp::socket> sock(io_ctx, ctx);
*
* // ... establish connection and perform handshake ...
*