[sr-dev] [kamailio/kamailio] CORE_TLS option in 5.4 (#2720)
Daniel-Constantin Mierla
notifications at github.com
Fri Apr 30 13:12:23 CEST 2021
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.
Relevant comments from `src/Makefile.defs`:
```
# -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)
```
This mode is no longer officially supported by developers, if you want to try it, you are on your own.
I am going to close this issue, there are several other define switches in the core that need to be reviewed and eventually removed.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2720#issuecomment-830022080
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210430/08f9cf2e/attachment.htm>
More information about the sr-dev
mailing list