<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/6998">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/98/6998/1</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: newchange </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>