crypto_uuid.c

CC (gcc) [M crypto.so]		api.o
CC (gcc) [M crypto.so]		crypto_aes.o
CC (gcc) [M crypto.so]		crypto_evcb.o
CC (gcc) [M crypto.so]		crypto_mod.o
CC (gcc) [M crypto.so]		crypto_uuid.o
crypto_uuid.c: In function 'crypto_generate_callid':
crypto_uuid.c:184:9: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  184 |         SHA1_Init(&crypto_ctx);
      |         ^~~~~~~~~
In file included from crypto_uuid.c:37:
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
crypto_uuid.c:185:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  185 |         SHA1_Update(&crypto_ctx, crypto_callid_seed, SEED_LEN);
      |         ^~~~~~~~~~~
In file included from crypto_uuid.c:37:
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
crypto_uuid.c:186:9: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  186 |         SHA1_Update(&crypto_ctx, crypto_callid_counter, CTR_LEN);
      |         ^~~~~~~~~~~
In file included from crypto_uuid.c:37:
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
crypto_uuid.c:187:9: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  187 |         SHA1_Final(crypto_buf, &crypto_ctx);
      |         ^~~~~~~~~~
In file included from crypto_uuid.c:37:
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
LD (gcc) [M crypto.so]		crypto.so
CC (gcc) [M tls.so]		tls_bio.o

auth_crypt.c

CC (gcc) [M tls.so]		tls_verify.o
LD (gcc) [M tls.so]		tls.so
CC (gcc) [M auth_identity.so]		auth_crypt.o
auth_crypt.c: In function 'rsa_sha1_enc':
auth_crypt.c:214:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  214 |         if(RSA_sign(NID_sha1, sstrcrypted, sizeof sstrcrypted,
      |         ^~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from auth_crypt.c:33:
/usr/include/openssl/rsa.h:356:27: note: declared here
  356 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m,
      |                           ^~~~~~~~
auth_crypt.c: In function 'rsa_sha1_dec':
auth_crypt.c:258:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  258 |         hpubkey = EVP_PKEY_get1_RSA(pkey);
      |         ^~~~~~~
In file included from /usr/include/openssl/pem.h:22,
                 from auth_crypt.c:33:
/usr/include/openssl/evp.h:1359:16: note: declared here
 1359 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
auth_crypt.c:266:9: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  266 |         if(RSA_verify(NID_sha1, (unsigned char *)ssha, sshasize,
      |         ^~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from auth_crypt.c:33:
/usr/include/openssl/rsa.h:359:27: note: declared here
  359 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m,
      |                           ^~~~~~~~~~
auth_crypt.c:273:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  273 |                 RSA_free(hpubkey);
      |                 ^~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from auth_crypt.c:33:
/usr/include/openssl/rsa.h:301:28: note: declared here
  301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
auth_crypt.c:298:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  298 |         RSA_free(hpubkey);
      |         ^~~~~~~~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from auth_crypt.c:33:
/usr/include/openssl/rsa.h:301:28: note: declared here
  301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
CC (gcc) [M auth_identity.so]		auth_dynstr.o
CC (gcc) [M auth_identity.so]		auth_hdrs.o

auth_identity.c

CC (gcc) [M auth_identity.so]		auth_http.o
CC (gcc) [M auth_identity.so]		auth_identity.o
auth_identity.c: In function 'mod_init':
auth_identity.c:414:9: warning: 'PEM_read_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  414 |         glb_hmyprivkey = PEM_read_RSAPrivateKey(hpemfile, NULL, NULL, NULL);
      |         ^~~~~~~~~~~~~~
In file included from auth_identity.c:43:
/usr/include/openssl/pem.h:447:1: note: declared here
  447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
auth_identity.c:425:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  425 |         if(initdynstr(&glb_encedmsg, RSA_size(glb_hmyprivkey)))
      |         ^~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from auth_identity.c:43:
/usr/include/openssl/rsa.h:212:27: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
auth_identity.c:429:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  429 |         if(initdynstr(&glb_b64encedmsg, (RSA_size(glb_hmyprivkey) / 3 + 1) * 4))
      |         ^~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from auth_identity.c:43:
/usr/include/openssl/rsa.h:212:27: note: declared here
  212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa);
      |                           ^~~~~~~~
CC (gcc) [M auth_identity.so]		auth_tables.o
LD (gcc) [M auth_identity.so]		auth_identity.so


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