Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/lua-luaossl.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-161219-10144/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff8aa74290>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/lua-luaossl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
sh: line 1: lua: command not found
warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/lua-luaossl-20200709-2.ocs23.src.rpm
RPM build warnings:
    %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/lua-luaossl.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-161219-10144/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff8aa74290>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/lua-luaossl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FUlt0X
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf luaossl-rel-20200709
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lua-luaossl-20200709.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd luaossl-rel-20200709
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #1 (openssl-3-compat.patch):
+ echo 'Patch #1 (openssl-3-compat.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file regress/regress.lua
patching file src/openssl.c
Hunk #17 succeeded at 12074 (offset -2 lines).
Hunk #18 succeeded at 12096 (offset -2 lines).
Hunk #19 succeeded at 12138 (offset -2 lines).
Hunk #20 succeeded at 12247 (offset -2 lines).
Hunk #21 succeeded at 12291 (offset -2 lines).
Hunk #22 succeeded at 12307 (offset -2 lines).
Hunk #23 succeeded at 12319 (offset -2 lines).
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EIRtwW
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd luaossl-rel-20200709
+ export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC'
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC'
+ export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ make LUA_APIS=5.4 -j16 prefix=/usr libdir=/usr/lib64
cp /builddir/build/BUILD/luaossl-rel-20200709/config.h.guess /builddir/build/BUILD/luaossl-rel-20200709/config.h
cp /builddir/build/BUILD/luaossl-rel-20200709/config.h /builddir/build/BUILD/luaossl-rel-20200709/src/config.h
mkdir -p /builddir/build/BUILD/luaossl-rel-20200709/src/5.4
gcc -O2 -std=gnu99 -fPIC -g -Wall -Wextra  -Wno-missing-field-initializers  -Wno-override-init -Wno-unused -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/ -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE  -DHAVE_CONFIG_H -DCOMPAT53_PREFIX=luaossl -c -o /builddir/build/BUILD/luaossl-rel-20200709/src/5.4/openssl.o /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'pk_new':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4204:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4204 |                         if (!(rsa = RSA_new()))
      |                         ^~
In file included from /usr/include/openssl/x509.h:36,
                 from /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:73:
