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:
@@ -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 ...
|
||||
|
||||
|
||||
@@ -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 ...
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user