+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/lua54-ossl-20200709/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/lua54-ossl-20200709/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for lua54-ossl-20200709 cp /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/config.h.guess /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/config.h cp /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/config.h /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/config.h mkdir -p /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/5.4 gcc -O2 -std=gnu99 -fPIC -g -Wall -Wextra -Wno-missing-field-initializers -Wno-override-init -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -Usun -D_XPG4_2 -D__EXTENSIONS__ -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include -I/opt/pkg/include/ncurses -DHAVE_CONFIG_H -DCOMPAT53_PREFIX=luaossl -c -o /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/5.4/openssl.o /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'auxL_pusherror': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:70: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/err.h:423:15: note: declared here 423 | unsigned long ERR_get_error_line(const char **file, int *line); | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'ex_init': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/bio.h:30, from /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/err.h:29: /home/pbulk/build/security/lua-ossl/work/.buildlink/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, | ~~~~~~~~~~~~~~~^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'luaopen__openssl': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~ | SSL3_VERSION_MINOR /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:3268:27: note: each undeclared identifier is reported only once for each function it appears in /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~ | SSLEAY_VERSION_NUMBER /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'bn_isPrime': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:71: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/bn.h:373:5: note: declared here 373 | int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, BN_GENCB *cb); | ^~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'pk_new': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/x509.h:36, from /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:73: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4165:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4165 | RSA_free(rsa); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/x509.h:29: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1344:5: note: declared here 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4171:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4171 | RSA_free(rsa); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/x509.h:37: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:167:27: note: declared here 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4185:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4185 | DSA_free(dsa); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4189:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4189 | if (!DSA_generate_key(dsa)) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:174:27: note: declared here 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4190:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4190 | DSA_free(dsa); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1353:5: note: declared here 1353 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4196:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4196 | DSA_free(dsa); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:78: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:70:11: note: declared here 70 | type *PEM_##readname##_##name(INTYPE *out, type **x, \ | ^~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:268:10: note: in expansion of macro 'PEM_read_cb_fnsig' 268 | attr PEM_read_cb_fnsig(name, type, BIO, read_bio); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:332:5: note: in expansion of macro 'DECLARE_PEM_read_bio_attr' 332 | DECLARE_PEM_read_bio_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:342:5: note: in expansion of macro 'DECLARE_PEM_read_attr' 342 | DECLARE_PEM_read_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:469:1: note: in expansion of macro 'DECLARE_PEM_rw_attr' 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:51: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:199:27: note: declared here 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4224:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4224 | DH_free(dh); | ^~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4230:25: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4230 | if (!DH_generate_key(dh)) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:223:27: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4231:33: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4231 | DH_free(dh); | ^~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1362:27: note: declared here 1362 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4237:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4237 | DH_free(dh); | ^~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/x509.h:33: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4267:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4267 | EC_KEY_free(key); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1370:5: note: declared here 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:4273:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4273 | EC_KEY_free(key); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'pk_pushparam': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:253:28: note: declared here 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1363:43: note: declared here 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:253:28: note: declared here 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1363:43: note: declared here 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:256:28: note: declared here 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1363:43: note: declared here 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:256:28: note: declared here 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1363:43: note: declared here 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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))); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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))); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)))) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)))) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)))) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)))) { | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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))); | ^~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:770:31: note: declared here 770 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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))); | ^~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1074:47: note: declared here 1074 | OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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))); | ^~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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))); | ^~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1048:37: note: declared here 1048 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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))); | ^~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'pk_setparam': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:207:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:207:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:207:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:208:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:208:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:209:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:209:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1346:22: note: declared here 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/rsa.h:209:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *' 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:203:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:203:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:203:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:206:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1355:22: note: declared here 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dsa.h:206:45: note: expected 'DSA *' {aka 'struct dsa_st *'} but argument is of type 'const struct dsa_st *' 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ~~~~~^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:255:27: note: declared here 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1363:43: note: declared here 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:255:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:255:27: note: declared here 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1363:43: note: declared here 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:255:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ~~~~^~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:258:27: note: declared here 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1363:43: note: declared here 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:258:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:258:27: note: declared here 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1363:43: note: declared here 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/dh.h:258:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *' 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ~~~~^~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1042:27: note: declared here 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1042:52: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1042 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ~~~~~~~~^~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)))) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)))) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)))) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:774:33: note: declared here 774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1070:57: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ~~~~~~~~^~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1056:27: note: declared here 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:1056:58: note: expected 'EC_KEY *' {aka 'struct ec_key_st *'} but argument is of type 'const struct ec_key_st *' 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ~~~~~~~~^~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: At top level: /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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 /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'ecg_new': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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, "")); | ^~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:70:11: note: declared here 70 | type *PEM_##readname##_##name(INTYPE *out, type **x, \ | ^~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:268:10: note: in expansion of macro 'PEM_read_cb_fnsig' 268 | attr PEM_read_cb_fnsig(name, type, BIO, read_bio); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:332:5: note: in expansion of macro 'DECLARE_PEM_read_bio_attr' 332 | DECLARE_PEM_read_bio_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:342:5: note: in expansion of macro 'DECLARE_PEM_read_attr' 342 | DECLARE_PEM_read_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:461:1: note: in expansion of macro 'DECLARE_PEM_rw_attr' 461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'ecg_toPEM': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:79:9: note: declared here 79 | int PEM_##writename##_##name(OUTTYPE *out, const type *x) | ^~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:278:10: note: in expansion of macro 'PEM_write_fnsig' 278 | attr PEM_write_fnsig(name, type, BIO, write_bio); | ^~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:305:5: note: in expansion of macro 'DECLARE_PEM_write_bio_attr' 305 | DECLARE_PEM_write_bio_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:343:5: note: in expansion of macro 'DECLARE_PEM_write_attr' 343 | DECLARE_PEM_write_attr(attr, name, type) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:461:1: note: in expansion of macro 'DECLARE_PEM_rw_attr' 461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'ecg_tostring': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/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)) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:79:9: note: declared here 79 | int PEM_##writename##_##name(OUTTYPE *out, const type *x) | ^~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:278:10: note: in expansion of macro 'PEM_write_fnsig' 278 | attr PEM_write_fnsig(name, type, BIO, write_bio); | ^~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:305:5: note: in expansion of macro 'DECLARE_PEM_write_bio_attr' 305 | DECLARE_PEM_write_bio_attr(attr, name, type) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:343:5: note: in expansion of macro 'DECLARE_PEM_write_attr' 343 | DECLARE_PEM_write_attr(attr, name, type) | ^~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/pem.h:461:1: note: in expansion of macro 'DECLARE_PEM_rw_attr' 461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:5556:17: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5556 | if (!ECPKParameters_print(bio, group, indent)) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:926:27: note: declared here 926 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x, | ^~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'ecg__gc': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:5577:17: warning: 'EC_GROUP_clear_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5577 | EC_GROUP_clear_free(*ud); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ec.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group); | ^~~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'sx_setEphemeralKey': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:9562:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9562 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:9570:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9570 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:9578:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 9578 | if (!(tmp = EVP_PKEY_get0(key))) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/evp.h:1330:7: note: declared here 1330 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'hmac_new': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:11727:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11727 | if (!(*ctx = HMAC_CTX_new())) | ^~ In file included from /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/ssl.h:37, from /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:79: /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:11731:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11731 | if (!HMAC_Init_ex(*ctx, key, len, type, NULL)) | ^~ /home/pbulk/build/security/lua-ossl/work/.buildlink/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, | ^~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'hmac_update_': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:11757:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11757 | HMAC_Update(ctx, p, n); | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'hmac_final': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:11780:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11780 | HMAC_Final(ctx, hmac, &len); | ^~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'hmac__gc': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:11791:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 11791 | HMAC_CTX_free(*ctx); | ^~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'kdf_derive': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12054:22: warning: implicit declaration of function 'EVP_KDF_CTX_new_id'; did you mean 'EVP_KDF_CTX_new'? [-Wimplicit-function-declaration] 12054 | if (!(kctx = EVP_KDF_CTX_new_id(nid))) | ^~~~~~~~~~~~~~~~~~ | EVP_KDF_CTX_new /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12054:20: warning: assignment to 'EVP_KDF_CTX *' {aka 'struct evp_kdf_ctx_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 12054 | if (!(kctx = EVP_KDF_CTX_new_id(nid))) | ^ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12090:29: warning: implicit declaration of function 'EVP_KDF_ctrl'; did you mean 'EVP_KDF__gc'? [-Wimplicit-function-declaration] 12090 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_PASS, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~ | EVP_KDF__gc /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12090:48: error: 'EVP_KDF_CTRL_SET_PASS' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SET_IV'? 12090 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_PASS, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SET_IV /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12096:48: error: 'EVP_KDF_CTRL_SET_SALT' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SET_IV'? 12096 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_SALT, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SET_IV /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12101:48: error: 'EVP_KDF_CTRL_SET_ITER' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SET_IV'? 12101 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_ITER, auxL_checkunsigned(L, -1, 1, (int)-1)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SET_IV /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12106:48: error: 'EVP_KDF_CTRL_SET_MD' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_GET_MD'? 12106 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_MD, md_checkdigest(L, -1)) <= 0) | ^~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_GET_MD /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12112:48: error: 'EVP_KDF_CTRL_SET_KEY' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SET_IV'? 12112 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_KEY, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SET_IV /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12117:48: error: 'EVP_KDF_CTRL_SET_MAXMEM_BYTES' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SCRYPT_MAXMEM_BYTES'? 12117 | 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 /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12123:48: error: 'EVP_KDF_CTRL_SET_TLS_SECRET' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_TLS_SECRET'? 12123 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_TLS_SECRET, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_TLS_SECRET /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12133:48: error: 'EVP_KDF_CTRL_ADD_HKDF_INFO' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_HKDF_INFO'? 12133 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_ADD_HKDF_INFO, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_HKDF_INFO /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12159:48: error: 'EVP_KDF_CTRL_SET_HKDF_MODE' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_HKDF_MODE'? 12159 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_HKDF_MODE, mode) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_HKDF_MODE /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12164:48: error: 'EVP_KDF_CTRL_SET_SCRYPT_N' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SCRYPT_N'? 12164 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_SCRYPT_N, auxL_checkunsigned(L, -1, 0, UINT64_MAX)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SCRYPT_N /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12169:48: error: 'EVP_KDF_CTRL_SET_SCRYPT_R' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SCRYPT_R'? 12169 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_SCRYPT_R, auxL_checkunsigned(L, -1, 0, UINT32_MAX)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SCRYPT_R /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12174:48: error: 'EVP_KDF_CTRL_SET_SCRYPT_P' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_SCRYPT_P'? 12174 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_SET_SCRYPT_P, auxL_checkunsigned(L, -1, 0, UINT32_MAX)) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_SCRYPT_P /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12189:40: error: 'EVP_KDF_CTRL_ADD_TLS_SEED' undeclared (first use in this function); did you mean 'EVP_PKEY_CTRL_TLS_SEED'? 12189 | if (EVP_KDF_ctrl(kctx, EVP_KDF_CTRL_ADD_TLS_SEED, (const unsigned char*)str, len) <= 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_PKEY_CTRL_TLS_SEED /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12195:26: warning: implicit declaration of function 'EVP_KDF_size'; did you mean 'EVP_MD_size'? [-Wimplicit-function-declaration] 12195 | outlen = EVP_KDF_size(kctx); | ^~~~~~~~~~~~ | EVP_MD_size /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12204:39: warning: passing argument 3 of 'EVP_KDF_derive' makes integer from pointer without a cast [-Wint-conversion] 12204 | if (EVP_KDF_derive(kctx, out, &outlen) <= 0) | ^~~~~~~ | | | size_t * {aka long unsigned int *} In file included from /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:617: /home/pbulk/build/security/lua-ossl/work/.buildlink/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, | ~~~~~~~^~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12204:13: error: too few arguments to function 'EVP_KDF_derive' 12204 | if (EVP_KDF_derive(kctx, out, &outlen) <= 0) | ^~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/kdf.h:44:5: note: declared here 44 | int EVP_KDF_derive(EVP_KDF_CTX *ctx, unsigned char *key, size_t keylen, | ^~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'de5_string_to_key': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12799:9: warning: 'DES_string_to_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12799 | DES_string_to_key(luaL_checkstring(L, 1), &key); | ^~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:82: /home/pbulk/build/security/lua-ossl/work/.buildlink/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); | ^~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c: In function 'de5_set_odd_parity': /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/openssl.c:12814:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 12814 | DES_set_odd_parity(&key); | ^~~~~~~~~~~~~~~~~~ /home/pbulk/build/security/lua-ossl/work/.buildlink/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ gmake: *** [GNUmakefile:64: /home/pbulk/build/security/lua-ossl/work/luaossl-rel-20200709/src/5.4/openssl.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/lua-ossl *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/lua-ossl