/usr/include/openssl/rsa.h:209:28: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4207:25: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4207 |                         if (!RSA_generate_key_ex(rsa, bits, exp, 0)) {
      |                         ^~
/usr/include/openssl/rsa.h:268:27: note: declared here
  268 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4208:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4208 |                                 RSA_free(rsa);
      |                                 ^~~~~~~~
/usr/include/openssl/rsa.h:301:28: note: declared here
  301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4212:25: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4212 |                         EVP_PKEY_set1_RSA(*ud, rsa);
      |                         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:29:
/usr/include/openssl/evp.h:1353:5: note: declared here
 1353 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
      |     ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4214:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4214 |                         RSA_free(rsa);
      |                         ^~~~~~~~
/usr/include/openssl/rsa.h:301:28: note: declared here
  301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4224:25: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4224 |                         if (!(dsa = DSA_new()))
      |                         ^~
In file included from /usr/include/openssl/x509.h:37:
/usr/include/openssl/dsa.h:125:28: note: declared here
  125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4227:25: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4227 |                         if (!DSA_generate_parameters_ex(dsa, bits, 0, 0, 0, 0, 0)) {
      |                         ^~
/usr/include/openssl/dsa.h:167:27: note: declared here
  167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4228:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4228 |                                 DSA_free(dsa);
      |                                 ^~~~~~~~
/usr/include/openssl/dsa.h:127:28: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4232:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4232 |                         if (!DSA_generate_key(dsa)) {
      |                         ^~
/usr/include/openssl/dsa.h:174:27: note: declared here
  174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4233:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4233 |                                 DSA_free(dsa);
      |                                 ^~~~~~~~
/usr/include/openssl/dsa.h:127:28: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4237:25: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4237 |                         EVP_PKEY_set1_DSA(*ud, dsa);
      |                         ^~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1362:5: note: declared here
 1362 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key);
      |     ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4239:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4239 |                         DSA_free(dsa);
      |                         ^~~~~~~~
/usr/include/openssl/dsa.h:127:28: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4258:33: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4258 |                                 dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
      |                                 ^~
In file included from /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:78:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4263:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4263 |                                 if (!(dh = DH_new()))
      |                                 ^~
In file included from /usr/include/openssl/dsa.h:51:
/usr/include/openssl/dh.h:203:27: note: declared here
  203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4266:33: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4266 |                                 if (!DH_generate_parameters_ex(dh, bits, generator, 0)) {
      |                                 ^~
/usr/include/openssl/dh.h:216:27: note: declared here
  216 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4267:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4267 |                                         DH_free(dh);
      |                                         ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4273:25: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4273 |                         if (!DH_generate_key(dh)) {
      |                         ^~
/usr/include/openssl/dh.h:227:27: note: declared here
  227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
      |                           ^~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4274:33: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4274 |                                 DH_free(dh);
      |                                 ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4278:25: warning: 'EVP_PKEY_set1_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4278 |                         EVP_PKEY_set1_DH(*ud, dh);
      |                         ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1371:27: note: declared here
 1371 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4280:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4280 |                         DH_free(dh);
      |                         ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4300:25: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4300 |                         if (!(key = EC_KEY_new())) {
      |                         ^~
In file included from /usr/include/openssl/x509.h:33:
/usr/include/openssl/ec.h:968:31: note: declared here
  968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
      |                               ^~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4305:25: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4305 |                         EC_KEY_set_group(key, grp);
      |                         ^~~~~~~~~~~~~~~~
/usr/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);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4309:25: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4309 |                         if (!EC_KEY_generate_key(key)) {
      |                         ^~
/usr/include/openssl/ec.h:1101:27: note: declared here
 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4310:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4310 |                                 EC_KEY_free(key);
      |                                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4314:25: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4314 |                         EVP_PKEY_set1_EC_KEY(*ud, key);
      |                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1379:5: note: declared here
 1379 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key);
      |     ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4316:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4316 |                         EC_KEY_free(key);
      |                         ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'pk_pushparam':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4938:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4938 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/rsa.h:225:28: note: declared here
  225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4938:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4938 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4944:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4944 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/rsa.h:225:28: note: declared here
  225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4944:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4944 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4950:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4950 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/rsa.h:225:28: note: declared here
  225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4950:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4950 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4956:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4956 |                 RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4956:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4956 |                 RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4962:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4962 |                 RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4962:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4962 |                 RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4968:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4968 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:233:28: note: declared here
  233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4968:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4968 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4974:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4974 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:233:28: note: declared here
  233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4974:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4974 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4980:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4980 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:233:28: note: declared here
  233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4980:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4980 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4985:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4985 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4985:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4985 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4990:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4990 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4990:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4990 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4995:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4995 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4995:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4995 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5000:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5000 |                 DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/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,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5000:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5000 |                 DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5005:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5005 |                 DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/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,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5005:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5005 |                 DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5010:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5010 |                 DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:257:28: note: declared here
  257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5010:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5010 |                 DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5015:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5015 |                 DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:257:28: note: declared here
  257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5015:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5015 |                 DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5020:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5020 |                 DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:260:28: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5020:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5020 |                 DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5025:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5025 |                 DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:260:28: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5025:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5025 |                 DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5031:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5031 |                 ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)));
      |                 ^~~~~~~~~~~
/usr/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);
      |                                       ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5031:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5031 |                 ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)));
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5038:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5038 |                 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:1034:39: note: declared here
 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5038:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5038 |                 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:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5038:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5038 |                 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:1062:39: note: declared here
 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5038:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5038 |                 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:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5039:25: warning: 'EC_POINT_point2bn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5039 |                         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:770:31: note: declared here
  770 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *,
      |                               ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5039:25: warning: 'EC_KEY_get_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5039 |                         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:1074:47: note: declared here
 1074 | OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key);
      |                                               ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5039:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5039 |                         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:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5047:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5047 |                 bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey)));
      |                 ^~~~~~~~~~
/usr/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);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5047:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5047 |                 bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey)));
      |                 ^~~~~~~~~~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'pk_setparam':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5085:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5085 |                 RSA_set0_key(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_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5085:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5085 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5085:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5085 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:215:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5090:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5090 |                 RSA_set0_key(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_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5090:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5090 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5090:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5090 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:215:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5095:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5095 |                 RSA_set0_key(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_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5095:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5095 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5095:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5095 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:215:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5100:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5100 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:216:27: note: declared here
  216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5100:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5100 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5100:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5100 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:216:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                                            ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5105:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5105 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:216:27: note: declared here
  216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5105:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5105 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5105:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5105 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:216:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                                            ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5110:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5110 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:27: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5110:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5110 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5110:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5110 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                                               ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5115:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5115 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:27: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5115:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5115 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5115:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5115 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                                               ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5120:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5120 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:27: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5120:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5120 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5120:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5120 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                                               ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5125:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5125 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/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);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5125:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5125 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5125:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5125 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5130:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5130 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~
/usr/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);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5130:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5130 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5130:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5130 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5135:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5135 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~
/usr/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);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5135:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5135 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5135:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5135 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5140:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5140 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:206:27: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5140:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5140 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5140:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5140 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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,
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5145:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5145 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:206:27: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5145:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5145 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5145:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5145 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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,
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5150:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5150 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5150:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5150 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5150:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5150 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:259:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *'
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                                       ~~~~^~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5155:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5155 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5155:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5155 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5155:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5155 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:259:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *'
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                                       ~~~~^~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5160:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5160 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:262:27: note: declared here
  262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5160:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5160 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5160:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5160 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), i, 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_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                                       ~~~~^~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5165:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5165 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:262:27: note: declared here
  262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5165:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5165 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5165:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5165 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), 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_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                                       ~~~~^~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5172:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5172 |                 if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group))
      |                 ^~
