<p>Sean Bright has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6592">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">webrtc: Allow 'webrtc' to be set on endpoints without dtls_ca_file<br><br>If using a legitimate from a trusted certificate authority, you don't<br>need to provide CA file.<br><br>Change-Id: I8623973b4209b44889243716d7880274caed8a6d<br>---<br>M res/res_pjsip/pjsip_configuration.c<br>1 file changed, 2 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/92/6592/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c<br>index cba8a7e..3a752c9 100644<br>--- a/res/res_pjsip/pjsip_configuration.c<br>+++ b/res/res_pjsip/pjsip_configuration.c<br>@@ -1363,10 +1363,9 @@<br> endpoint->media.rtp.dtls_cfg.default_setup = AST_RTP_DTLS_SETUP_ACTPASS;<br> endpoint->media.rtp.dtls_cfg.verify = AST_RTP_DTLS_VERIFY_FINGERPRINT;<br> <br>- if (ast_strlen_zero(endpoint->media.rtp.dtls_cfg.certfile) ||<br>- (ast_strlen_zero(endpoint->media.rtp.dtls_cfg.cafile))) {<br>+ if (ast_strlen_zero(endpoint->media.rtp.dtls_cfg.certfile)) {<br> ast_log(LOG_ERROR, "WebRTC can't be enabled on endpoint '%s' - a DTLS cert "<br>- "or ca file has not been specified", ast_sorcery_object_get_id(endpoint));<br>+ "has not been specified", ast_sorcery_object_get_id(endpoint));<br> return -1;<br> }<br> }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6592">change 6592</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6592"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I8623973b4209b44889243716d7880274caed8a6d </div>
<div style="display:none"> Gerrit-Change-Number: 6592 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>