diff options
author | Steven Fackler <sfackler@gmail.com> | 2021-02-26 16:16:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 16:16:01 -0500 |
commit | 9872a5dd7f476170372b9e119b8a6b681396b434 (patch) | |
tree | 5986310534ad2ef2c18c60f073f40267ab3e05b5 | |
parent | d7c36c63af66b5272b0b64a803983e5fa4fc3af6 (diff) | |
download | rust-openssl-9872a5dd7f476170372b9e119b8a6b681396b434.zip |
Fix doc links
-rw-r--r-- | openssl/src/ssl/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index 25d0e901..248d6d65 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -3482,8 +3482,8 @@ impl<S: Read + Write> SslStream<S> { /// 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. /// |