Ignore:
Timestamp:
Apr 23, 2015 2:42:49 AM (10 years ago)
Author:
ming
Message:

Fixed #1845: Add support if OpenSSL library has more than 100 cipher suites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c

    r5065 r5076  
    12171217 
    12181218                if (pj_ssl_cipher_is_supported(cipher)) { 
    1219                     static pj_ssl_cipher tls_ciphers[128]; 
     1219                    static pj_ssl_cipher tls_ciphers[PJ_SSL_SOCK_MAX_CIPHERS]; 
    12201220 
    12211221                    tls_ciphers[cfg->udp_cfg.tls_setting.ciphers_num++] = cipher; 
    12221222                    cfg->udp_cfg.tls_setting.ciphers = tls_ciphers; 
    12231223                } else { 
    1224                     pj_ssl_cipher ciphers[128]; 
     1224                    pj_ssl_cipher ciphers[512]; 
    12251225                    unsigned j, ciphers_cnt; 
    12261226 
Note: See TracChangeset for help on using the changeset viewer.