diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-11-21 14:15:28 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-11-21 14:15:28 +0000 |
commit | d7a97eb8ca8d6c9378ec84630ea2a4bcbeb50361 (patch) | |
tree | efdd97afac2d35f928efc6db21346254d59c936c /cpp/src/IceSSL/SslTransceiver.cpp | |
parent | updating comment to be declarative about why we should not rebuild the IceJ (diff) | |
download | ice-d7a97eb8ca8d6c9378ec84630ea2a4bcbeb50361.tar.bz2 ice-d7a97eb8ca8d6c9378ec84630ea2a4bcbeb50361.tar.xz ice-d7a97eb8ca8d6c9378ec84630ea2a4bcbeb50361.zip |
#ifdef code that is only used for debugging and doesn't compile on Mac OS X
GCC 4.0.1
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r-- | cpp/src/IceSSL/SslTransceiver.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp index 30ae7c89e9e..d7c0b62a173 100644 --- a/cpp/src/IceSSL/SslTransceiver.cpp +++ b/cpp/src/IceSSL/SslTransceiver.cpp @@ -420,9 +420,9 @@ IceSSL::SslTransceiver::initialize(int timeout) // // Init finished, look at the connection information. // - if((_traceLevels->security >= IceSSL::SECURITY_PROTOCOL_DEBUG) && 0) +#ifdef ICE_SSL_EXTRA_TRACING + if(_traceLevels->security >= IceSSL::SECURITY_PROTOCOL_DEBUG) { -#ifdef ICE_SSL_EXTRA_TRACING // // Only in extreme cases do we enable this, partially because it doesn't use the Logger. // @@ -440,8 +440,8 @@ IceSSL::SslTransceiver::initialize(int timeout) showHandshakeStats(bio); showSessionInfo(bio); -#endif } +#endif return; } @@ -823,6 +823,8 @@ IceSSL::SslTransceiver::removeTransceiver(SSL* sslPtr) _transceiverMap.erase(sslPtr); } +#ifdef ICE_SSL_EXTRA_TRACING + void IceSSL::SslTransceiver::showCertificateChain(BIO* bio) { @@ -1001,6 +1003,7 @@ IceSSL::SslTransceiver::showClientCAList(BIO* bio, const char* connType) } } +#endif // // Private Methods |