From https://github.com/archlinux/svntogit-community * branch packages/lua-luaossl -> FETCH_HEAD * [new branch] packages/lua-luaossl -> community/packages/lua-luaossl Cloning into 'lua-luaossl'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 130k 100 130k 0 0 383k 0 --:--:-- --:--:-- --:--:-- 383k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 8546k 0 14124 0 0 41607 0 0:03:30 --:--:-- 0:03:30 41541 8 8546k 8 763k 0 0 564k 0 0:00:15 0:00:01 0:00:14 564k 52 8546k 52 4459k 0 0 1886k 0 0:00:04 0:00:02 0:00:02 1886k 100 8546k 100 8546k 0 0 2662k 0 0:00:03 0:00:03 --:--:-- 2663k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 27 142k 27 40606 0 0 232k 0 --:--:-- --:--:-- --:--:-- 231k 100 142k 100 142k 0 0 833k 0 --:--:-- --:--:-- --:--:-- 830k :: Starting full system upgrade... there is nothing to do PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp/archlinux-ci/ GIT_SSL_NO_VERIFY=1 SOURCE_DATE_EPOCH=1691160696 SHELL=/bin/bash SCHROOT_CHROOT_NAME=jenkins-reproducible-archlinux no_proxy=localhost,127.0.0.1 SCHROOT_COMMAND=bash -l -c SOURCE_DATE_EPOCH='1691160696' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' TMPDIR='/tmp/archlinux-ci/' GIT_SSL_NO_VERIFY=1 printenv 2>&1 SCHROOT_SESSION_ID=archlinux-lua-luaossl-archlinuxrb-build-wkMc9XwC PWD=/tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk LOGNAME=jenkins SCHROOT_ALIAS_NAME=jenkins-reproducible-archlinux SCHROOT_GROUP=jenkins SCHROOT_USER=jenkins ftp_proxy=http://127.0.0.1:3128 HOME=/var/lib/jenkins LANG=C https_proxy=http://127.0.0.1:3128 USER=jenkins FTP_PROXY=http://127.0.0.1:3128 SHLVL=1 HTTPS_PROXY=http://127.0.0.1:3128 HTTP_PROXY=http://127.0.0.1:3128 SCHROOT_GID=116 http_proxy=http://127.0.0.1:3128 DEBUGINFOD_URLS=https://debuginfod.archlinux.org SCHROOT_UID=108 HG=/usr/bin/hg _=/usr/sbin/printenv ==> Making package: lua-luaossl 20220711-2 (Thu Sep 5 21:15:13 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (7) unzip-6.0-19 zip-3.0-10 lua-5.4.6-1 lua51-5.1.5-9 lua52-5.2.4-5 lua53-5.3.6-1 luarocks-3.9.2-1 Total Download Size: 1.45 MiB Total Installed Size: 5.78 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 362k 100 362k 0 0 16.0M 0 --:--:-- --:--:-- --:--:-- 16.8M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 141k 100 141k 0 0 95.5M 0 --:--:-- --:--:-- --:--:-- 138M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 166k 100 166k 0 0 97.9M 0 --:--:-- --:--:-- --:--:-- 162M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 138k 100 138k 0 0 90.3M 0 --:--:-- --:--:-- --:--:-- 135M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 200k 100 200k 0 0 107M 0 --:--:-- --:--:-- --:--:-- 195M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 222k 100 222k 0 0 116M 0 --:--:-- --:--:-- --:--:-- 217M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 253k 100 253k 0 0 124M 0 --:--:-- --:--:-- --:--:-- 247M checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing lua... installing unzip... installing zip... installing luarocks... Optional dependencies for luarocks cvs: for fetching sources from CVS repositories git: for fetching sources from git repositories [installed] mercurial: for fetching sources from mercurial repositories [installed] cmake: for building rocks that use the cmake build system lua-sec: HTTPS support installing lua51... installing lua52... installing lua53... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Downloading lua-luaossl-20220711.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 493k 0 493k 0 0 1075k 0 --:--:-- --:--:-- --:--:-- 1075k -> Downloading luaossl-20220711-0.rockspec... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3658 100 3658 0 0 8776 0 --:--:-- --:--:-- --:--:-- 8776 ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... lua-luaossl-20220711.tar.gz ... Passed luaossl-20220711-0.rockspec ... Passed ==> Extracting sources... -> Extracting lua-luaossl-20220711.tar.gz with bsdtar ==> Starting build()... Hunk 1 found at offset 2... src/openssl.c: In function 'pk_new': src/openssl.c:4202:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4202 | if (!(rsa = RSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:36, from src/openssl.c:71: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/openssl.c:4205:25: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4205 | if (!RSA_generate_key_ex(rsa, bits, exp, 0)) { | ^~ /usr/include/openssl/rsa.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4206:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4206 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/openssl.c:4210:25: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4210 | EVP_PKEY_set1_RSA(*ud, rsa); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1347:5: note: declared here 1347 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4212:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4212 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/openssl.c:4222:25: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4222 | if (!(dsa = DSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:37: /usr/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ src/openssl.c:4225:25: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4225 | if (!DSA_generate_parameters_ex(dsa, bits, 0, 0, 0, 0, 0)) { | ^~ /usr/include/openssl/dsa.h:172:27: note: declared here 172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:4226:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4226 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4230:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4230 | if (!DSA_generate_key(dsa)) { | ^~ /usr/include/openssl/dsa.h:179:27: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ src/openssl.c:4231:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4231 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4235:25: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4235 | EVP_PKEY_set1_DSA(*ud, dsa); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1356:5: note: declared here 1356 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4237:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4237 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4256:33: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4256 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from src/openssl.c:76: /usr/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4261:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4261 | if (!(dh = DH_new())) | ^~ In file included from /usr/include/openssl/dsa.h:31: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ src/openssl.c:4264:33: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4264 | if (!DH_generate_parameters_ex(dh, bits, generator, 0)) { | ^~ /usr/include/openssl/dh.h:219:27: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:4265:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4265 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4271:25: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4271 | if (!DH_generate_key(dh)) { | ^~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ src/openssl.c:4272:33: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4272 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4276:25: warning: 'EVP_PKEY_set1_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4276 | EVP_PKEY_set1_DH(*ud, dh); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1365:27: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | ^~~~~~~~~~~~~~~~ src/openssl.c:4278:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4278 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4298:25: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4298 | if (!(key = EC_KEY_new())) { | ^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:971:31: note: declared here 971 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ src/openssl.c:4303:25: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4303 | EC_KEY_set_group(key, grp); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ src/openssl.c:4307:25: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4307 | if (!EC_KEY_generate_key(key)) { | ^~ /usr/include/openssl/ec.h:1104:27: note: declared here 1104 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4308:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4308 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/openssl.c:4312:25: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4312 | EVP_PKEY_set1_EC_KEY(*ud, key); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1373:5: note: declared here 1373 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:4314:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4314 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/openssl.c: In function 'pk_pushparam': src/openssl.c:4936:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4936 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4936:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4936 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4942:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4942:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4948:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4948 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4948:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4948 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4954:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4954 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/openssl.c:4954:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4954 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4960:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4960 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/openssl.c:4960:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4960 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4966:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4966:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4972:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4972:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4978:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4978 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4978:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4978 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4983:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4983 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4983:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4983 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4988:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4988:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4993:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4993 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4993:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4993 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4998:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4998 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ src/openssl.c:4998:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4998 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5003:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5003 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ src/openssl.c:5003:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5003 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5008:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5008 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ src/openssl.c:5008:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5008 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5013:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5013 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ src/openssl.c:5013:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5013 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5018:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5018 | DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src/openssl.c:5018:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5018 | DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5023:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src/openssl.c:5023:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5029:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5029 | ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5029:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5029 | ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EC_POINT_point2bn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:773:31: note: declared here 773 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EC_KEY_get_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1077:47: note: declared here 1077 | OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5045:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5045 | bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5045:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5045 | bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'pk_setparam': src/openssl.c:5083:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5083:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5083:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5088:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5088:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5088:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5093:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5093:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5093:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5098:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ src/openssl.c:5098:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5098:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ src/openssl.c:5103:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ src/openssl.c:5103:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5103:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ src/openssl.c:5108:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5108:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5108:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5113:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5113:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5113:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5118:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5118:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5118:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5123:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5123:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5123:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5128:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5128:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5128:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5133:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5133:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5133:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5138:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ src/openssl.c:5138:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5138:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ src/openssl.c:5143:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ src/openssl.c:5143:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5143:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ src/openssl.c:5148:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/openssl.c:5148:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5148:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ src/openssl.c:5153:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/openssl.c:5153:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5153:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ src/openssl.c:5158:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src/openssl.c:5158:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5158:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:265:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ src/openssl.c:5163:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src/openssl.c:5163:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5163:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:265:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ src/openssl.c:5170:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ src/openssl.c:5170:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5170:39: warning: passing argument 1 of 'EC_KEY_set_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1045:52: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ~~~~~~~~^~~ src/openssl.c:5181:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5181 | if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)))) | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5181:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5181 | if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)))) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5184:17: warning: 'EC_POINT_bn2point' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5184 | if (!(pub_key = EC_POINT_bn2point(group, n, NULL, getctx(L)))) | ^~ /usr/include/openssl/ec.h:777:33: note: declared here 777 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ src/openssl.c:5188:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~ /usr/include/openssl/ec.h:1073:27: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5188:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5188:46: warning: passing argument 1 of 'EC_KEY_set_public_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1073:57: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ~~~~~~~~^~~ src/openssl.c:5199:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~ /usr/include/openssl/ec.h:1059:27: note: declared here 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5199:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5199:45: warning: passing argument 1 of 'EC_KEY_set_private_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1059:58: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ~~~~~~~~^~~ src/openssl.c: In function 'ecg_new': src/openssl.c:5525:33: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5525 | goterr |= !(*group = PEM_read_bio_ECPKParameters(bio, NULL, 0, "")); | ^~~~~~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg_toPEM': src/openssl.c:5571:9: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5571 | if (!PEM_write_bio_ECPKParameters(bio, group)) | ^~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg_tostring': src/openssl.c:5590:17: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5590 | if (!PEM_write_bio_ECPKParameters(bio, group)) | ^~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5599:17: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5599 | if (!ECPKParameters_print(bio, group, indent)) | ^~ /usr/include/openssl/ec.h:929:27: note: declared here 929 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg__gc': src/openssl.c:5620:17: warning: 'EC_GROUP_clear_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5620 | EC_GROUP_clear_free(*ud); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:179:28: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group); | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'sx_setEphemeralKey': src/openssl.c:9605:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9605 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c:9613:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9613 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c:9621:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9621 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c: In function 'hmac_new': src/openssl.c:11770:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11770 | if (!(*ctx = HMAC_CTX_new())) | ^~ In file included from /usr/include/openssl/ssl.h:37, from src/openssl.c:77: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ src/openssl.c:11774:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11774 | if (!HMAC_Init_ex(*ctx, key, len, type, NULL)) | ^~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ src/openssl.c: In function 'hmac_update_': src/openssl.c:11800:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11800 | HMAC_Update(ctx, p, n); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ src/openssl.c: In function 'hmac_final': src/openssl.c:11823:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11823 | HMAC_Final(ctx, hmac, &len); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ src/openssl.c: In function 'hmac__gc': src/openssl.c:11834:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11834 | HMAC_CTX_free(*ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ src/openssl.c: In function 'de5_string_to_key': src/openssl.c:12977:9: warning: 'DES_string_to_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12977 | DES_string_to_key(luaL_checkstring(L, 1), &key); | ^~~~~~~~~~~~~~~~~ In file included from src/openssl.c:80: /usr/include/openssl/des.h:193:28: note: declared here 193 | OSSL_DEPRECATEDIN_3_0 void DES_string_to_key(const char *str, DES_cblock *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c: In function 'de5_set_odd_parity': src/openssl.c:12992:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12992 | DES_set_odd_parity(&key); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ Applying patch config.h.diff... gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/lua5.1 -c src/openssl.c -o src/openssl.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl -D_GNU_SOURCE -I/usr/include -I/usr/include gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/lua5.1 -c vendor/compat53/c-api/compat-5.3.c -o vendor/compat53/c-api/compat-5.3.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl -D_GNU_SOURCE -I/usr/include -I/usr/include gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -o _openssl.so src/openssl.o vendor/compat53/c-api/compat-5.3.o -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib -lssl -lcrypto -lpthread -lm -ldl No existing manifest. Attempting to rebuild... luaossl 20220711-0 is now installed in /tmp/archlinux-ci//luarocks_luarocks-build-pack-luaossl-QOV7a6 (license: MIT/X11) Packed: /tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk/src/luaossl-rel-20220711/luaossl-20220711-0.linux-x86_64.rock src/openssl.c: In function 'pk_new': src/openssl.c:4202:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4202 | if (!(rsa = RSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:36, from src/openssl.c:71: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/openssl.c:4205:25: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4205 | if (!RSA_generate_key_ex(rsa, bits, exp, 0)) { | ^~ /usr/include/openssl/rsa.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4206:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4206 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/openssl.c:4210:25: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4210 | EVP_PKEY_set1_RSA(*ud, rsa); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1347:5: note: declared here 1347 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4212:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4212 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/openssl.c:4222:25: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4222 | if (!(dsa = DSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:37: /usr/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ src/openssl.c:4225:25: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4225 | if (!DSA_generate_parameters_ex(dsa, bits, 0, 0, 0, 0, 0)) { | ^~ /usr/include/openssl/dsa.h:172:27: note: declared here 172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:4226:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4226 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4230:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4230 | if (!DSA_generate_key(dsa)) { | ^~ /usr/include/openssl/dsa.h:179:27: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ src/openssl.c:4231:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4231 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4235:25: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4235 | EVP_PKEY_set1_DSA(*ud, dsa); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1356:5: note: declared here 1356 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4237:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4237 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4256:33: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4256 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from src/openssl.c:76: /usr/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4261:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4261 | if (!(dh = DH_new())) | ^~ In file included from /usr/include/openssl/dsa.h:31: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ src/openssl.c:4264:33: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4264 | if (!DH_generate_parameters_ex(dh, bits, generator, 0)) { | ^~ /usr/include/openssl/dh.h:219:27: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:4265:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4265 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4271:25: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4271 | if (!DH_generate_key(dh)) { | ^~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ src/openssl.c:4272:33: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4272 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4276:25: warning: 'EVP_PKEY_set1_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4276 | EVP_PKEY_set1_DH(*ud, dh); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1365:27: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | ^~~~~~~~~~~~~~~~ src/openssl.c:4278:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4278 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4298:25: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4298 | if (!(key = EC_KEY_new())) { | ^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:971:31: note: declared here 971 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ src/openssl.c:4303:25: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4303 | EC_KEY_set_group(key, grp); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ src/openssl.c:4307:25: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4307 | if (!EC_KEY_generate_key(key)) { | ^~ /usr/include/openssl/ec.h:1104:27: note: declared here 1104 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4308:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4308 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/openssl.c:4312:25: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4312 | EVP_PKEY_set1_EC_KEY(*ud, key); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1373:5: note: declared here 1373 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:4314:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4314 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/openssl.c: In function 'pk_pushparam': src/openssl.c:4936:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4936 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4936:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4936 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4942:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4942:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4948:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4948 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4948:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4948 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4954:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4954 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/openssl.c:4954:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4954 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4960:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4960 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/openssl.c:4960:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4960 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4966:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4966:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4972:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4972:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4978:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4978 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4978:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4978 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4983:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4983 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4983:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4983 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4988:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4988:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4993:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4993 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4993:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4993 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4998:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4998 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ src/openssl.c:4998:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4998 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5003:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5003 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ src/openssl.c:5003:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5003 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5008:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5008 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ src/openssl.c:5008:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5008 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5013:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5013 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ src/openssl.c:5013:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5013 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5018:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5018 | DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src/openssl.c:5018:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5018 | DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5023:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src/openssl.c:5023:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5029:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5029 | ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5029:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5029 | ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EC_POINT_point2bn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:773:31: note: declared here 773 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EC_KEY_get_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1077:47: note: declared here 1077 | OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5045:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5045 | bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5045:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5045 | bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'pk_setparam': src/openssl.c:5083:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5083:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5083:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5088:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5088:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5088:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5093:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5093:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5093:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5098:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ src/openssl.c:5098:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5098:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ src/openssl.c:5103:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ src/openssl.c:5103:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5103:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ src/openssl.c:5108:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5108:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5108:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5113:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5113:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5113:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5118:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5118:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5118:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5123:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5123:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5123:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5128:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5128:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5128:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5133:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5133:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5133:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5138:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ src/openssl.c:5138:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5138:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ src/openssl.c:5143:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ src/openssl.c:5143:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5143:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ src/openssl.c:5148:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/openssl.c:5148:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5148:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ src/openssl.c:5153:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/openssl.c:5153:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5153:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ src/openssl.c:5158:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src/openssl.c:5158:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5158:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:265:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ src/openssl.c:5163:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src/openssl.c:5163:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5163:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:265:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ src/openssl.c:5170:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ src/openssl.c:5170:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5170:39: warning: passing argument 1 of 'EC_KEY_set_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1045:52: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ~~~~~~~~^~~ src/openssl.c:5181:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5181 | if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)))) | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5181:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5181 | if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)))) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5184:17: warning: 'EC_POINT_bn2point' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5184 | if (!(pub_key = EC_POINT_bn2point(group, n, NULL, getctx(L)))) | ^~ /usr/include/openssl/ec.h:777:33: note: declared here 777 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ src/openssl.c:5188:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~ /usr/include/openssl/ec.h:1073:27: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5188:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5188:46: warning: passing argument 1 of 'EC_KEY_set_public_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1073:57: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ~~~~~~~~^~~ src/openssl.c:5199:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~ /usr/include/openssl/ec.h:1059:27: note: declared here 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5199:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5199:45: warning: passing argument 1 of 'EC_KEY_set_private_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1059:58: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ~~~~~~~~^~~ src/openssl.c: In function 'ecg_new': src/openssl.c:5525:33: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5525 | goterr |= !(*group = PEM_read_bio_ECPKParameters(bio, NULL, 0, "")); | ^~~~~~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg_toPEM': src/openssl.c:5571:9: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5571 | if (!PEM_write_bio_ECPKParameters(bio, group)) | ^~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg_tostring': src/openssl.c:5590:17: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5590 | if (!PEM_write_bio_ECPKParameters(bio, group)) | ^~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5599:17: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5599 | if (!ECPKParameters_print(bio, group, indent)) | ^~ /usr/include/openssl/ec.h:929:27: note: declared here 929 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg__gc': src/openssl.c:5620:17: warning: 'EC_GROUP_clear_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5620 | EC_GROUP_clear_free(*ud); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:179:28: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group); | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'sx_setEphemeralKey': src/openssl.c:9605:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9605 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c:9613:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9613 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c:9621:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9621 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c: In function 'hmac_new': src/openssl.c:11770:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11770 | if (!(*ctx = HMAC_CTX_new())) | ^~ In file included from /usr/include/openssl/ssl.h:37, from src/openssl.c:77: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ src/openssl.c:11774:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11774 | if (!HMAC_Init_ex(*ctx, key, len, type, NULL)) | ^~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ src/openssl.c: In function 'hmac_update_': src/openssl.c:11800:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11800 | HMAC_Update(ctx, p, n); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ src/openssl.c: In function 'hmac_final': src/openssl.c:11823:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11823 | HMAC_Final(ctx, hmac, &len); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ src/openssl.c: In function 'hmac__gc': src/openssl.c:11834:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11834 | HMAC_CTX_free(*ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ src/openssl.c: In function 'de5_string_to_key': src/openssl.c:12977:9: warning: 'DES_string_to_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12977 | DES_string_to_key(luaL_checkstring(L, 1), &key); | ^~~~~~~~~~~~~~~~~ In file included from src/openssl.c:80: /usr/include/openssl/des.h:193:28: note: declared here 193 | OSSL_DEPRECATEDIN_3_0 void DES_string_to_key(const char *str, DES_cblock *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c: In function 'de5_set_odd_parity': src/openssl.c:12992:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12992 | DES_set_odd_parity(&key); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/lua5.2 -c src/openssl.c -o src/openssl.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl -D_GNU_SOURCE -I/usr/include -I/usr/include gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/lua5.2 -c vendor/compat53/c-api/compat-5.3.c -o vendor/compat53/c-api/compat-5.3.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl -D_GNU_SOURCE -I/usr/include -I/usr/include gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -o _openssl.so src/openssl.o vendor/compat53/c-api/compat-5.3.o -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib -lssl -lcrypto -lpthread -lm -ldl No existing manifest. Attempting to rebuild... luaossl 20220711-0 is now installed in /tmp/archlinux-ci//luarocks_luarocks-build-pack-luaossl-OCvKyg (license: MIT/X11) Packed: /tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk/src/luaossl-rel-20220711/luaossl-20220711-0.linux-x86_64.rock src/openssl.c: In function 'pk_new': src/openssl.c:4202:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4202 | if (!(rsa = RSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:36, from src/openssl.c:71: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/openssl.c:4205:25: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4205 | if (!RSA_generate_key_ex(rsa, bits, exp, 0)) { | ^~ /usr/include/openssl/rsa.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4206:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4206 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/openssl.c:4210:25: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4210 | EVP_PKEY_set1_RSA(*ud, rsa); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1347:5: note: declared here 1347 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4212:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4212 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/openssl.c:4222:25: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4222 | if (!(dsa = DSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:37: /usr/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ src/openssl.c:4225:25: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4225 | if (!DSA_generate_parameters_ex(dsa, bits, 0, 0, 0, 0, 0)) { | ^~ /usr/include/openssl/dsa.h:172:27: note: declared here 172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:4226:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4226 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4230:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4230 | if (!DSA_generate_key(dsa)) { | ^~ /usr/include/openssl/dsa.h:179:27: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ src/openssl.c:4231:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4231 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4235:25: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4235 | EVP_PKEY_set1_DSA(*ud, dsa); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1356:5: note: declared here 1356 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4237:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4237 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4256:33: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4256 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from src/openssl.c:76: /usr/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4261:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4261 | if (!(dh = DH_new())) | ^~ In file included from /usr/include/openssl/dsa.h:31: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ src/openssl.c:4264:33: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4264 | if (!DH_generate_parameters_ex(dh, bits, generator, 0)) { | ^~ /usr/include/openssl/dh.h:219:27: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:4265:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4265 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4271:25: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4271 | if (!DH_generate_key(dh)) { | ^~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ src/openssl.c:4272:33: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4272 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4276:25: warning: 'EVP_PKEY_set1_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4276 | EVP_PKEY_set1_DH(*ud, dh); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1365:27: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | ^~~~~~~~~~~~~~~~ src/openssl.c:4278:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4278 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4298:25: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4298 | if (!(key = EC_KEY_new())) { | ^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:971:31: note: declared here 971 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ src/openssl.c:4303:25: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4303 | EC_KEY_set_group(key, grp); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ src/openssl.c:4307:25: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4307 | if (!EC_KEY_generate_key(key)) { | ^~ /usr/include/openssl/ec.h:1104:27: note: declared here 1104 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4308:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4308 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/openssl.c:4312:25: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4312 | EVP_PKEY_set1_EC_KEY(*ud, key); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1373:5: note: declared here 1373 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:4314:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4314 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/openssl.c: In function 'pk_pushparam': src/openssl.c:4936:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4936 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4936:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4936 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4942:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4942:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4948:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4948 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4948:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4948 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4954:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4954 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/openssl.c:4954:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4954 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4960:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4960 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/openssl.c:4960:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4960 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4966:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4966:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4972:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4972:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4978:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4978 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4978:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4978 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4983:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4983 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4983:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4983 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4988:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4988:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4993:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4993 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4993:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4993 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4998:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4998 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ src/openssl.c:4998:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4998 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5003:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5003 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ src/openssl.c:5003:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5003 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5008:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5008 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ src/openssl.c:5008:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5008 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5013:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5013 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ src/openssl.c:5013:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5013 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5018:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5018 | DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src/openssl.c:5018:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5018 | DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5023:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src/openssl.c:5023:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5029:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5029 | ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5029:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5029 | ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EC_POINT_point2bn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:773:31: note: declared here 773 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EC_KEY_get_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1077:47: note: declared here 1077 | OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5045:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5045 | bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5045:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5045 | bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'pk_setparam': src/openssl.c:5083:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5083:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5083:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5088:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5088:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5088:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5093:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5093:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5093:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5098:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ src/openssl.c:5098:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5098:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ src/openssl.c:5103:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ src/openssl.c:5103:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5103:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ src/openssl.c:5108:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5108:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5108:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5113:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5113:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5113:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5118:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5118:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5118:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5123:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5123:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5123:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5128:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5128:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5128:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5133:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5133:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5133:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5138:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ src/openssl.c:5138:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5138:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ src/openssl.c:5143:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ src/openssl.c:5143:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5143:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ src/openssl.c:5148:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/openssl.c:5148:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5148:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ src/openssl.c:5153:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/openssl.c:5153:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5153:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ src/openssl.c:5158:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src/openssl.c:5158:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5158:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:265:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ src/openssl.c:5163:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src/openssl.c:5163:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5163:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:265:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ src/openssl.c:5170:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ src/openssl.c:5170:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5170:39: warning: passing argument 1 of 'EC_KEY_set_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1045:52: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ~~~~~~~~^~~ src/openssl.c:5181:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5181 | if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)))) | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5181:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5181 | if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)))) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5184:17: warning: 'EC_POINT_bn2point' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5184 | if (!(pub_key = EC_POINT_bn2point(group, n, NULL, getctx(L)))) | ^~ /usr/include/openssl/ec.h:777:33: note: declared here 777 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ src/openssl.c:5188:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~ /usr/include/openssl/ec.h:1073:27: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5188:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5188:46: warning: passing argument 1 of 'EC_KEY_set_public_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1073:57: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ~~~~~~~~^~~ src/openssl.c:5199:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~ /usr/include/openssl/ec.h:1059:27: note: declared here 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5199:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5199:45: warning: passing argument 1 of 'EC_KEY_set_private_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1059:58: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ~~~~~~~~^~~ src/openssl.c: In function 'ecg_new': src/openssl.c:5525:33: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5525 | goterr |= !(*group = PEM_read_bio_ECPKParameters(bio, NULL, 0, "")); | ^~~~~~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg_toPEM': src/openssl.c:5571:9: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5571 | if (!PEM_write_bio_ECPKParameters(bio, group)) | ^~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg_tostring': src/openssl.c:5590:17: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5590 | if (!PEM_write_bio_ECPKParameters(bio, group)) | ^~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5599:17: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5599 | if (!ECPKParameters_print(bio, group, indent)) | ^~ /usr/include/openssl/ec.h:929:27: note: declared here 929 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg__gc': src/openssl.c:5620:17: warning: 'EC_GROUP_clear_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5620 | EC_GROUP_clear_free(*ud); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:179:28: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group); | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'sx_setEphemeralKey': src/openssl.c:9605:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9605 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c:9613:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9613 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c:9621:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9621 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c: In function 'hmac_new': src/openssl.c:11770:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11770 | if (!(*ctx = HMAC_CTX_new())) | ^~ In file included from /usr/include/openssl/ssl.h:37, from src/openssl.c:77: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ src/openssl.c:11774:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11774 | if (!HMAC_Init_ex(*ctx, key, len, type, NULL)) | ^~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ src/openssl.c: In function 'hmac_update_': src/openssl.c:11800:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11800 | HMAC_Update(ctx, p, n); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ src/openssl.c: In function 'hmac_final': src/openssl.c:11823:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11823 | HMAC_Final(ctx, hmac, &len); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ src/openssl.c: In function 'hmac__gc': src/openssl.c:11834:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11834 | HMAC_CTX_free(*ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ src/openssl.c: In function 'de5_string_to_key': src/openssl.c:12977:9: warning: 'DES_string_to_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12977 | DES_string_to_key(luaL_checkstring(L, 1), &key); | ^~~~~~~~~~~~~~~~~ In file included from src/openssl.c:80: /usr/include/openssl/des.h:193:28: note: declared here 193 | OSSL_DEPRECATEDIN_3_0 void DES_string_to_key(const char *str, DES_cblock *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c: In function 'de5_set_odd_parity': src/openssl.c:12992:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12992 | DES_set_odd_parity(&key); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/lua5.3 -c src/openssl.c -o src/openssl.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl -D_GNU_SOURCE -I/usr/include -I/usr/include gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/lua5.3 -c vendor/compat53/c-api/compat-5.3.c -o vendor/compat53/c-api/compat-5.3.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl -D_GNU_SOURCE -I/usr/include -I/usr/include gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -o _openssl.so src/openssl.o vendor/compat53/c-api/compat-5.3.o -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib -lssl -lcrypto -lpthread -lm -ldl No existing manifest. Attempting to rebuild... luaossl 20220711-0 is now installed in /tmp/archlinux-ci//luarocks_luarocks-build-pack-luaossl-8v5Oae (license: MIT/X11) Packed: /tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk/src/luaossl-rel-20220711/luaossl-20220711-0.linux-x86_64.rock src/openssl.c: In function 'pk_new': src/openssl.c:4202:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4202 | if (!(rsa = RSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:36, from src/openssl.c:71: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/openssl.c:4205:25: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4205 | if (!RSA_generate_key_ex(rsa, bits, exp, 0)) { | ^~ /usr/include/openssl/rsa.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4206:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4206 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/openssl.c:4210:25: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4210 | EVP_PKEY_set1_RSA(*ud, rsa); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1347:5: note: declared here 1347 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4212:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4212 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ src/openssl.c:4222:25: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4222 | if (!(dsa = DSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:37: /usr/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ src/openssl.c:4225:25: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4225 | if (!DSA_generate_parameters_ex(dsa, bits, 0, 0, 0, 0, 0)) { | ^~ /usr/include/openssl/dsa.h:172:27: note: declared here 172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:4226:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4226 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4230:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4230 | if (!DSA_generate_key(dsa)) { | ^~ /usr/include/openssl/dsa.h:179:27: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ src/openssl.c:4231:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4231 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4235:25: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4235 | EVP_PKEY_set1_DSA(*ud, dsa); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1356:5: note: declared here 1356 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4237:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4237 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ src/openssl.c:4256:33: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4256 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from src/openssl.c:76: /usr/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4261:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4261 | if (!(dh = DH_new())) | ^~ In file included from /usr/include/openssl/dsa.h:31: /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ src/openssl.c:4264:33: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4264 | if (!DH_generate_parameters_ex(dh, bits, generator, 0)) { | ^~ /usr/include/openssl/dh.h:219:27: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:4265:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4265 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4271:25: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4271 | if (!DH_generate_key(dh)) { | ^~ /usr/include/openssl/dh.h:230:27: note: declared here 230 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ src/openssl.c:4272:33: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4272 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4276:25: warning: 'EVP_PKEY_set1_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4276 | EVP_PKEY_set1_DH(*ud, dh); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1365:27: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | ^~~~~~~~~~~~~~~~ src/openssl.c:4278:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4278 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/openssl.c:4298:25: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4298 | if (!(key = EC_KEY_new())) { | ^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:971:31: note: declared here 971 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ src/openssl.c:4303:25: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4303 | EC_KEY_set_group(key, grp); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ src/openssl.c:4307:25: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4307 | if (!EC_KEY_generate_key(key)) { | ^~ /usr/include/openssl/ec.h:1104:27: note: declared here 1104 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4308:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4308 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/openssl.c:4312:25: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4312 | EVP_PKEY_set1_EC_KEY(*ud, key); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1373:5: note: declared here 1373 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:4314:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4314 | EC_KEY_free(key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/openssl.c: In function 'pk_pushparam': src/openssl.c:4936:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4936 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4936:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4936 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4942:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4942:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4948:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4948 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ src/openssl.c:4948:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4948 | RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4954:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4954 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/openssl.c:4954:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4954 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4960:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4960 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:226:28: note: declared here 226 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ src/openssl.c:4960:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4960 | RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4966:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4966:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4966 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4972:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4972:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4978:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4978 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4978:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4978 | RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4983:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4983 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4983:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4983 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4988:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4988:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4993:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4993 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:28: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ src/openssl.c:4993:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4993 | DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:4998:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4998 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ src/openssl.c:4998:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4998 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5003:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5003 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ src/openssl.c:5003:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5003 | DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5008:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5008 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ src/openssl.c:5008:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5008 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5013:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5013 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:260:28: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ src/openssl.c:5013:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5013 | DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5018:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5018 | DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src/openssl.c:5018:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5018 | DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5023:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:263:28: note: declared here 263 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ src/openssl.c:5023:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5023 | DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5029:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5029 | ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5029:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5029 | ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5036:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5036 | if ((group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))) && (pub_key = EC_KEY_get0_public_key(EVP_PKEY_get0_EC_KEY(pkey)))) { | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EC_POINT_point2bn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:773:31: note: declared here 773 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EC_KEY_get_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1077:47: note: declared here 1077 | OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5037:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5037 | bn_dup_nil(L, EC_POINT_point2bn(group, pub_key, EC_KEY_get_conv_form(EVP_PKEY_get0_EC_KEY(pkey)), NULL, getctx(L))); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5045:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5045 | bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5045:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5045 | bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey))); | ^~~~~~~~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'pk_setparam': src/openssl.c:5083:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5083:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5083:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5083 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5088:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5088:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5088:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5088 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5093:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ src/openssl.c:5093:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5093:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5093 | RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:213:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ src/openssl.c:5098:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ src/openssl.c:5098:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5098:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5098 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ src/openssl.c:5103:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ src/openssl.c:5103:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5103:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5103 | RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:214:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ src/openssl.c:5108:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5108:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5108:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5108 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5113:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5113:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5113:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5113 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5118:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5118:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1349:22: note: declared here 1349 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5118:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5118 | RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ src/openssl.c:5123:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5123:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5123:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5123 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5128:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5128:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5128:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5128 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5133:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ src/openssl.c:5133:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5133:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5133 | DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:208:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ src/openssl.c:5138:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ src/openssl.c:5138:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5138:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5138 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ src/openssl.c:5143:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ src/openssl.c:5143:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~ /usr/include/openssl/evp.h:1358:22: note: declared here 1358 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5143:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5143 | DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:211:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ src/openssl.c:5148:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/openssl.c:5148:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5148:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5148 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ src/openssl.c:5153:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:262:27: note: declared here 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/openssl.c:5153:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5153:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5153 | DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:262:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ src/openssl.c:5158:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src/openssl.c:5158:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5158:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5158 | DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:265:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ src/openssl.c:5163:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:265:27: note: declared here 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ src/openssl.c:5163:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~ /usr/include/openssl/evp.h:1366:43: note: declared here 1366 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ src/openssl.c:5163:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5163 | DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dh.h:265:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 265 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ src/openssl.c:5170:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~ /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ src/openssl.c:5170:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5170:39: warning: passing argument 1 of 'EC_KEY_set_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5170 | if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1045:52: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ~~~~~~~~^~~ src/openssl.c:5181:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5181 | if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)))) | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c:5181:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5181 | if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)))) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5184:17: warning: 'EC_POINT_bn2point' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5184 | if (!(pub_key = EC_POINT_bn2point(group, n, NULL, getctx(L)))) | ^~ /usr/include/openssl/ec.h:777:33: note: declared here 777 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ src/openssl.c:5188:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~ /usr/include/openssl/ec.h:1073:27: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5188:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5188:46: warning: passing argument 1 of 'EC_KEY_set_public_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5188 | okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1073:57: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ~~~~~~~~^~~ src/openssl.c:5199:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~ /usr/include/openssl/ec.h:1059:27: note: declared here 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ src/openssl.c:5199:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~ /usr/include/openssl/evp.h:1375:25: note: declared here 1375 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c:5199:45: warning: passing argument 1 of 'EC_KEY_set_private_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5199 | if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1059:58: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ~~~~~~~~^~~ src/openssl.c: In function 'ecg_new': src/openssl.c:5525:33: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5525 | goterr |= !(*group = PEM_read_bio_ECPKParameters(bio, NULL, 0, "")); | ^~~~~~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg_toPEM': src/openssl.c:5571:9: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5571 | if (!PEM_write_bio_ECPKParameters(bio, group)) | ^~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg_tostring': src/openssl.c:5590:17: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5590 | if (!PEM_write_bio_ECPKParameters(bio, group)) | ^~ /usr/include/openssl/pem.h:464:1: note: declared here 464 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:5599:17: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5599 | if (!ECPKParameters_print(bio, group, indent)) | ^~ /usr/include/openssl/ec.h:929:27: note: declared here 929 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, | ^~~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ecg__gc': src/openssl.c:5620:17: warning: 'EC_GROUP_clear_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5620 | EC_GROUP_clear_free(*ud); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:179:28: note: declared here 179 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group); | ^~~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'sx_setEphemeralKey': src/openssl.c:9605:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9605 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c:9613:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9613 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c:9621:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9621 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ src/openssl.c: In function 'hmac_new': src/openssl.c:11770:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11770 | if (!(*ctx = HMAC_CTX_new())) | ^~ In file included from /usr/include/openssl/ssl.h:37, from src/openssl.c:77: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ src/openssl.c:11774:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11774 | if (!HMAC_Init_ex(*ctx, key, len, type, NULL)) | ^~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ src/openssl.c: In function 'hmac_update_': src/openssl.c:11800:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11800 | HMAC_Update(ctx, p, n); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ src/openssl.c: In function 'hmac_final': src/openssl.c:11823:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11823 | HMAC_Final(ctx, hmac, &len); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ src/openssl.c: In function 'hmac__gc': src/openssl.c:11834:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11834 | HMAC_CTX_free(*ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ src/openssl.c: In function 'de5_string_to_key': src/openssl.c:12977:9: warning: 'DES_string_to_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12977 | DES_string_to_key(luaL_checkstring(L, 1), &key); | ^~~~~~~~~~~~~~~~~ In file included from src/openssl.c:80: /usr/include/openssl/des.h:193:28: note: declared here 193 | OSSL_DEPRECATEDIN_3_0 void DES_string_to_key(const char *str, DES_cblock *key); | ^~~~~~~~~~~~~~~~~ src/openssl.c: In function 'de5_set_odd_parity': src/openssl.c:12992:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12992 | DES_set_odd_parity(&key); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include -c src/openssl.c -o src/openssl.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl -D_GNU_SOURCE -I/usr/include -I/usr/include gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/usr/include -c vendor/compat53/c-api/compat-5.3.c -o vendor/compat53/c-api/compat-5.3.o -D_REENTRANT -D_THREAD_SAFE -DCOMPAT53_PREFIX=luaossl -D_GNU_SOURCE -I/usr/include -I/usr/include gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -o _openssl.so src/openssl.o vendor/compat53/c-api/compat-5.3.o -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib -lssl -lcrypto -lpthread -lm -ldl No existing manifest. Attempting to rebuild... luaossl 20220711-0 is now installed in /tmp/archlinux-ci//luarocks_luarocks-build-pack-luaossl-TlSKzg (license: MIT/X11) Packed: /tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk/src/luaossl-rel-20220711/luaossl-20220711-0.linux-x86_64.rock ==> Entering fakeroot environment... ==> Starting package_lua-luaossl()... No existing manifest. Attempting to rebuild... luaossl 20220711-0 is now installed in /tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk/pkg/lua-luaossl/usr (license: MIT/X11) ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "lua-luaossl"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Starting package_lua51-luaossl()... No existing manifest. Attempting to rebuild... luaossl 20220711-0 is now installed in /tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk/pkg/lua51-luaossl/usr (license: MIT/X11) ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "lua51-luaossl"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Starting package_lua52-luaossl()... No existing manifest. Attempting to rebuild... luaossl 20220711-0 is now installed in /tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk/pkg/lua52-luaossl/usr (license: MIT/X11) ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "lua52-luaossl"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Starting package_lua53-luaossl()... No existing manifest. Attempting to rebuild... luaossl 20220711-0 is now installed in /tmp/archlinux-ci/lua-luaossl-archlinuxrb-build-wkMc9XwC/lua-luaossl/trunk/pkg/lua53-luaossl/usr (license: MIT/X11) ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "lua53-luaossl"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: lua-luaossl 20220711-2 (Thu Sep 5 21:15:45 2024)