From 9872a5dd7f476170372b9e119b8a6b681396b434 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 26 Feb 2021 16:16:01 -0500 Subject: [PATCH] Fix doc links --- openssl/src/ssl/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index 25d0e901b..248d6d653 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -3482,8 +3482,8 @@ impl SslStream { /// Creates a new `SslStream`. /// /// This function performs no IO; the stream will not have performed any part of the handshake - /// with the peer. If the `Ssl` was configured with [`SslRef::set_client_state`] or - /// [`SslRef::set_server_state`], the handshake can be performed automatically during the first + /// with the peer. If the `Ssl` was configured with [`SslRef::set_connect_state`] or + /// [`SslRef::set_accept_state`], the handshake can be performed automatically during the first /// call to read or write. Otherwise the `connect` and `accept` methods can be used to /// explicitly perform the handshake. /// -- GitLab