<p>These warnings should be eliminated in order to make compilation readable:</p>
<p>CC (gcc) [M tls.so]            tls_locking.o<br>
tls_locking.c:98:13: warning: 'locking_f' defined but not used [-Wunused-function]<br>
static void locking_f(int mode, int n, const char* file, int line)<br>
^~~~~~~~~<br>
tls_locking.c:83:13: warning: 'dyn_destroy_f' defined but not used [-Wunused-function]<br>
static void dyn_destroy_f(struct CRYPTO_dynlock_value <em>l,<br>
^~~~~~~~~~~~~<br>
tls_locking.c:65:13: warning: 'dyn_lock_f' defined but not used [-Wunused-function]<br>
static void dyn_lock_f(int mode, struct CRYPTO_dynlock_value</em> l,<br>
^~~~~~~~~~<br>
tls_locking.c:42:37: warning: 'dyn_create_f' defined but not used [-Wunused-function]<br>
static struct CRYPTO_dynlock_value* dyn_create_f(const char* file, int line)<br>
^~~~~~~~~~~~</p>
<p>CC (gcc) [M tls.so]            tls_init.o<br>
tls_init.c: In function 'init_ssl_methods':<br>
tls_init.c:377:2: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1_cli - 1] = TLSv1_client_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1598:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_client_method(void)) /</em> TLSv1.0 */<br>
^<br>
tls_init.c:378:2: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1_srv - 1] = TLSv1_server_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1597:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_server_method(void)) /</em> TLSv1.0 */<br>
^<br>
tls_init.c:379:2: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1 - 1] = TLSv1_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1596:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_method(void)) /</em> TLSv1.0 */<br>
^<br>
tls_init.c:382:2: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1_1_cli - 1] = TLSv1_1_client_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1604:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_1_client_method(void)) /</em> TLSv1.1 */<br>
^<br>
tls_init.c:383:2: warning: 'TLSv1_1_server_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1_1_srv - 1] = TLSv1_1_server_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1603:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_1_server_method(void)) /</em> TLSv1.1 */<br>
^<br>
tls_init.c:384:2: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1_1 - 1] = TLSv1_1_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1602:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_1_method(void)) /</em> TLSv1.1 */<br>
^<br>
tls_init.c:388:2: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1_2_cli - 1] = TLSv1_2_client_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1610:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_2_client_method(void)) /</em> TLSv1.2 */<br>
^<br>
tls_init.c:389:2: warning: 'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1_2_srv - 1] = TLSv1_2_server_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1609:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_2_server_method(void)) /</em> TLSv1.2 */<br>
^<br>
tls_init.c:390:2: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations]<br>
ssl_methods[TLS_USE_TLSv1_2 - 1] = TLSv1_2_method();<br>
^~~~~~~~~~~<br>
In file included from /usr/include/openssl/ct.h:13:0,<br>
from /usr/include/openssl/ssl.h:61,<br>
from tls_init.c:45:<br>
/usr/include/openssl/ssl.h:1608:1: note: declared here<br>
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD <em>TLSv1_2_method(void)) /</em> TLSv1.2 */<br>
^</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1075">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZdPvBs-zQRRdyil8QS9jHhcQsIyLks5rwiE6gaJpZM4M-otp">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZQDMgygOL5iuYolgzeb5BgXAzap5ks5rwiE6gaJpZM4M-otp.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1075"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"tls compiler warnings (#1075)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1075"}}}</script>