aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/ssl/error.rs
diff options
context:
space:
mode:
authorjethrogb <[email protected]>2017-05-03 12:03:18 -0700
committerGitHub <[email protected]>2017-05-03 12:03:18 -0700
commitdd3896fdc590dba88cef0e8aa26283458bc24e75 (patch)
treea2d9da244c6c655236f3de858aefc0d5ea811407 /openssl/src/ssl/error.rs
parentMerge pull request #618 from sfackler/sha (diff)
downloadrust-openssl-dd3896fdc590dba88cef0e8aa26283458bc24e75.tar.xz
rust-openssl-dd3896fdc590dba88cef0e8aa26283458bc24e75.zip
Clarify use of ssl::HandshakeError::Interrupted
Diffstat (limited to 'openssl/src/ssl/error.rs')
-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>),
}