<86>Aug 13 16:02:21 userdel[1881022]: delete user 'rooter' <86>Aug 13 16:02:21 userdel[1881022]: removed group 'rooter' owned by 'rooter' <86>Aug 13 16:02:21 userdel[1881022]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 13 16:02:21 groupadd[1881061]: group added to /etc/group: name=rooter, GID=1820 <86>Aug 13 16:02:21 groupadd[1881061]: group added to /etc/gshadow: name=rooter <86>Aug 13 16:02:21 groupadd[1881061]: new group: name=rooter, GID=1820 <86>Aug 13 16:02:21 useradd[1881074]: new user: name=rooter, UID=1820, GID=1820, home=/root, shell=/bin/bash, from=none <86>Aug 13 16:02:21 userdel[1881112]: delete user 'builder' <86>Aug 13 16:02:21 userdel[1881112]: removed group 'builder' owned by 'builder' <86>Aug 13 16:02:21 userdel[1881112]: removed shadow group 'builder' owned by 'builder' <86>Aug 13 16:02:21 groupadd[1881148]: group added to /etc/group: name=builder, GID=1821 <86>Aug 13 16:02:21 groupadd[1881148]: group added to /etc/gshadow: name=builder <86>Aug 13 16:02:21 groupadd[1881148]: new group: name=builder, GID=1821 <86>Aug 13 16:02:21 useradd[1881169]: new user: name=builder, UID=1821, GID=1821, home=/usr/src, shell=/bin/bash, from=none warning: user shaba does not exist - using root warning: group shaba does not exist - using root warning: user shaba does not exist - using root warning: group shaba does not exist - using root warning: user shaba does not exist - using root warning: group shaba does not exist - using root <13>Aug 13 16:02:24 rpmi: rpm-macros-lua-1.5.1-alt1 sisyphus+306571.100.1.1 1662978716 installed ls: cannot access '/usr/bin/luarocks-[0-9]*': No such file or directory ls: cannot access '/usr/bin/luarocks-[0-9]*': No such file or directory ls: cannot access '/usr/bin/luarocks-[0-9]*': No such file or directory ls: cannot access '/usr/bin/luarocks-[0-9]*': No such file or directory ls: cannot access '/usr/bin/luarocks-[0-9]*': No such file or directory <13>Aug 13 16:02:25 rpmi: lua5.3-module-zlib-1.2-alt2.git15d4bc8 sisyphus+324892.40.3.1 1691823742 installed <13>Aug 13 16:02:25 rpmi: lua5.3-module-luasocket-1:3.1.0-alt1 sisyphus+308110.100.1.1 1665230830 installed <13>Aug 13 16:02:25 rpmi: lua5.3-5.3.6-alt3 sisyphus+302797.276.28.1 1657376706 installed <13>Aug 13 16:02:25 rpmi: zip-30000000:3.0-alt3 sisyphus+279370.100.1.1 1626479197 installed <13>Aug 13 16:02:26 rpmi: p7zip-17.04-alt2 sisyphus+282570.100.1.1 1628839152 installed <13>Aug 13 16:02:26 rpmi: libnatspec-0.3.2-alt1 sisyphus+325624.100.1.1 1690382975 installed <13>Aug 13 16:02:26 rpmi: unzip-6.0-alt5 sisyphus+308257.100.1.1 1665550038 installed <13>Aug 13 16:02:26 rpmi: liblua5.1-preinstall-5.1.5-alt21 sisyphus+321711.100.1.1 1684891296 installed <13>Aug 13 16:02:26 rpmi: liblua5.1-5.1.5-alt21 sisyphus+321711.100.1.1 1684891296 installed <13>Aug 13 16:02:26 rpmi: lua5.1-5.1.5-alt21 sisyphus+321711.100.1.1 1684891296 installed <13>Aug 13 16:02:26 rpmi: libreadline-devel-7.0.3-alt4 sisyphus+283725.100.1.2 1629849376 installed <13>Aug 13 16:02:26 rpmi: rpm-build-lua-0.4-alt1 sisyphus+321961.100.1.1 1685154127 installed <13>Aug 13 16:02:26 rpmi: liblua5.1-compat-devel-5.1.5-alt21 sisyphus+321711.100.1.1 1684891296 installed <13>Aug 13 16:02:26 rpmi: liblua5.1-devel-5.1.5-alt21 sisyphus+321711.100.1.1 1684891296 installed <13>Aug 13 16:02:26 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791084 installed <13>Aug 13 16:02:26 rpmi: libcares-1.19.1-alt1 sisyphus+324326.100.1.1 1688585812 installed <13>Aug 13 16:02:26 rpmi: chrpath-0.16-alt1 sisyphus+278100.500.1.1 1626056633 installed <13>Aug 13 16:02:26 rpmi: libp11-kit-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083439 installed <13>Aug 13 16:02:26 rpmi: libtasn1-4.19.0-alt2 sisyphus+323514.100.1.1 1687445894 installed <13>Aug 13 16:02:26 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Aug 13 16:02:26 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Aug 13 16:02:26 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed <13>Aug 13 16:02:26 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Aug 13 16:02:26 rpmi: p11-kit-trust-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083439 installed <13>Aug 13 16:02:26 rpmi: libcrypto3-3.1.2-alt1 sisyphus+326244.100.1.1 1690906741 installed <13>Aug 13 16:02:26 rpmi: libssl3-3.1.2-alt1 sisyphus+326244.100.1.1 1690906741 installed <13>Aug 13 16:02:26 rpmi: wget-1.21.4-alt2 sisyphus+325148.100.1.1 1689757391 installed <13>Aug 13 16:02:26 rpmi: lua5.3-luarocks-2.4.2-alt8 sisyphus+320300.300.6.1 1683875878 installed <13>Aug 13 16:02:26 rpmi: lua5.1-luarocks-2.4.2-alt8 sisyphus+320300.300.6.1 1683875878 installed <13>Aug 13 16:02:26 rpmi: libssl-devel-3.1.2-alt1 sisyphus+326244.100.1.1 1690906741 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/lua5.1-module-luaossl-20190731-alt1.nosrc.rpm (w1.gzdio) Installing lua5.1-module-luaossl-20190731-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.71976 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf luaossl-rel-20190731 + echo 'Source #0 (rel-20190731.zip):' Source #0 (rel-20190731.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/rel-20190731.zip + cd luaossl-rel-20190731 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.71976 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lua5.1-module-luaossl-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lua5.1-module-luaossl-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd luaossl-rel-20190731 + for v in 5.1 5.3 + mkdir -p /usr/src/tmp/lua5.1-module-luaossl-buildroot/usr/lib/luarocks/rocks-5.1 + cp -a /usr/lib/luarocks/rocks-5.1/manifest /usr/src/tmp/lua5.1-module-luaossl-buildroot/usr/lib/luarocks/rocks-5.1 + find /usr/lib/luarocks/rocks-5.1 -mindepth 1 -maxdepth 1 -type d '!' -name luaossl -exec ln -s '{}' /usr/src/tmp/lua5.1-module-luaossl-buildroot/usr/lib/luarocks/rocks-5.1 ';' + luarocks-5.1 make --local --to=/usr/src/tmp/lua5.1-module-luaossl-buildroot/usr /usr/src/RPM/SOURCES/luaossl-20190731-0.rockspec src/openssl.c: In function 'auxL_pusherror': src/openssl.c:1470:17: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1470 | code = ERR_get_error_line(&path, &line); | ^~~~ In file included from src/openssl.c:70: /usr/include/openssl/err.h:423:15: note: declared here 423 | unsigned long ERR_get_error_line(const char **file, int *line); | ^~~~~~~~~~~~~~~~~~ src/openssl.c: In function 'ex_init': src/openssl.c:2867:100: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 2867 | if (-1 == (type->index = CRYPTO_get_ex_new_index(type->class_index, 0, NULL, NULL, &ex_ondup, &ex_onfree))) | ^~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const const_CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/bio.h:30, from /usr/include/openssl/err.h:29: /usr/include/openssl/crypto.h:246:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const const_CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 246 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from src/openssl.c:90: src/openssl.c: In function 'luaopen__openssl': src/openssl.c:3268:27: error: 'SHLIB_VERSION_HISTORY' undeclared (first use in this function); did you mean 'SSL3_VERSION_MINOR'? 3268 | lua_pushstring(L, SHLIB_VERSION_HISTORY); | ^~~~~~~~~~~~~~~~~~~~~ src/../vendor/compat53/c-api/compat-5.3.h:143:25: note: in definition of macro 'lua_pushstring' 143 | (lua_pushstring((L), (s)), lua_tostring((L), -1)) | ^ src/openssl.c:3268:27: note: each undeclared identifier is reported only once for each function it appears in 3268 | lua_pushstring(L, SHLIB_VERSION_HISTORY); | ^~~~~~~~~~~~~~~~~~~~~ src/../vendor/compat53/c-api/compat-5.3.h:143:25: note: in definition of macro 'lua_pushstring' 143 | (lua_pushstring((L), (s)), lua_tostring((L), -1)) | ^ src/openssl.c:3271:27: error: 'SHLIB_VERSION_NUMBER' undeclared (first use in this function); did you mean 'SSLEAY_VERSION_NUMBER'? 3271 | lua_pushstring(L, SHLIB_VERSION_NUMBER); | ^~~~~~~~~~~~~~~~~~~~ src/../vendor/compat53/c-api/compat-5.3.h:143:25: note: in definition of macro 'lua_pushstring' 143 | (lua_pushstring((L), (s)), lua_tostring((L), -1)) | ^ src/openssl.c: In function 'bn_isPrime': src/openssl.c:3885:9: warning: 'BN_is_prime_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3885 | int res = BN_is_prime_ex(bn, nchecks, getctx(L), NULL); | ^~~ In file included from src/openssl.c:71: /usr/include/openssl/bn.h:374:5: note: declared here 374 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); | ^~~~~~~~~~~~~~ src/openssl.c: In function 'pk_new': src/openssl.c:4161:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4161 | if (!(rsa = RSA_new())) | ^~ In file included from /usr/include/openssl/x509.h:36, from src/openssl.c:73: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ src/openssl.c:4164:25: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4164 | 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:4165:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4165 | 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:4169:25: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4169 | 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:4171:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4171 | 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:4181:25: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4181 | 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:4184:25: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4184 | 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:4185:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4185 | 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:4189:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4189 | 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:4190:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4190 | 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:4194:25: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4194 | 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:4196:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4196 | 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:4215:33: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4215 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from src/openssl.c:78: /usr/include/openssl/pem.h:472:1: note: declared here 472 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ src/openssl.c:4220:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4220 | 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:4223:33: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4223 | 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:4224:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4224 | 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:4230:25: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4230 | 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:4231:33: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4231 | 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:4235:25: warning: 'EVP_PKEY_set1_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4235 | 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:4237:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4237 | 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:4257:25: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4257 | 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:4262:25: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4262 | 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:4266:25: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4266 | 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:4267:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4267 | 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:4271:25: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4271 | 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:4273:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4273 | 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:4895:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4895 | 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:4895:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4895 | 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:4901:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4901 | 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:4901:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4901 | 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:4907:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4907 | 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:4907:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4907 | 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:4913:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4913 | 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:4913:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4913 | 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:4919:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4919 | 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:4919:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4919 | 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:4925:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4925 | 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:4925:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4925 | 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:4931:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4931 | 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:4931:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4931 | 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:4937:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4937 | 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:4937:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4937 | 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:4942:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | 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:4942:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4942 | 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:4947:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4947 | 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:4947:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4947 | 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:4952:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4952 | 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:4952:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4952 | 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:4957:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4957 | 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:4957:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4957 | 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:4962:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4962 | 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:4962:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4962 | 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:4967:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4967 | 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:4967:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4967 | 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:4972:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | 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:4972:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4972 | 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:4977:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4977 | 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:4977:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4977 | 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:4982:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4982 | 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:4982:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4982 | 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:4988:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | 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:4988:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4988 | 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:4995:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4995 | 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:4995:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4995 | 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:4995:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4995 | 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:4995:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4995 | 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:4996:25: warning: 'EC_POINT_point2bn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4996 | 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:4996:25: warning: 'EC_KEY_get_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4996 | 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:4996:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4996 | 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:5004:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5004 | 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:5004:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5004 | 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:5042:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5042 | 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:5042:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5042 | 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:5042:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5042 | 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:5047:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5047 | 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:5047:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5047 | 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:5047:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5047 | 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:5052:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5052 | 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:5052:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5052 | 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:5052:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5052 | 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:5057:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5057 | 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:5057:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5057 | 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:5057:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5057 | 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:5062:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5062 | 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:5062:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5062 | 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:5062:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5062 | 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:5067:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5067 | 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:5067:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5067 | 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:5067:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5067 | 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:5072:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5072 | 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:5072:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5072 | 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:5072:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5072 | 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:5077:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5077 | 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:5077:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5077 | 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:5077:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5077 | 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:5082:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5082 | 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:5082:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5082 | 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:5082:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5082 | 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:5087:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5087 | 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:5087:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5087 | 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:5087:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5087 | 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:5092:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5092 | 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:5092:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5092 | 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:5092:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5092 | 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:5097:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5097 | 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:5097:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5097 | 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:5097:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5097 | 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:5102:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5102 | 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:5102:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5102 | 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:5102:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5102 | 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:5107:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5107 | 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:5107:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5107 | 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:5107:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5107 | 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:5112:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5112 | 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:5112:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5112 | 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:5112:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5112 | 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:5117:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5117 | 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:5117:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5117 | 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:5117:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5117 | 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:5122:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5122 | 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:5122:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5122 | 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:5122:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5122 | 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:5129:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5129 | 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:5129:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5129 | 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:5129:39: warning: passing argument 1 of 'EC_KEY_set_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5129 | 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:5140:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5140 | 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:5140:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5140 | 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:5143:17: warning: 'EC_POINT_bn2point' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5143 | 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:5147:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5147 | 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:5147:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5147 | 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:5147:46: warning: passing argument 1 of 'EC_KEY_set_public_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5147 | 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:5158:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | 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:5158:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5158 | 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:5158:45: warning: passing argument 1 of 'EC_KEY_set_private_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5158 | 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: At top level: src/openssl.c:5387:33: error: 'RSA_SSLV23_PADDING' undeclared here (not in a function); did you mean 'RSA_NO_PADDING'? 5387 | { "RSA_SSLV23_PADDING", RSA_SSLV23_PADDING }, // SSLv23 padding | ^~~~~~~~~~~~~~~~~~ | RSA_NO_PADDING src/openssl.c: In function 'ecg_new': src/openssl.c:5482:33: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5482 | 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:5528:9: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5528 | 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:5547:17: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5547 | 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:5556:17: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5556 | 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:5577:17: warning: 'EC_GROUP_clear_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5577 | 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:9559:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9559 | 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:9567:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9567 | 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:9575:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9575 | 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:11724:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11724 | if (!(*ctx = HMAC_CTX_new())) | ^~ In file included from /usr/include/openssl/ssl.h:37, from src/openssl.c:79: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ src/openssl.c:11728:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11728 | 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:11754:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11754 | 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:11777:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11777 | 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:11788:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11788 | 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 'kdf_derive': src/openssl.c:12051:22: warning: implicit declaration of function 'EVP_KDF_CTX_new_id'; did you mean 'EVP_KDF_CTX_new'? [-Wimplicit-function-declaration] 12051 | if (!(kctx = EVP_KDF_CTX_new_id(nid))) | ^~~~~~~~~~~~~~~~~~ | EVP_KDF_CTX_new src/openssl.c:12051:20: warning: assignment to 'EVP_KDF_CTX *' {aka 'struct evp_kdf_ctx_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 12051 | if (!(kctx = EVP_KDF_CTX_new_id(nid))) | ^ src/openssl.c:12087:29: warning: implicit declaration of function 'EVP_KDF_ctrl'; did you mean 'EVP_KDF__gc'? [-Wimplicit-function-declaration] 12087 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_PASS, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~ | EVP_KDF__gc src/openssl.c:12087:48: error: 'EVP_KDF_CTRL_SET_PASS' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SET_IV'? 12087 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_PASS, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SET_IV src/openssl.c:12093:48: error: 'EVP_KDF_CTRL_SET_SALT' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SET_IV'? 12093 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_SALT, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SET_IV src/openssl.c:12098:48: error: 'EVP_KDF_CTRL_SET_ITER' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SET_IV'? 12098 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_ITER, auxL_checkunsigned(L, -1, 1, (int)-1)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SET_IV src/openssl.c:12103:48: error: 'EVP_KDF_CTRL_SET_MD' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_GET_MD'? 12103 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_MD, md_checkdigest(L, -1)) <= 0) | ^~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_GET_MD src/openssl.c:12109:48: error: 'EVP_KDF_CTRL_SET_KEY' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SET_IV'? 12109 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_KEY, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SET_IV src/openssl.c:12114:48: error: 'EVP_KDF_CTRL_SET_MAXMEM_BYTES' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SCRYPT_MAXMEM_BYTES'? 12114 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_MAXMEM_BYTES, auxL_checkunsigned(L, -1, 0, UINT64_MAX)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SCRYPT_MAXMEM_BYTES src/openssl.c:12120:48: error: 'EVP_KDF_CTRL_SET_TLS_SECRET' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_TLS_SECRET'? 12120 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_TLS_SECRET, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_TLS_SECRET src/openssl.c:12130:48: error: 'EVP_KDF_CTRL_ADD_HKDF_INFO' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_HKDF_INFO'? 12130 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_ADD_HKDF_INFO, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_HKDF_INFO src/openssl.c:12156:48: error: 'EVP_KDF_CTRL_SET_HKDF_MODE' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_HKDF_MODE'? 12156 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_HKDF_MODE, mode) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_HKDF_MODE src/openssl.c:12161:48: error: 'EVP_KDF_CTRL_SET_SCRYPT_N' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SCRYPT_N'? 12161 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_SCRYPT_N, auxL_checkunsigned(L, -1, 0, UINT64_MAX)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SCRYPT_N src/openssl.c:12166:48: error: 'EVP_KDF_CTRL_SET_SCRYPT_R' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SCRYPT_R'? 12166 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_SCRYPT_R, auxL_checkunsigned(L, -1, 0, UINT32_MAX)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SCRYPT_R src/openssl.c:12171:48: error: 'EVP_KDF_CTRL_SET_SCRYPT_P' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SCRYPT_P'? 12171 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_SCRYPT_P, auxL_checkunsigned(L, -1, 0, UINT32_MAX)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SCRYPT_P src/openssl.c:12186:40: error: 'EVP_KDF_CTRL_ADD_TLS_SEED' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_TLS_SEED'? 12186 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_ADD_TLS_SEED, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_TLS_SEED src/openssl.c:12192:26: warning: implicit declaration of function 'EVP_KDF_size'; did you mean 'EVP_MD_size'? [-Wimplicit-function-declaration] 12192 | outlen = EVP_KDF_size(kctx); | ^~~~~~~~~~~~ | EVP_MD_size src/openssl.c:12201:39: warning: passing argument 3 of 'EVP_KDF_derive' makes integer from pointer without a cast [-Wint-conversion] 12201 | if (EVP_KDF_derive(kctx, out, &outlen) <= 0) | ^~~~~~~ | | | size_t * {aka long unsigned int *} In file included from src/openssl.c:617: /usr/include/openssl/kdf.h:44:65: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 44 | int EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen, | ~~~~~~~^~~~~~ src/openssl.c:12201:13: error: too few arguments to function 'EVP_KDF_derive' 12201 | if (EVP_KDF_derive(kctx, out, &outlen) <= 0) | ^~~~~~~~~~~~~~ /usr/include/openssl/kdf.h:44:5: note: declared here 44 | int EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen, | ^~~~~~~~~~~~~~ src/openssl.c: In function 'de5_string_to_key': src/openssl.c:12796:9: warning: 'DES_string_to_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12796 | DES_string_to_key(luaL_checkstring(L, 1), &key); | ^~~~~~~~~~~~~~~~~ In file included from src/openssl.c:82: /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:12811:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12811 | 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); | ^~~~~~~~~~~~~~~~~~ Error: Build error: Failed compiling object src/openssl.o gcc -O2 -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 error: Bad exit status from /usr/src/tmp/rpm-tmp.71976 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.71976 (%install) Command exited with non-zero status 1 0.74user 0.14system 0:00.86elapsed 102%CPU (0avgtext+0avgdata 53180maxresident)k 0inputs+0outputs (0major+29065minor)pagefaults 0swaps hsh-rebuild: rebuild of `lua5.1-module-luaossl-20190731-alt1.src.rpm' failed. Command exited with non-zero status 1 4.47user 1.82system 0:09.92elapsed 63%CPU (0avgtext+0avgdata 125660maxresident)k 0inputs+0outputs (0major+274801minor)pagefaults 0swaps