diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-12-05 18:07:41 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-12-05 18:07:41 +0000 |
commit | 0ec6d3a5e7457bad9c3f3b40b648711c673a7b90 (patch) | |
tree | 7c90fa2b7562a7e4136a93b340c15a52fc9d17dd /ace | |
parent | 4d8fca3b18b9442ef5bef1e9e0f283baf32bba3f (diff) | |
download | ATCD-0ec6d3a5e7457bad9c3f3b40b648711c673a7b90.tar.gz |
ChangeLogTag:Tue Dec 5 09:38:22 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/SSL/SSL_SOCK_Acceptor.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ace/SSL/SSL_SOCK_Acceptor.cpp b/ace/SSL/SSL_SOCK_Acceptor.cpp index 8d1c4d220fa..f81a87fb23c 100644 --- a/ace/SSL/SSL_SOCK_Acceptor.cpp +++ b/ace/SSL/SSL_SOCK_Acceptor.cpp @@ -94,7 +94,7 @@ ACE_SSL_SOCK_Acceptor::ssl_accept (ACE_SSL_SOCK_Stream &new_stream) const if (!SSL_in_accept_init (new_stream.ssl ())) ::SSL_set_accept_state (new_stream.ssl ()); - + int status = ::SSL_accept (new_stream.ssl ()); if (status <= 0) @@ -110,7 +110,7 @@ ACE_SSL_SOCK_Acceptor::ssl_accept (ACE_SSL_SOCK_Stream &new_stream) const errno = EWOULDBLOCK; break; default: -#ifndef ACE_NDEBUG +#ifndef ACE_NDEBUG ERR_print_errors_fp (stderr); #endif /* ACE_NDEBUG */ break; @@ -132,7 +132,8 @@ ACE_SSL_SOCK_Acceptor::ssl_accept (ACE_SSL_SOCK_Stream &new_stream) const ::X509_verify_cert_error_string (verify_error))); #endif /* ACE_NDEBUG */ - return new_stream.close (); + (void) new_stream.close (); + return -1; } return 0; |