<p></p>
<p>At some point tls implementation was part of the core, then it was moved to a dedicated module. Apparently the option for core was left, just in case someone needed/preferred to use it that way. At this moment, probably one would need to take code of tls module and adapt it again to compile inside the core.</p>
<p>Relevant comments from <code>src/Makefile.defs</code>:</p>
<pre><code># -DUSE_TLS
# compiles in tls support, requires -DUSE_TCP. Note: this is only
# generic support (parsing a.s.o.), it does not include the actual
# "tls engine". If you really want tls you need also either
# -DCORE_TLS and a tls/ subdir with the tls code or -DTLS_HOOKS and
# the tls module loaded.
# -DCORE_TLS
# compiles tls in-core support. Requires -DUSE_TLS, conflicts
# -DTLS_HOOKS. Please use make CORE_TLS=1 instead (it will set all the
# needed defines automatically and extra libraries needed for linking).
# -DTLS_HOOKS
# compile tls module support (support for having the "tls engine" in a
# module). Requires -DUSE_TLS, conflicts -DCORE_TLS.
# Please use make TLS_HOOKS=1 (or TLS_HOOKS=0 to for disabling) instead
# of setting -DTLS_HOOKS (it will set all the needed defines
# automatically)
</code></pre>
<p>This mode is no longer officially supported by developers, if you want to try it, you are on your own.</p>
<p>I am going to close this issue, there are several other define switches in the core that need to be reviewed and eventually removed.</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/2720#issuecomment-830022080">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOPPQAUNKQHVHWA3RTTLKGBPANCNFSM432EFG6Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIWR72A4F35ZKNUZLTTLKGBPA5CNFSM432EFG62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGF4SDQA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2720#issuecomment-830022080",
"url": "https://github.com/kamailio/kamailio/issues/2720#issuecomment-830022080",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>