Ignore:
Timestamp:
Jan 15, 2015 6:55:02 AM (7 years ago)
Author:
nanang
Message:

Close #1810: Adding CA path support into SSL socket.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c

    r4968 r4973  
    442442    /* Check if certificate/CA list for SSL socket is set */ 
    443443    if (listener->tls_setting.cert_file.slen || 
    444         listener->tls_setting.ca_list_file.slen)  
     444        listener->tls_setting.ca_list_file.slen || 
     445        listener->tls_setting.ca_list_path.slen)  
    445446    { 
    446         status = pj_ssl_cert_load_from_files(pool, 
     447        status = pj_ssl_cert_load_from_files2(pool, 
    447448                        &listener->tls_setting.ca_list_file, 
     449                        &listener->tls_setting.ca_list_path, 
    448450                        &listener->tls_setting.cert_file, 
    449451                        &listener->tls_setting.privkey_file, 
Note: See TracChangeset for help on using the changeset viewer.