/usr/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);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5172:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5172 |                 if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group))
      |                 ^~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5172:39: warning: passing argument 1 of 'EC_KEY_set_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5172 |                 if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group))
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                            ~~~~~~~~^~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5183:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5183 |                 if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))))
      |                 ^~
/usr/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);
      |                                       ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5183:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5183 |                 if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))))
      |                 ^~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5186:17: warning: 'EC_POINT_bn2point' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5186 |                 if (!(pub_key = EC_POINT_bn2point(group, n, NULL, getctx(L))))
      |                 ^~
/usr/include/openssl/ec.h:774:33: note: declared here
  774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *,
      |                                 ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5190:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5190 |                 okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key);
      |                 ^~~~
/usr/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);
      |                           ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5190:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5190 |                 okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key);
      |                 ^~~~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5190:46: warning: passing argument 1 of 'EC_KEY_set_public_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5190 |                 okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                                 ~~~~~~~~^~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5201:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5201 |                 if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n))
      |                 ^~
/usr/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);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5201:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5201 |                 if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n))
      |                 ^~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5201:45: warning: passing argument 1 of 'EC_KEY_set_private_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5201 |                 if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n))
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                                  ~~~~~~~~^~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'ecg_new':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5527:33: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5527 |                                 goterr |= !(*group = PEM_read_bio_ECPKParameters(bio, NULL, 0, ""));
      |                                 ^~~~~~
/usr/include/openssl/pem.h:461:1: note: declared here
  461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'ecg_toPEM':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5573:9: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5573 |         if (!PEM_write_bio_ECPKParameters(bio, group))
      |         ^~
/usr/include/openssl/pem.h:461:1: note: declared here
  461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'ecg_tostring':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5592:17: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5592 |                 if (!PEM_write_bio_ECPKParameters(bio, group))
      |                 ^~
/usr/include/openssl/pem.h:461:1: note: declared here
  461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5601:17: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5601 |                 if (!ECPKParameters_print(bio, group, indent))
      |                 ^~
/usr/include/openssl/ec.h:926:27: note: declared here
  926 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x,
      |                           ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'ecg__gc':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5622:17: warning: 'EC_GROUP_clear_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5622 |                 EC_GROUP_clear_free(*ud);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:176:28: note: declared here
  176 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group);
      |                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'sx_setEphemeralKey':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:9607:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 9607 |                 if (!(tmp = EVP_PKEY_get0(key)))
      |                 ^~
/usr/include/openssl/evp.h:1339:7: note: declared here
 1339 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
      |       ^~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:9615:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 9615 |                 if (!(tmp = EVP_PKEY_get0(key)))
      |                 ^~
/usr/include/openssl/evp.h:1339:7: note: declared here
 1339 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
      |       ^~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:9623:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 9623 |                 if (!(tmp = EVP_PKEY_get0(key)))
      |                 ^~
/usr/include/openssl/evp.h:1339:7: note: declared here
 1339 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
      |       ^~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'hmac_new':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11772:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11772 |         if (!(*ctx = HMAC_CTX_new()))
      |         ^~
In file included from /usr/include/openssl/ssl.h:37,
                 from /builddir/build/BUILD/luaossl-rel-20200709/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);
      |                                 ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11776:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11776 |         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,
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'hmac_update_':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11802:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11802 |                 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,
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'hmac_final':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11825:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11825 |         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,
      |                           ^~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'hmac__gc':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11836:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11836 |         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);
      |                            ^~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'de5_string_to_key':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:12917:9: warning: 'DES_string_to_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
12917 |         DES_string_to_key(luaL_checkstring(L, 1), &key);
      |         ^~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/luaossl-rel-20200709/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);
      |                            ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'de5_set_odd_parity':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:12932:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
12932 |         DES_set_odd_parity(&key);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/des.h:176:28: note: declared here
  176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key);
      |                            ^~~~~~~~~~~~~~~~~~
gcc -o /builddir/build/BUILD/luaossl-rel-20200709/src/5.4/openssl.so /builddir/build/BUILD/luaossl-rel-20200709/src/5.4/openssl.o -shared  -L/usr/lib64 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1  -lssl -lcrypto -lpthread -ldl -lrt -lm
+ make LUA_APIS=5.1 -j16 prefix=/usr libdir=/usr/lib64 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1'
mkdir -p /builddir/build/BUILD/luaossl-rel-20200709/src/5.1
gcc -O2 -std=gnu99 -fPIC -g -Wall -Wextra  -Wno-missing-field-initializers  -Wno-override-init -Wno-unused -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -I/usr/include/lua-5.1 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE  -DHAVE_CONFIG_H -DCOMPAT53_PREFIX=luaossl -c -o /builddir/build/BUILD/luaossl-rel-20200709/src/5.1/openssl.o /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'pk_new':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4204:25: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4204 |                         if (!(rsa = RSA_new()))
      |                         ^~
