Ignore:
Timestamp:
Jan 15, 2018 8:52:29 AM (6 years ago)
Author:
ming
Message:

Re #2082: Initial implementation of GnuTLS support.

File:
1 edited

Legend:

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

    r5719 r5725  
    913913/** 
    914914 * Enable secure socket. For most platforms, this is implemented using 
    915  * OpenSSL, so this will require OpenSSL to be installed. For Symbian 
    916  * platform, this is implemented natively using CSecureSocket. 
     915 * OpenSSL or GnuTLS, so this will require one of those libraries to 
     916 * be installed. For Symbian platform, this is implemented natively 
     917 * using CSecureSocket. 
    917918 * 
    918919 * Default: 0 (for now) 
     
    920921#ifndef PJ_HAS_SSL_SOCK 
    921922#  define PJ_HAS_SSL_SOCK           0 
     923#endif 
     924 
     925 
     926/* 
     927 * Secure socket implementation. 
     928 * Select one of these implementations in PJ_SSL_SOCK_IMP. 
     929 */ 
     930#define PJ_SSL_SOCK_IMP_NONE        0   /**< Disable SSL socket.    */ 
     931#define PJ_SSL_SOCK_IMP_OPENSSL     1   /**< Using OpenSSL.         */ 
     932#define PJ_SSL_SOCK_IMP_GNUTLS      2   /**< Using GnuTLS.          */ 
     933 
     934 
     935/** 
     936 * Select which SSL socket implementation to use. Currently pjlib supports 
     937 * PJ_SSL_SOCK_IMP_OPENSSL, which uses OpenSSL, and PJ_SSL_SOCK_IMP_GNUTLS, 
     938 * which uses GnuTLS. Setting this to PJ_SSL_SOCK_IMP_NONE will disable 
     939 * secure socket. 
     940 * 
     941 * Default is PJ_SSL_SOCK_IMP_NONE 
     942 */ 
     943#ifndef PJ_SSL_SOCK_IMP 
     944#   define PJ_SSL_SOCK_IMP                  PJ_SSL_SOCK_IMP_NONE 
    922945#endif 
    923946 
Note: See TracChangeset for help on using the changeset viewer.