diff options
-rw-r--r-- | ACE/ace/SSL/SSL_SOCK_Stream.cpp | 1 | ||||
-rw-r--r-- | ACE/ace/SSL/SSL_SOCK_Stream.inl | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ACE/ace/SSL/SSL_SOCK_Stream.cpp b/ACE/ace/SSL/SSL_SOCK_Stream.cpp index b8f6ba00cb8..113adf25a61 100644 --- a/ACE/ace/SSL/SSL_SOCK_Stream.cpp +++ b/ACE/ace/SSL/SSL_SOCK_Stream.cpp @@ -563,7 +563,6 @@ ACE_SSL_SOCK_Stream::get_remote_addr (ACE_Addr &addr) const // complete. Despite that fact, the SSL connection may not have // been completed. In such a case, a successful return from // get_remote_addr() would be misleading. - if (SSL_is_init_finished (this->ssl_)) { return this->ACE_SSL_SOCK::get_remote_addr (addr); diff --git a/ACE/ace/SSL/SSL_SOCK_Stream.inl b/ACE/ace/SSL/SSL_SOCK_Stream.inl index c2a5bf2c8ba..7e9420bfb73 100644 --- a/ACE/ace/SSL/SSL_SOCK_Stream.inl +++ b/ACE/ace/SSL/SSL_SOCK_Stream.inl @@ -101,7 +101,6 @@ ACE_SSL_SOCK_Stream::recv_i (void *buf, ACE_TRACE ("ACE_SSL_SOCK_Stream::recv_i"); // NOTE: Caller must provide thread-synchronization. - int bytes_read = 0; ACE_HANDLE const handle = this->get_handle (); |