Lines 989-995
IceSSL::Instance::traceConnection(SSL* s
Link Here
|
989 |
{ |
989 |
{ |
990 |
Trace out(_logger, _securityTraceCategory); |
990 |
Trace out(_logger, _securityTraceCategory); |
991 |
out << "SSL summary for " << (incoming ? "incoming" : "outgoing") << " connection\n"; |
991 |
out << "SSL summary for " << (incoming ? "incoming" : "outgoing") << " connection\n"; |
992 |
SSL_CIPHER* cipher = SSL_get_current_cipher(ssl); |
992 |
#if OPENSSL_VERSION_NUMBER >= 0x10000000L |
|
|
993 |
const SSL_CIPHER *cipher; |
994 |
#else |
995 |
SSL_CIPHER *cipher; |
996 |
#endif |
997 |
|
998 |
cipher = SSL_get_current_cipher(ssl); |
993 |
if(!cipher) |
999 |
if(!cipher) |
994 |
{ |
1000 |
{ |
995 |
out << "unknown cipher\n"; |
1001 |
out << "unknown cipher\n"; |