<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/6998">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tcptls: Print notice when TLS is enabled but not configured.<br><br>Asterisk can be compiled without a SSL/TLS library, without the Development<br>Headers of OpenSSL. However, if TLS (SIP) or Secure-WebSockets (WebRTC) was<br>enabled in a configuration file, Asterisk did not notice the user. Asterisk<br>failed silently, only the corresponding TCP ports were not open.<br><br>ASTERISK-27394<br>Reported-by: mossley74<br><br>Change-Id: Ib8b7539a5b2af8154c22e5f7a40fc68f95d95b93<br>---<br>M main/tcptls.c<br>1 file changed, 4 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/tcptls.c b/main/tcptls.c<br>index 4a95f72..a6d0538 100644<br>--- a/main/tcptls.c<br>+++ b/main/tcptls.c<br>@@ -316,7 +316,10 @@<br> static int __ssl_setup(struct ast_tls_config *cfg, int client)<br> {<br> #ifndef DO_SSL<br>- cfg->enabled = 0;<br>+ if (cfg->enabled) {<br>+ ast_log(LOG_NOTICE, "Configured without OpenSSL Development Headers");<br>+ cfg->enabled = 0;<br>+ }<br> return 0;<br> #else<br> int disable_ssl = 0;<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6998">change 6998</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/6998"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Ib8b7539a5b2af8154c22e5f7a40fc68f95d95b93 </div>
<div style="display:none"> Gerrit-Change-Number: 6998 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>