In file included from /usr/include/openssl/x509.h:36,
                 from /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:73:
/usr/include/openssl/rsa.h:209:28: note: declared here
  209 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4207:25: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4207 |                         if (!RSA_generate_key_ex(rsa, bits, exp, 0)) {
      |                         ^~
/usr/include/openssl/rsa.h:268:27: note: declared here
  268 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4208:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4208 |                                 RSA_free(rsa);
      |                                 ^~~~~~~~
/usr/include/openssl/rsa.h:301:28: note: declared here
  301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4212:25: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4212 |                         EVP_PKEY_set1_RSA(*ud, rsa);
      |                         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:29:
/usr/include/openssl/evp.h:1353:5: note: declared here
 1353 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key);
      |     ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4214:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4214 |                         RSA_free(rsa);
      |                         ^~~~~~~~
/usr/include/openssl/rsa.h:301:28: note: declared here
  301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4224:25: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4224 |                         if (!(dsa = DSA_new()))
      |                         ^~
In file included from /usr/include/openssl/x509.h:37:
/usr/include/openssl/dsa.h:125:28: note: declared here
  125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4227:25: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4227 |                         if (!DSA_generate_parameters_ex(dsa, bits, 0, 0, 0, 0, 0)) {
      |                         ^~
/usr/include/openssl/dsa.h:167:27: note: declared here
  167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4228:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4228 |                                 DSA_free(dsa);
      |                                 ^~~~~~~~
/usr/include/openssl/dsa.h:127:28: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4232:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4232 |                         if (!DSA_generate_key(dsa)) {
      |                         ^~
/usr/include/openssl/dsa.h:174:27: note: declared here
  174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4233:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4233 |                                 DSA_free(dsa);
      |                                 ^~~~~~~~
/usr/include/openssl/dsa.h:127:28: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4237:25: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4237 |                         EVP_PKEY_set1_DSA(*ud, dsa);
      |                         ^~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1362:5: note: declared here
 1362 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key);
      |     ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4239:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4239 |                         DSA_free(dsa);
      |                         ^~~~~~~~
/usr/include/openssl/dsa.h:127:28: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4258:33: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4258 |                                 dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
      |                                 ^~
In file included from /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:78:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4263:33: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4263 |                                 if (!(dh = DH_new()))
      |                                 ^~
In file included from /usr/include/openssl/dsa.h:51:
/usr/include/openssl/dh.h:203:27: note: declared here
  203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4266:33: warning: 'DH_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4266 |                                 if (!DH_generate_parameters_ex(dh, bits, generator, 0)) {
      |                                 ^~
/usr/include/openssl/dh.h:216:27: note: declared here
  216 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4267:41: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4267 |                                         DH_free(dh);
      |                                         ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4273:25: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4273 |                         if (!DH_generate_key(dh)) {
      |                         ^~
/usr/include/openssl/dh.h:227:27: note: declared here
  227 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh);
      |                           ^~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4274:33: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4274 |                                 DH_free(dh);
      |                                 ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4278:25: warning: 'EVP_PKEY_set1_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4278 |                         EVP_PKEY_set1_DH(*ud, dh);
      |                         ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1371:27: note: declared here
 1371 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4280:25: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4280 |                         DH_free(dh);
      |                         ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4300:25: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4300 |                         if (!(key = EC_KEY_new())) {
      |                         ^~
In file included from /usr/include/openssl/x509.h:33:
/usr/include/openssl/ec.h:968:31: note: declared here
  968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
      |                               ^~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4305:25: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4305 |                         EC_KEY_set_group(key, grp);
      |                         ^~~~~~~~~~~~~~~~
/usr/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);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4309:25: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4309 |                         if (!EC_KEY_generate_key(key)) {
      |                         ^~
/usr/include/openssl/ec.h:1101:27: note: declared here
 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4310:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4310 |                                 EC_KEY_free(key);
      |                                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4314:25: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4314 |                         EVP_PKEY_set1_EC_KEY(*ud, key);
      |                         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1379:5: note: declared here
 1379 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key);
      |     ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4316:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4316 |                         EC_KEY_free(key);
      |                         ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'pk_pushparam':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4938:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4938 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/rsa.h:225:28: note: declared here
  225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4938:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4938 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4944:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4944 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/rsa.h:225:28: note: declared here
  225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4944:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4944 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4950:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4950 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/rsa.h:225:28: note: declared here
  225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4950:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4950 |                 RSA_get0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4956:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4956 |                 RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4956:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4956 |                 RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), &i, NULL);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4962:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4962 |                 RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:228:28: note: declared here
  228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4962:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4962 |                 RSA_get0_factors(EVP_PKEY_get0_RSA(pkey), NULL, &i);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4968:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4968 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:233:28: note: declared here
  233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4968:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4968 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4974:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4974 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:233:28: note: declared here
  233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4974:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4974 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4980:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4980 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:233:28: note: declared here
  233 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r,
      |                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4980:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4980 |                 RSA_get0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4985:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4985 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4985:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4985 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4990:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4990 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4990:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4990 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
