<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14037">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tcptls: Fix notice when TLS is enabled but not configured.<br><br>ASTERISK-28797<br><br>Change-Id: Iab364a2c2519fd9d11d1c28293fda43d61b64c28<br>---<br>M main/tcptls.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/37/14037/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/tcptls.c b/main/tcptls.c</span><br><span>index c9ebeb9..211dc83 100644</span><br><span>--- a/main/tcptls.c</span><br><span>+++ b/main/tcptls.c</span><br><span>@@ -263,7 +263,7 @@</span><br><span>                      X509_free(peer);</span><br><span>             }</span><br><span> #else</span><br><span style="color: hsl(0, 100%, 40%);">-              ast_log(LOG_ERROR, "Attempted a TLS connection without OpenSSL support. This will not work!\n");</span><br><span style="color: hsl(120, 100%, 40%);">+            ast_log(LOG_ERROR, "Attempted TLS client: ./configure with OpenSSL Development Headers installed!\n");</span><br><span>             ast_tcptls_close_session_file(tcptls_session);</span><br><span>               ao2_ref(tcptls_session, -1);</span><br><span>                 return NULL;</span><br><span>@@ -383,7 +383,7 @@</span><br><span> {</span><br><span> #ifndef DO_SSL</span><br><span>    if (cfg->enabled) {</span><br><span style="color: hsl(0, 100%, 40%);">-          ast_log(LOG_NOTICE, "Configured without OpenSSL Development Headers");</span><br><span style="color: hsl(120, 100%, 40%);">+              ast_log(LOG_ERROR, "Attempted TLS server: ./configure with OpenSSL Development Headers installed!\n");</span><br><span>             cfg->enabled = 0;</span><br><span>         }</span><br><span>    return 0;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14037">change 14037</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/14037"/><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-Change-Id: Iab364a2c2519fd9d11d1c28293fda43d61b64c28 </div>
<div style="display:none"> Gerrit-Change-Number: 14037 </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-MessageType: newchange </div>