Changeset 5787


Ignore:
Timestamp:
May 7, 2018 3:13:49 PM (19 months ago)
Author:
riza
Message:

Fixed #2112: pjsip initializes EECDH incorrectly when linked with OpenSSL
1.1.0x.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c

    r5751 r5787  
    10011001        } 
    10021002 
     1003#if OPENSSL_VERSION_NUMBER < 0x10100000L 
    10031004    #ifndef SSL_CTRL_SET_ECDH_AUTO 
    10041005        #define SSL_CTRL_SET_ECDH_AUTO 94 
     
    10221023    #endif 
    10231024        } 
     1025#else // OPENSSL_VERSION_NUMBER < 0x10100000L 
     1026    PJ_LOG(4,(ssock->pool->obj_name, "SSL ECDH already initialized " 
     1027              "(OpenSSL 1.1.0+), faster PFS cipher-suites enabled")); 
     1028#endif // OPENSSL_VERSION_NUMBER < 0x10100000L 
    10241029    } else { 
    10251030        X509_STORE *pkix_validation_store = SSL_CTX_get_cert_store(ctx); 
Note: See TracChangeset for help on using the changeset viewer.