Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 312023 | Differences between
and this patch

Collapse All | Expand All

(-)Ice-3.3.1/cpp/src/IceSSL/Instance.cpp.openssl (-1 / +7 lines)
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";

Return to bug 312023