aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-05-03 12:19:36 -0700
committerGitHub <[email protected]>2017-05-03 12:19:36 -0700
commit78c82fa3ee365056ced0c87b16ca6e036c1545c9 (patch)
treea2d9da244c6c655236f3de858aefc0d5ea811407 /openssl/src
parentMerge pull request #618 from sfackler/sha (diff)
parentClarify use of ssl::HandshakeError::Interrupted (diff)
downloadrust-openssl-78c82fa3ee365056ced0c87b16ca6e036c1545c9.tar.xz
rust-openssl-78c82fa3ee365056ced0c87b16ca6e036c1545c9.zip
Merge pull request #627 from jethrogb/patch-1
Clarify use of ssl::HandshakeError::Interrupted
Diffstat (limited to 'openssl/src')
-rw-r--r--openssl/src/ssl/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/ssl/error.rs b/openssl/src/ssl/error.rs
index 518ae90f..73eb2d47 100644
--- a/openssl/src/ssl/error.rs
+++ b/openssl/src/ssl/error.rs
@@ -73,7 +73,7 @@ pub enum HandshakeError<S> {
SetupFailure(ErrorStack),
/// The handshake failed.
Failure(MidHandshakeSslStream<S>),
- /// The handshake was interrupted midway through.
+ /// The handshake was interrupted midway through. This error will never be returned for blocking streams.
Interrupted(MidHandshakeSslStream<S>),
}