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

Re #1843 (thanks to Alexander Traud for the patch):
Defines like OPENSSL_NO_SSL3_METHOD and OPENSSL_NO_SSL2 are set in
"include/openssl/opensslconf.h". There is no need to query the OpenSSL
libraries. If the installed library does not match the installed headers,
the system is misconfigured.

This will undo r4892

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure.ac

    r5034 r5073  
    15411541                        #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 
    15421542                        AC_DEFINE(PJ_HAS_SSL_SOCK, 1) 
    1543                         AC_CHECK_LIB(ssl,SSLv2_method,[libssl_no_ssl2=1]) 
    1544                         if test "x$libssl_no_ssl2" != "x1"; then 
    1545                                 CFLAGS="$CFLAGS -DOPENSSL_NO_SSL2=1" 
    1546                         fi 
    15471543                else 
    15481544                        AC_MSG_RESULT([** OpenSSL libraries not found, disabling SSL support **]) 
Note: See TracChangeset for help on using the changeset viewer.