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", ) } };