diff options
Diffstat (limited to 'boost/asio/ssl/old/detail/openssl_operation.hpp')
-rw-r--r-- | boost/asio/ssl/old/detail/openssl_operation.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/boost/asio/ssl/old/detail/openssl_operation.hpp b/boost/asio/ssl/old/detail/openssl_operation.hpp index c4a8feea61..6835f5ff6a 100644 --- a/boost/asio/ssl/old/detail/openssl_operation.hpp +++ b/boost/asio/ssl/old/detail/openssl_operation.hpp @@ -17,9 +17,9 @@ #include <boost/asio/detail/config.hpp> #include <boost/function.hpp> -#include <boost/assert.hpp> #include <boost/bind.hpp> #include <boost/asio/buffer.hpp> +#include <boost/asio/detail/assert.hpp> #include <boost/asio/detail/socket_ops.hpp> #include <boost/asio/placeholders.hpp> #include <boost/asio/ssl/detail/openssl_types.hpp> @@ -154,7 +154,7 @@ public: // For connect/accept/shutdown, the operation // is done, when return code is 1 // for write, it is done, when is retcode > 0 - // for read, is is done when retcode > 0 + // for read, it is done when retcode > 0 int error_code = !is_operation_done ? ::SSL_get_error( session_, rc ) : @@ -314,7 +314,7 @@ private: unsigned char *data_start = send_buf_.get_unused_start(); send_buf_.data_added(len); - BOOST_ASSERT(strand_); + BOOST_ASIO_ASSERT(strand_); boost::asio::async_write ( socket_, @@ -379,7 +379,7 @@ private: int do_async_read() { // Wait for new data - BOOST_ASSERT(strand_); + BOOST_ASIO_ASSERT(strand_); socket_.async_read_some ( boost::asio::buffer(recv_buf_.get_unused_start(), |