mkdir -p /builddir/build/BUILD/luaossl-rel-20200709/src/5.1
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4995:17: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4995 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:201:28: note: declared here
  201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:4995:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 4995 |                 DSA_get0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5000:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5000 |                 DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/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,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5000:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5000 |                 DSA_get0_key(EVP_PKEY_get0_DSA(pkey), &i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5005:17: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5005 |                 DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/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,
      |                            ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5005:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5005 |                 DSA_get0_key(EVP_PKEY_get0_DSA(pkey), NULL, &i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5010:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5010 |                 DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:257:28: note: declared here
  257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5010:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5010 |                 DH_get0_pqg(EVP_PKEY_get0_DH(pkey), &i, NULL, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5015:17: warning: 'DH_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5015 |                 DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:257:28: note: declared here
  257 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p,
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5015:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5015 |                 DH_get0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, &i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
gcc -O2 -std=gnu99 -fPIC -g -Wall -Wextra  -Wno-missing-field-initializers  -Wno-override-init -Wno-unused -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -I/usr/include/lua-5.1 -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE  -DHAVE_CONFIG_H -DCOMPAT53_PREFIX=luaossl -c -o /builddir/build/BUILD/luaossl-rel-20200709/src/5.1/compat53.o /builddir/build/BUILD/luaossl-rel-20200709/src/../vendor/compat53/c-api/compat-5.3.c
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5020:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5020 |                 DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:260:28: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5020:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5020 |                 DH_get0_key(EVP_PKEY_get0_DH(pkey), &i, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5025:17: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5025 |                 DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:260:28: note: declared here
  260 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key,
      |                            ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5025:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5025 |                 DH_get0_key(EVP_PKEY_get0_DH(pkey), NULL, &i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5031:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5031 |                 ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)));
      |                 ^~~~~~~~~~~
/usr/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);
      |                                       ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5031:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5031 |                 ecg_dup_nil(L, EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey)));
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5038:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5038 |                 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:1034:39: note: declared here
 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5038:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5038 |                 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:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5038:17: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5038 |                 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:1062:39: note: declared here
 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5038:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5038 |                 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:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5039:25: warning: 'EC_POINT_point2bn' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5039 |                         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:770:31: note: declared here
  770 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *,
      |                               ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5039:25: warning: 'EC_KEY_get_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5039 |                         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:1074:47: note: declared here
 1074 | OSSL_DEPRECATEDIN_3_0 point_conversion_form_t EC_KEY_get_conv_form(const EC_KEY *key);
      |                                               ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5039:25: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5039 |                         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:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5047:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5047 |                 bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey)));
      |                 ^~~~~~~~~~
/usr/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);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5047:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5047 |                 bn_dup_nil(L, EC_KEY_get0_private_key(EVP_PKEY_get0_EC_KEY(pkey)));
      |                 ^~~~~~~~~~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'pk_setparam':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5085:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5085 |                 RSA_set0_key(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_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5085:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5085 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5085:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5085 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:215:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5090:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5090 |                 RSA_set0_key(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_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5090:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5090 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5090:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5090 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:215:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5095:17: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5095 |                 RSA_set0_key(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_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5095:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5095 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5095:30: warning: passing argument 1 of 'RSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5095 |                 RSA_set0_key(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:215:45: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5100:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5100 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:216:27: note: declared here
  216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5100:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5100 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5100:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5100 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), i, NULL);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:216:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                                            ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5105:17: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5105 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:216:27: note: declared here
  216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5105:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5105 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i);
      |                 ^~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5105:34: warning: passing argument 1 of 'RSA_set0_factors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5105 |                 RSA_set0_factors(EVP_PKEY_get0_RSA(pkey), NULL, i);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:216:49: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q);
      |                                            ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5110:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5110 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:27: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5110:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5110 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5110:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5110 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), i, NULL, NULL);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                                               ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5115:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5115 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:27: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5115:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5115 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5115:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5115 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, i, NULL);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                                               ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5120:17: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5120 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:27: note: declared here
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                           ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5120:17: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5120 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1355:22: note: declared here
 1355 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5120:37: warning: passing argument 1 of 'RSA_set0_crt_params' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5120 |                 RSA_set0_crt_params(EVP_PKEY_get0_RSA(pkey), NULL, NULL, i);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/rsa.h:217:52: note: expected 'RSA *' {aka 'struct rsa_st *'} but argument is of type 'const struct rsa_st *'
  217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r,
      |                                               ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5125:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5125 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/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);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5125:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5125 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5125:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5125 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), i, NULL, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5130:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5130 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~
