Signed-off-by: Rosen Penev <rosenp@gmail.com> You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2428
-- Commit Summary --
* fix compilation without deprecated OpenSSL APIs
-- File Changes --
M src/modules/tls/tls_domain.c (4) M src/modules/tls/tls_init.c (15) M src/modules/tls/tls_locking.c (6)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2428.patch https://github.com/kamailio/kamailio/pull/2428.diff
Thanks! Did you get compilation errors with some specific version of libssl? If yes, which one, because I haven't encountered any problems so far.
The commit message first line is not formatted as per contributing guide:
* https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md#com...
The PR can be merged manually to fix it, just have it in mind for future contributions so merging can be done from the github portal.
OpenWrt's OpenSSL package has deprecated APIs configurable.
This can be simulated by passing -DOPENSSL_API_COMPAT=0x10100000L and -Werror=implicit-function-declaration .
OK, I will push it to master branch and see if we encounter any issues on the systems we build packages for.
Pushed manually with proper format for commit message.
Closed #2428.