diff options
Diffstat (limited to 'ace/SSL/SSL_Context.cpp')
-rw-r--r-- | ace/SSL/SSL_Context.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ace/SSL/SSL_Context.cpp b/ace/SSL/SSL_Context.cpp index cf370c4b7e0..b040f311d23 100644 --- a/ace/SSL/SSL_Context.cpp +++ b/ace/SSL/SSL_Context.cpp @@ -16,11 +16,9 @@ // // ========================================================================== - -#include "ace/SSL/SSL_Context.h" - #if defined (ACE_HAS_SSL) +#include "ace/SSL/SSL_Context.h" #include "ace/SSL/sslconf.h" #if !defined(__ACE_INLINE__) @@ -215,9 +213,7 @@ ACE_SSL_Context::set_mode (int mode) this->context_ = ::SSL_CTX_new (method); if (this->context_ == 0) { -#ifndef ACE_NDEBUG ::ERR_print_errors_fp (stderr); -#endif /* ACE_NDEBUG */ return -1; } @@ -235,10 +231,7 @@ ACE_SSL_Context::set_mode (int mode) cert_file, cert_dir) <= 0) { -#ifndef ACE_NDEBUG // ::ERR_print_errors_fp (stderr); -#endif /* ACE_NDEBUG */ - return -1; } |