/usr/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);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5130:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5130 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5130:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5130 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, i, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5135:17: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5135 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~
/usr/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);
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5135:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5135 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5135:30: warning: passing argument 1 of 'DSA_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5135 |                 DSA_set0_pqg(EVP_PKEY_get0_DSA(pkey), NULL, NULL, i);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5140:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5140 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:206:27: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5140:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5140 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5140:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5140 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), i, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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,
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5145:17: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5145 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/dsa.h:206:27: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5145:17: warning: 'EVP_PKEY_get0_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5145 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i);
      |                 ^~~~~~~~~~~~
/usr/include/openssl/evp.h:1364:22: note: declared here
 1364 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey);
      |                      ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5145:30: warning: passing argument 1 of 'DSA_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5145 |                 DSA_set0_key(EVP_PKEY_get0_DSA(pkey), NULL, i);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
/usr/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,
      |                                        ~~~~~^
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5150:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5150 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5150:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5150 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5150:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5150 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), i, NULL, NULL);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:259:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *'
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                                       ~~~~^~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5155:17: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5155 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5155:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5155 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5155:29: warning: passing argument 1 of 'DH_set0_pqg' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5155 |                 DH_set0_pqg(EVP_PKEY_get0_DH(pkey), NULL, NULL, i);
      |                             ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/dh.h:259:43: note: expected 'DH *' {aka 'struct dh_st *'} but argument is of type 'const struct dh_st *'
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                                       ~~~~^~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5160:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5160 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:262:27: note: declared here
  262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5160:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5160 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), i, NULL);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5160:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5160 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), i, 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_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                                       ~~~~^~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5165:17: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5165 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/dh.h:262:27: note: declared here
  262 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5165:17: warning: 'EVP_PKEY_get0_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5165 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), NULL, i);
      |                 ^~~~~~~~~~~
/usr/include/openssl/evp.h:1372:43: note: declared here
 1372 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey);
      |                                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5165:29: warning: passing argument 1 of 'DH_set0_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5165 |                 DH_set0_key(EVP_PKEY_get0_DH(pkey), 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_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
      |                                       ~~~~^~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5172:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5172 |                 if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group))
      |                 ^~
/usr/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);
      |                           ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5172:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5172 |                 if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group))
      |                 ^~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5172:39: warning: passing argument 1 of 'EC_KEY_set_group' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5172 |                 if (!EC_KEY_set_group(EVP_PKEY_get0_EC_KEY(pkey), group))
      |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                            ~~~~~~~~^~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5183:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5183 |                 if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))))
      |                 ^~
/usr/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);
      |                                       ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5183:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5183 |                 if (!(group = EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pkey))))
      |                 ^~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5186:17: warning: 'EC_POINT_bn2point' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5186 |                 if (!(pub_key = EC_POINT_bn2point(group, n, NULL, getctx(L))))
      |                 ^~
/usr/include/openssl/ec.h:774:33: note: declared here
  774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *,
      |                                 ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5190:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5190 |                 okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key);
      |                 ^~~~
/usr/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);
      |                           ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5190:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5190 |                 okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key);
      |                 ^~~~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5190:46: warning: passing argument 1 of 'EC_KEY_set_public_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5190 |                 okay = EC_KEY_set_public_key(EVP_PKEY_get0_EC_KEY(pkey), pub_key);
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                                 ~~~~~~~~^~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5201:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5201 |                 if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n))
      |                 ^~
/usr/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);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5201:17: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5201 |                 if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n))
      |                 ^~
/usr/include/openssl/evp.h:1381:25: note: declared here
 1381 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey);
      |                         ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5201:45: warning: passing argument 1 of 'EC_KEY_set_private_key' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 5201 |                 if (!EC_KEY_set_private_key(EVP_PKEY_get0_EC_KEY(pkey), n))
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/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);
      |                                                  ~~~~~~~~^~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'ecg_new':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5527:33: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5527 |                                 goterr |= !(*group = PEM_read_bio_ECPKParameters(bio, NULL, 0, ""));
      |                                 ^~~~~~
/usr/include/openssl/pem.h:461:1: note: declared here
  461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'ecg_toPEM':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5573:9: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5573 |         if (!PEM_write_bio_ECPKParameters(bio, group))
      |         ^~
/usr/include/openssl/pem.h:461:1: note: declared here
  461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'ecg_tostring':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5592:17: warning: 'PEM_write_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5592 |                 if (!PEM_write_bio_ECPKParameters(bio, group))
      |                 ^~
