From d5299a8d2b73b8351feacc0ca6e946aec7863751 Mon Sep 17 00:00:00 2001 From: Brian Vincent Date: Tue, 17 Oct 2017 20:06:35 -0500 Subject: [PATCH] Fixed a typo in an error message, WANT_WRITE -> WANT_READ --- openssl/src/ssl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 SslStream { 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", ) } };