Changeset 5074 for pjproject


Ignore:
Timestamp:
Apr 22, 2015 3:43:00 AM (9 years ago)
Author:
ming
Message:

Re #1843:
Support compilation with OpenSSL without OpenSSLv3 support

Thanks to Alexander Traud for the patch.

File:
1 edited

Legend:

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

    r4973 r5074  
    335335        if (!meth) 
    336336            meth = (SSL_METHOD*)TLSv1_server_method(); 
     337#ifndef OPENSSL_NO_SSL3_METHOD 
    337338        if (!meth) 
    338339            meth = (SSL_METHOD*)SSLv3_server_method(); 
     340#endif 
    339341#ifndef OPENSSL_NO_SSL2 
    340342        if (!meth) 
     
    531533        break; 
    532534#endif 
     535#ifndef OPENSSL_NO_SSL3_METHOD 
    533536    case PJ_SSL_SOCK_PROTO_SSL3: 
    534537        ssl_method = (SSL_METHOD*)SSLv3_method(); 
     538#endif 
    535539        break; 
    536540    } 
Note: See TracChangeset for help on using the changeset viewer.