@juha-h with 9e0197c ( vseva/tls branch ) last warnings are:

tls_mod.c: In function 'ksr_rand_engine_param':
tls_mod.c:523:17: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  523 |                 RAND_set_rand_method(RAND_ksr_krand_method());
      |                 ^~~~~~~~~~~~~~~~~~~~
In file included from tls_rand.h:26,
                 from tls_mod.c:54:
/usr/include/openssl/rand.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~
tls_mod.c:526:17: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  526 |                 RAND_set_rand_method(RAND_ksr_fastrand_method());
      |                 ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rand.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~
tls_mod.c:529:17: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  529 |                 RAND_set_rand_method(RAND_ksr_cryptorand_method());
      |                 ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rand.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~
tls_mod.c:532:17: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  532 |                 RAND_set_rand_method(RAND_ksr_kxlibssl_method());
      |                 ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rand.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~
tls_mod.c: In function 'mod_register':
tls_mod.c:683:9: warning: 'RAND_set_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  683 |         RAND_set_rand_method(RAND_ksr_cryptorand_method());
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rand.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_method(const RAND_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~
CC (gcc) [M tls.so]             tls_rand.o
tls_rand.c: In function 'ksr_kxlibssl_init':
tls_rand.c:179:17: warning: 'RAND_get_rand_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  179 |                 _ksr_kxlibssl_local_method = RAND_get_rand_method();
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from tls_rand.h:26,
                 from tls_rand.c:30:
/usr/include/openssl/rand.h:50:42: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 const RAND_METHOD *RAND_get_rand_method(void);
      |                                          ^~~~~~~~~~~~~~~~~~~~


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: <kamailio/kamailio/issues/3484/1597043934@github.com>