### Description
On Fedora 40 present build error ``` [2024-11-15T10:16:57.955Z] LD (gcc) [M tls.so] tls.so [2024-11-15T10:16:58.083Z] sources = tls_cfg.c tls_config.c tls_ct_wrq.c tls_domain.c tls_init.c tls_rpc.c tls_select.c tls_server.c tls_util.c tls_verify.c tls_wolfssl_mod.c , auto_gen = , objs = tls_cfg.o tls_config.o tls_ct_wrq.o tls_domain.o tls_init.o tls_rpc.o tls_select.o tls_server.o tls_util.o tls_verify.o tls_wolfssl_mod.o [2024-11-15T10:16:58.146Z] sources = tls_cfg.c tls_config.c tls_ct_wrq.c tls_domain.c tls_init.c tls_rpc.c tls_select.c tls_server.c tls_util.c tls_verify.c tls_wolfssl_mod.c , auto_gen = , objs = tls_cfg.o tls_config.o tls_ct_wrq.o tls_domain.o tls_init.o tls_rpc.o tls_select.o tls_server.o tls_util.o tls_verify.o tls_wolfssl_mod.o [2024-11-15T10:16:58.170Z] CC (gcc) [M tls_wolfssl.so] tls_cfg.o [2024-11-15T10:16:58.295Z] CC (gcc) [M tls_wolfssl.so] tls_config.o [2024-11-15T10:16:58.406Z] In file included from tls_config.c:29: [2024-11-15T10:16:58.406Z] tls_util.h: In function ‘tls_err_ret’: [2024-11-15T10:16:58.406Z] tls_util.h:44:30: error: implicit declaration of function ‘wolfSSL_get_servername’; did you mean ‘wolfSSL_get_curve_name’? [-Wimplicit-function-declaration] [2024-11-15T10:16:58.406Z] 44 | sn = wolfSSL_get_servername(ssl, WOLFSSL_SNI_HOST_NAME); [2024-11-15T10:16:58.406Z] | ^~~~~~~~~~~~~~~~~~~~~~ [2024-11-15T10:16:58.406Z] | wolfSSL_get_curve_name [2024-11-15T10:16:58.407Z] tls_util.h:44:28: error: assignment to ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] [2024-11-15T10:16:58.407Z] 44 | sn = wolfSSL_get_servername(ssl, WOLFSSL_SNI_HOST_NAME); [2024-11-15T10:16:58.407Z] | ^ [2024-11-15T10:16:58.411Z] tls_util.h:46:30: error: implicit declaration of function ‘ERR_get_error’ [-Wimplicit-function-declaration] [2024-11-15T10:16:58.411Z] 46 | while((err = ERR_get_error())) { [2024-11-15T10:16:58.411Z] | ^~~~~~~~~~~~~ [2024-11-15T10:16:58.443Z] make[2]: *** [../../Makefile.rules:100: tls_config.o] Error 1 [2024-11-15T10:16:58.445Z] make[1]: *** [Makefile:508: modules] Error 1 [2024-11-15T10:16:58.445Z] make[1]: Leaving directory '/root/rpmbuild/BUILD/kamailio-6.0.0-dev3/src' [2024-11-15T10:16:58.445Z] make: *** [Makefile:34: every-module] Error 2 ```
### Troubleshooting
#### Reproduction
<!-- If the issue can be reproduced, describe how it can be done. -->
Used wolfssl-5.7.4
* **Operating System**:
<!-- Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...; Kernel details (output of `lsb_release -a` and `uname -a`) -->
``` (paste your output here) ```