pjsip_tls_setting_copy doesn't copy the ca_list_path field. The attached patch fixes this -------------- next part -------------- Index: pjsip/include/pjsip/sip_transport_tls.h =================================================================== --- pjsip/include/pjsip/sip_transport_tls.h (revision 5087) +++ pjsip/include/pjsip/sip_transport_tls.h (working copy) @@ -288,6 +288,7 @@ { pj_memcpy(dst, src, sizeof(*dst)); pj_strdup_with_null(pool, &dst->ca_list_file, &src->ca_list_file); + pj_strdup_with_null(pool, &dst->ca_list_path, &src->ca_list_path); pj_strdup_with_null(pool, &dst->cert_file, &src->cert_file); pj_strdup_with_null(pool, &dst->privkey_file, &src->privkey_file); pj_strdup_with_null(pool, &dst->password, &src->password);