/usr/include/openssl/pem.h:461:1: note: declared here
  461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5601:17: warning: 'ECPKParameters_print' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5601 |                 if (!ECPKParameters_print(bio, group, indent))
      |                 ^~
/usr/include/openssl/ec.h:926:27: note: declared here
  926 | OSSL_DEPRECATEDIN_3_0 int ECPKParameters_print(BIO *bp, const EC_GROUP *x,
      |                           ^~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'ecg__gc':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:5622:17: warning: 'EC_GROUP_clear_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 5622 |                 EC_GROUP_clear_free(*ud);
      |                 ^~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:176:28: note: declared here
  176 | OSSL_DEPRECATEDIN_3_0 void EC_GROUP_clear_free(EC_GROUP *group);
      |                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'sx_setEphemeralKey':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:9607:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 9607 |                 if (!(tmp = EVP_PKEY_get0(key)))
      |                 ^~
/usr/include/openssl/evp.h:1339:7: note: declared here
 1339 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
      |       ^~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:9615:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 9615 |                 if (!(tmp = EVP_PKEY_get0(key)))
      |                 ^~
/usr/include/openssl/evp.h:1339:7: note: declared here
 1339 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
      |       ^~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:9623:17: warning: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 9623 |                 if (!(tmp = EVP_PKEY_get0(key)))
      |                 ^~
/usr/include/openssl/evp.h:1339:7: note: declared here
 1339 | void *EVP_PKEY_get0(const EVP_PKEY *pkey);
      |       ^~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'hmac_new':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11772:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11772 |         if (!(*ctx = HMAC_CTX_new()))
      |         ^~
In file included from /usr/include/openssl/ssl.h:37,
                 from /builddir/build/BUILD/luaossl-rel-20200709/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);
      |                                 ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11776:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11776 |         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,
      |                           ^~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'hmac_update_':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11802:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11802 |                 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,
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'hmac_final':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11825:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11825 |         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,
      |                           ^~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'hmac__gc':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:11836:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
11836 |         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);
      |                            ^~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'de5_string_to_key':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:12917:9: warning: 'DES_string_to_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
12917 |         DES_string_to_key(luaL_checkstring(L, 1), &key);
      |         ^~~~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/luaossl-rel-20200709/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);
      |                            ^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c: In function 'de5_set_odd_parity':
/builddir/build/BUILD/luaossl-rel-20200709/src/openssl.c:12932:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
12932 |         DES_set_odd_parity(&key);
      |         ^~~~~~~~~~~~~~~~~~
/usr/include/openssl/des.h:176:28: note: declared here
  176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key);
      |                            ^~~~~~~~~~~~~~~~~~
