<p></p>
<p dir="auto">As of openssl 1.1.1s SSL_load_error_strings(); exists only in this form in include/openssl/ssl.h:</p>
<div class="highlight highlight-source-c" dir="auto"><pre class="notranslate"># <span class="pl-k">if</span> OPENSSL_API_COMPAT < 0x10100000L
# <span class="pl-k">define</span> <span class="pl-en">SSL_load_error_strings</span>() \
<span class="pl-en">OPENSSL_init_ssl</span>(OPENSSL_INIT_LOAD_SSL_STRINGS \
| OPENSSL_INIT_LOAD_CRYPTO_STRINGS, <span class="pl-c1">NULL</span>)
# <span class="pl-k">endif</span> </pre></div>
<p dir="auto">It does not exist, when OPENSSL_API_COMPAT == 0x10100000L. When openssl is ./Configure’d with <code class="notranslate">no-deprecated</code>then OPENSSL_API_COMPAT is set in include/openssl/opensslconf.h to OPENSSL_MIN_API=0x10100000L. That is: when OpenSSL 1.1.1s is <code class="notranslate">./Configure no-deprecated</code>, the macro SSL_load_error_strings() does not exist, but tls_h_mod_pre_init_f() calls it. This might or might not help:</p>
<div class="highlight highlight-source-diff" dir="auto"><pre class="notranslate"><span class="pl-c1">diff --git a/src/modules/tls/tls_init.c b/src/modules/tls/tls_init.c</span>
index 4c858bbbd8..784168c6f7 100644
<span class="pl-md">--- a/src/modules/tls/tls_init.c</span>
<span class="pl-mi1">+++ b/src/modules/tls/tls_init.c</span>
<span class="pl-mdr">@@ -647,8 +647,8 @@</span> int tls_h_mod_pre_init_f(void)
#else
LM_DBG("preparing tls env for modules initialization (libssl <=1.0)\n");
SSL_library_init();
<span class="pl-md"><span class="pl-md">-</span>#endif</span>
SSL_load_error_strings();
<span class="pl-mi1"><span class="pl-mi1">+</span>#endif</span>
tls_mod_preinitialized=1;
return 0;
}</pre></div>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/commit/6df13e614cf6898b6d67f36c9b185a7530102ef1#commitcomment-92954312">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZN7FARHVE3EVX7YX73WNCVXZANCNFSM6AAAAAAS5O2RPQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZMIB3MSZTHYH5UQXUTWNCVXZA5CNFSM6AAAAAAS5O2RPSWGG33NNVSW45C7OR4XAZNNINXW23LJORBW63LNMVXHJKTDN5WW2ZLOORPWSZGOAWFF5SA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/commit/6df13e614cf6898b6d67f36c9b185a7530102ef1/92954312</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/commit/6df13e614cf6898b6d67f36c9b185a7530102ef1#commitcomment-92954312",
"url": "https://github.com/kamailio/kamailio/commit/6df13e614cf6898b6d67f36c9b185a7530102ef1#commitcomment-92954312",
"name": "View Commit"
},
"description": "View this Commit on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>