]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Do not verify TLS certificates since we do not have the framework in place to do so.
authorBrian West <brian@freeswitch.org>
Thu, 14 May 2009 22:56:04 +0000 (22:56 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 14 May 2009 22:56:04 +0000 (22:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13315 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 19e11e1cc472ea15b7129cb92536fc023d774673..3268d3edd86bbb72ab73a940f9ef512fc0d0d595 100644 (file)
@@ -768,12 +768,13 @@ void *SWITCH_THREAD_FUNC sofia_profile_thread_run(switch_thread_t *thread, void
                                                          TAG_IF(strchr(profile->sipip, ':'), SOATAG_AF(SOA_AF_IP6_ONLY)),
                                                          TAG_IF(sofia_test_pflag(profile, PFLAG_TLS), NUTAG_SIPS_URL(profile->tls_bindurl)), 
                                                          TAG_IF(sofia_test_pflag(profile, PFLAG_TLS), NUTAG_CERTIFICATE_DIR(profile->tls_cert_dir)), 
+                                                         TAG_IF(sofia_test_pflag(profile, PFLAG_TLS), TPTAG_TLS_VERIFY_POLICY(0)),
                                                          TAG_IF(sofia_test_pflag(profile, PFLAG_TLS), TPTAG_TLS_VERSION(profile->tls_version)), 
                                                          TAG_IF(!strchr(profile->sipip, ':'), NTATAG_UDP_MTU(65535)), 
                                                          TAG_IF(sofia_test_pflag(profile, PFLAG_DISABLE_SRV), NTATAG_USE_SRV(0)),
                                                          TAG_IF(sofia_test_pflag(profile, PFLAG_DISABLE_NAPTR), NTATAG_USE_NAPTR(0)),
                                                          NTATAG_DEFAULT_PROXY(profile->outbound_proxy),
-                                                         NTATAG_SERVER_RPORT(profile->rport_level), 
+                                                         NTATAG_SERVER_RPORT(profile->rport_level),
                                                          TPTAG_LOG(sofia_test_flag(profile, TFLAG_TPORT_LOG)), 
                                                          TAG_IF(profile->timer_t1, NTATAG_SIP_T1(profile->timer_t1)),
                                                          TAG_IF(profile->timer_t1x64, NTATAG_SIP_T1X64(profile->timer_t1x64)),