aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Vincent <[email protected]>2017-10-17 20:06:35 -0500
committerBrian Vincent <[email protected]>2017-10-17 20:06:35 -0500
commitd5299a8d2b73b8351feacc0ca6e946aec7863751 (patch)
treef579b5c1e81d0935bd030db7686fe5887e801294
parentRelease v0.9.20 (diff)
downloadrust-openssl-d5299a8d2b73b8351feacc0ca6e946aec7863751.tar.xz
rust-openssl-d5299a8d2b73b8351feacc0ca6e946aec7863751.zip
Fixed a typo in an error message, WANT_WRITE -> WANT_READ
-rw-r--r--openssl/src/ssl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs
index 01b49cb8..5a924a64 100644
--- a/openssl/src/ssl/mod.rs
+++ b/openssl/src/ssl/mod.rs
@@ -1805,7 +1805,7 @@ impl<S> SslStream<S> {
None => {
io::Error::new(
io::ErrorKind::Other,
- "BUG: got an SSL_ERROR_WANT_WRITE with no error in the BIO",
+ "BUG: got an SSL_ERROR_WANT_READ with no error in the BIO",
)
}
};