gcc -o /builddir/build/BUILD/luaossl-rel-20200709/src/5.1/openssl.so /builddir/build/BUILD/luaossl-rel-20200709/src/5.1/openssl.o /builddir/build/BUILD/luaossl-rel-20200709/src/5.1/compat53.o -shared  -L/usr/lib64 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1  -lssl -lcrypto -lpthread -ldl -lrt -lm
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1d971M
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64
++ dirname /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64
+ cd luaossl-rel-20200709
+ make DESTDIR=/builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64 prefix=/usr libdir=/usr/lib64 install5.4
enabling Lua 5.1
enabling Lua 5.4
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/lib64/lua/5.4
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/5.4/openssl.so /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/lib64/lua/5.4/_openssl.so
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.auxlib.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.auxlib.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/auxlib.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.bignum.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.bignum.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/bignum.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.kdf.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.kdf.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/kdf.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ocsp.basic.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/ocsp
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ocsp.basic.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/ocsp/basic.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ocsp.response.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/ocsp
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ocsp.response.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/ocsp/response.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pkey.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pkey.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/pkey.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pubkey.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pubkey.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/pubkey.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.name.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.name.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509/name.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.altname.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.altname.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509/altname.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.chain.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.chain.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509/chain.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.crl.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.crl.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509/crl.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.csr.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.csr.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509/csr.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.extension.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.extension.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509/extension.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.store.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.store.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509/store.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.verify_param.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.verify_param.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/x509/verify_param.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pkcs12.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pkcs12.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/pkcs12.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ssl.context.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/ssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ssl.context.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/ssl/context.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ssl.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ssl.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/ssl.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.digest.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.digest.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/digest.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.hmac.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.hmac.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/hmac.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.cipher.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.cipher.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/cipher.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.rand.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.rand.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/rand.lua
/usr/bin/luac -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.des.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.des.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.4/openssl/des.lua
+ install -d -m 0755 /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/doc/lua-luaossl
+ install -p -m 0644 doc/luaossl.pdf /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/doc/lua-luaossl/luaossl.pdf
+ make DESTDIR=/builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64 prefix=/usr libdir=/usr/lib64 install5.1
enabling Lua 5.1
enabling Lua 5.4
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/lib64/lua/5.1
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/5.1/openssl.so /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/lib64/lua/5.1/_openssl.so
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.auxlib.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.auxlib.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/auxlib.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.bignum.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.bignum.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/bignum.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.kdf.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.kdf.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/kdf.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ocsp.basic.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/ocsp
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ocsp.basic.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/ocsp/basic.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ocsp.response.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/ocsp
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ocsp.response.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/ocsp/response.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pkey.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pkey.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/pkey.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pubkey.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pubkey.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/pubkey.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.name.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.name.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509/name.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.altname.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.altname.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509/altname.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.chain.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.chain.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509/chain.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.crl.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.crl.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509/crl.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.csr.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.csr.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509/csr.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.extension.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.extension.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509/extension.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.store.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.store.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509/store.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.verify_param.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.x509.verify_param.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/x509/verify_param.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pkcs12.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.pkcs12.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/pkcs12.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ssl.context.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/ssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ssl.context.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/ssl/context.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ssl.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.ssl.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/ssl.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.digest.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.digest.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/digest.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.hmac.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.hmac.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/hmac.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.cipher.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.cipher.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/cipher.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.rand.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.rand.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/rand.lua
true -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.des.lua
mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl
cp -p /builddir/build/BUILD/luaossl-rel-20200709/src/openssl.des.lua /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/lua/5.1/openssl/des.lua
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 20200709-2.ocs23 --unique-debug-suffix -20200709-2.ocs23.aarch64 --unique-debug-src-base lua-luaossl-20200709-2.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/luaossl-rel-20200709
extracting debug info from /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/lib64/lua/5.4/_openssl.so
extracting debug info from /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/lib64/lua/5.1/_openssl.so
696 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: lua-luaossl-20200709-2.ocs23.aarch64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qdHKHI
+ umask 022
+ cd /builddir/build/BUILD
+ cd luaossl-rel-20200709
+ LICENSEDIR=/builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/licenses/lua-luaossl
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/licenses/lua-luaossl
+ cp -pr LICENSE /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/licenses/lua-luaossl
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: lua-luaossl = 20200709-2.ocs23 lua-luaossl(aarch-64) = 20200709-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.38)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH)
Processing files: lua5.1-luaossl-20200709-2.ocs23.aarch64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.m5WCIt
+ umask 022
+ cd /builddir/build/BUILD
+ cd luaossl-rel-20200709
+ LICENSEDIR=/builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/licenses/lua5.1-luaossl
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/licenses/lua5.1-luaossl
+ cp -pr LICENSE /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64/usr/share/licenses/lua5.1-luaossl
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: lua5.1-luaossl = 20200709-2.ocs23 lua5.1-luaossl(aarch-64) = 20200709-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.38)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH)
Processing files: lua-luaossl-doc-20200709-2.ocs23.noarch
Provides: lua-luaossl-doc = 20200709-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: lua-luaossl-debugsource-20200709-2.ocs23.aarch64
Provides: lua-luaossl-debugsource = 20200709-2.ocs23 lua-luaossl-debugsource(aarch-64) = 20200709-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: lua-luaossl-debuginfo-20200709-2.ocs23.aarch64
Provides: debuginfo(build-id) = f645c971f660c1eb917829ad58c8f931bc8dbdb8 lua-luaossl-debuginfo = 20200709-2.ocs23 lua-luaossl-debuginfo(aarch-64) = 20200709-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: lua-luaossl-debugsource(aarch-64) = 20200709-2.ocs23
Processing files: lua5.1-luaossl-debuginfo-20200709-2.ocs23.aarch64
Provides: debuginfo(build-id) = 7eaa52ba29dc9829d65eaa0d1d9790a5491fa753 lua5.1-luaossl-debuginfo = 20200709-2.ocs23 lua5.1-luaossl-debuginfo(aarch-64) = 20200709-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: lua-luaossl-debugsource(aarch-64) = 20200709-2.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-luaossl-20200709-2.ocs23.aarch64
Wrote: /builddir/build/RPMS/lua5.1-luaossl-20200709-2.ocs23.aarch64.rpm
Wrote: /builddir/build/RPMS/lua-luaossl-20200709-2.ocs23.aarch64.rpm
Wrote: /builddir/build/RPMS/lua-luaossl-debugsource-20200709-2.ocs23.aarch64.rpm
Wrote: /builddir/build/RPMS/lua-luaossl-doc-20200709-2.ocs23.noarch.rpm
Wrote: /builddir/build/RPMS/lua-luaossl-debuginfo-20200709-2.ocs23.aarch64.rpm
Wrote: /builddir/build/RPMS/lua5.1-luaossl-debuginfo-20200709-2.ocs23.aarch64.rpm
RPM build warnings:
    %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Child return code was: 0