Changeset 5732


Ignore:
Timestamp:
Jan 24, 2018 3:42:35 AM (7 years ago)
Author:
nanang
Message:

Re #2082: For MSVC backward compatibility, set PJ_SSL_SOCK_IMP to PJ_SSL_SOCK_IMP_OPENSSL by default when PJ_HAS_SSL_SOCK is set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config.h

    r5725 r5732  
    939939 * secure socket. 
    940940 * 
    941  * Default is PJ_SSL_SOCK_IMP_NONE 
     941 * Default is PJ_SSL_SOCK_IMP_NONE if PJ_HAS_SSL_SOCK is not set, otherwise 
     942 * it is PJ_SSL_SOCK_IMP_OPENSSL. 
    942943 */ 
    943944#ifndef PJ_SSL_SOCK_IMP 
    944 #   define PJ_SSL_SOCK_IMP                  PJ_SSL_SOCK_IMP_NONE 
     945#   if PJ_HAS_SSL_SOCK==0 
     946#       define PJ_SSL_SOCK_IMP              PJ_SSL_SOCK_IMP_NONE 
     947#   else 
     948#       define PJ_SSL_SOCK_IMP              PJ_SSL_SOCK_IMP_OPENSSL 
     949#   endif 
    945950#endif 
    946951 
Note: See TracChangeset for help on using the changeset viewer.