Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 853866 Details for
Bug 895864
dev-lua/lua-openssl-0.8.2_p1 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 579.22 KB, created by
Agostino Sarubbo
on 2023-02-22 10:24:05 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2023-02-22 10:24:05 UTC
Size:
579.22 KB
patch
obsolete
> * Package: dev-lua/lua-openssl-0.8.2_p1:0 > * Repository: gentoo > * Maintainer: conikost@gentoo.org vpayno+gentoo@gmail.com,chutzpah@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux lua_targets_lua5-1 lua_targets_lua5-3 lua_targets_lua5-4 lua_targets_luajit test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/4a58063a7557c8f30ad90b0890e67e3974e3dbf7 (Wed Feb 22 09:02:06 UTC 2023) >@@@@@ END @@@@@ > > > >################## ># emerge --info: # >################## >Portage 3.0.44 (python 3.11.2-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.36-r7, 5.15.85-gentoo-dist x86_64) >================================================================= >System uname: Linux-5.15.85-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.36 >KiB Mem: 263532996 total, 77089992 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Wed, 22 Feb 2023 09:02:05 +0000 >sh bash 5.2_p15-r2 >ld GNU ld (Gentoo 2.40 p2) 2.40.0 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.2_p15-r2::gentoo >dev-lang/perl: 5.36.0-r2::gentoo >dev-lang/python: 3.9.16_p1::gentoo, 3.10.10_p1::gentoo, 3.11.2_p1::gentoo >dev-util/cmake: 3.25.2::gentoo >dev-util/meson: 1.0.0::gentoo >sys-apps/baselayout: 2.13-r1::gentoo >sys-apps/openrc: 0.46::gentoo >sys-apps/sandbox: 2.30-r1::gentoo >sys-devel/autoconf: 2.71-r5::gentoo >sys-devel/automake: 1.16.5::gentoo >sys-devel/binutils: 2.40-r1::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/gcc: 13.0.1_pre20230219::gentoo >sys-devel/gcc-config: 2.10::gentoo >sys-devel/libtool: 2.4.7-r1::gentoo >sys-devel/make: 4.4::gentoo >sys-kernel/linux-headers: 6.2::gentoo (virtual/os-headers) >sys-libs/glibc: 2.36-r7::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: True > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-jobs: 1 > sync-rsync-verify-metamanifest: yes > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* MIT PHP-3 openssl" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >DISTDIR="/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/distdir" >EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" >FCFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" >LANG="en_US.utf8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >LEX="flex" >MAKEOPTS="-j16" >PKGDIR="/root/tbci/binpkg" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl amd64 bzip2 cli crypt debug dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test test-rust unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" LUA_TARGETS="lua5-1 lua5-3 lua5-4 luajit" USERLAND="GNU" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > > >############################## ># emerge history (qlop -mv): # >############################## >2023-02-22T11:01:18 >>> dev-lang/luajit-2.1.0_beta3_p20220613 >2023-02-22T11:01:19 >>> app-eselect/eselect-lua-4-r1 >2023-02-22T11:01:21 >>> dev-lang/lua-5.3.6-r102 >2023-02-22T11:01:22 >>> dev-lang/lua-5.4.4-r103 >2023-02-22T11:01:24 >>> dev-lang/lua-5.1.5-r200 >2023-02-22T11:01:27 >>> dev-lua/lua-openssl-0.8.2_p1 > > > > >####################################### ># installed packages (qlist -ICvUSS): # >####################################### >acct-group/audio-0-r1:0 >acct-group/cdrom-0-r1:0 >acct-group/dialout-0-r1:0 >acct-group/disk-0-r1:0 >acct-group/floppy-0:0 >acct-group/input-0-r1:0 >acct-group/kmem-0-r1:0 >acct-group/kvm-0-r1:0 >acct-group/lp-0-r1:0 >acct-group/man-0-r1:0 >acct-group/messagebus-0-r1:0 >acct-group/polkitd-0-r1:0 >acct-group/portage-0:0 >acct-group/render-0-r1:0 >acct-group/root-0:0 >acct-group/sgx-0:0 >acct-group/sshd-0-r1:0 >acct-group/tape-0-r1:0 >acct-group/tty-0-r1:0 >acct-group/usb-0-r1:0 >acct-group/video-0-r1:0 >acct-user/man-1-r1:0 >acct-user/messagebus-0-r1:0 >acct-user/polkitd-0-r1:0 >acct-user/portage-0:0 >acct-user/sshd-0-r1:0 >app-admin/eselect-1.4.20:0 -doc -emacs -vim-syntax >app-admin/perl-cleaner-2.30-r1:0 -pkgcore >app-alternatives/awk-4:0 -busybox gawk -mawk -nawk split-usr >app-alternatives/bc-0:0 -gh gnu >app-alternatives/bzip2-1:0 -lbzip2 -pbzip2 reference split-usr >app-alternatives/gzip-0:0 -pigz reference split-usr >app-alternatives/lex-0-r1:0 flex -reflex >app-alternatives/sh-0:0 bash -busybox -dash -ksh -lksh -mksh >app-alternatives/tar-0:0 gnu -libarchive split-usr >app-alternatives/yacc-1-r2:0 bison -byacc -reference >app-arch/bzip2-1.0.8-r4:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static -static-libs -verify-sig >app-arch/gzip-1.12-r4:0 -pic -static -verify-sig >app-arch/libarchive-3.6.1-r1:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs -verify-sig xattr -zstd >app-arch/tar-1.34-r2:0 acl -minimal nls -selinux -verify-sig xattr >app-arch/unzip-6.0_p27-r1:0 bzip2 -natspec unicode >app-arch/xz-utils-5.4.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 extra-filters nls split-usr -static-libs -verify-sig >app-arch/zstd-1.5.4-r2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 lzma split-usr -static-libs -test zlib >app-crypt/gnupg-2.4.0:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server >app-crypt/gpgme-1.18.0-r2:1/11.6.15.1 -common-lisp cxx -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -qt5 -static-libs -test -verify-sig >app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs >app-crypt/pinentry-1.2.1-r1:0 -caps -efl -emacs -gnome-keyring -gtk ncurses -qt5 -verify-sig >app-crypt/rhash-1.4.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls ssl -static-libs >app-editors/nano-7.2:0 -debug -justify -magic -minimal ncurses nls spell -static unicode >app-eselect/eselect-fontconfig-20220403:0 >app-eselect/eselect-iptables-20220320:0 >app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 >app-eselect/eselect-lua-4-r1:0 >app-eselect/eselect-pinentry-0.7.2-r1:0 >app-i18n/man-pages-ja-20180315-r1:0 >app-i18n/man-pages-l10n-4.17.0:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi >app-i18n/man-pages-zh_CN-1.6.3.6:0 >app-misc/ca-certificates-20211016.3.88.1:0 -cacert >app-misc/editor-wrapper-4-r1:0 >app-misc/mime-types-2.1.53:0 -nginx >app-misc/pax-utils-1.3.7:0 -caps -man -python python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -seccomp -test >app-misc/tmux-3.3a-r1:0 debug -selinux -systemd -utempter -vim-syntax >app-portage/eix-0.36.6:0 debug -doc nls -sqlite >app-portage/elt-patches-20221210:0 >app-portage/gemato-19.0:0 gpg -pretty-log python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test -tools >app-portage/gentoolkit-0.6.1-r3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >app-portage/portage-utils-0.94.4:0 openmp qmanifest qtegrity -static >app-shells/bash-5.2_p15-r2:0 -afs -bashlogger -examples -mem-scramble net nls -pgo -plugins readline -verify-sig >app-shells/bash-completion-2.11:0 eselect -test >app-shells/gentoo-bashcomp-20190211-r1:0 >app-shells/push-3.4:0 >app-shells/quoter-4.2:0 >app-text/ansifilter-2.18:0 -qt5 >app-text/build-docbook-catalog-2.3-r1:0 >app-text/docbook-xml-dtd-4.5-r2:4.5 >app-text/docbook-xml-dtd-4.4-r3:4.4 >app-text/docbook-xml-dtd-4.2-r3:4.2 >app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 >app-text/docbook-xsl-ns-stylesheets-1.79.1:0 -ruby >app-text/docbook-xsl-stylesheets-1.79.1-r3:0 -ruby >app-text/manpager-1:0 >app-text/opensp-1.5.2-r10:0 -doc nls -static-libs -test >app-text/po4a-0.69:0 -test -test >app-text/sgml-common-0.6.3-r7:0 >app-text/xmlto-0.0.28-r10:0 -latex text >dev-db/sqlite-3.40.1:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools >dev-lang/duktape-2.7.0-r3:0/2.7.0 >dev-lang/lua-5.4.4-r103:5.4 deprecated readline >dev-lang/lua-5.3.6-r102:5.3 deprecated readline >dev-lang/lua-5.1.5-r200:5.1 deprecated readline >dev-lang/luajit-2.1.0_beta3_p20220613:2/2.1.0_beta3_p20220613 -lua52compat -static-libs >dev-lang/perl-5.36.0-r2:0/5.36 -berkdb debug -doc gdbm ithreads -minimal -quadmath >dev-lang/python-3.11.2_p1:3.11 -bluetooth -build ensurepip -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.10.10_p1:3.10 -bluetooth -build ensurepip -examples gdbm -hardened -libedit -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml >dev-lang/python-3.9.16_p1:3.9 -bluetooth -build ensurepip -examples gdbm -hardened -lto ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig xml >dev-lang/python-exec-2.4.10:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-lang/python-exec-conf-2.4.6:2 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-lang/tcl-8.6.13-r1:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug threads >dev-libs/boehm-gc-8.2.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx large -static-libs threads >dev-libs/elfutils-0.188:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma nls -static-libs -test utils -valgrind -verify-sig -zstd >dev-libs/expat-2.5.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples -static-libs unicode >dev-libs/glib-2.74.5:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus debug elf -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr >dev-libs/gmp-6.2.1-r5:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpudetection cxx -doc -pic -static-libs >dev-libs/gobject-introspection-1.74.0:0 -doctool -gtk-doc python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -test >dev-libs/gobject-introspection-common-1.74.0:0 >dev-libs/isl-0.24-r2:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/jsoncpp-1.9.5:0/25 -doc -test >dev-libs/libassuan-2.5.5:0 >dev-libs/libatomic_ops-7.6.14:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >dev-libs/libevent-2.1.12-r1:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime debug -malloc-replacement ssl -static-libs -test -verbose-debug >dev-libs/libffi-3.4.4:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -exec-static-trampoline -pax-kernel -static-libs -test >dev-libs/libgcrypt-1.10.1-r3:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc getentropy -static-libs -verify-sig >dev-libs/libgpg-error-1.46-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs -test -verify-sig >dev-libs/libksba-1.6.3:0 -static-libs -verify-sig >dev-libs/libltdl-2.4.7-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/libpcre2-10.42-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 jit -libedit pcre16 pcre32 readline split-usr -static-libs unicode -verify-sig zlib >dev-libs/libpipeline-1.5.7:0 -test >dev-libs/libtasn1-4.19.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -valgrind -verify-sig >dev-libs/libunistring-1.1-r1:0/5 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs >dev-libs/libuv-1.44.2-r1:0/1 >dev-libs/libxml2-2.10.3-r1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples ftp -icu -lzma python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 readline -static-libs -test >dev-libs/libxslt-1.1.37-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt debug -examples -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -static-libs >dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs >dev-libs/mpc-1.3.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/mpfr-4.2.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >dev-libs/nettle-3.8.1:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec cpu_flags_x86_aes cpu_flags_x86_pclmul -cpu_flags_x86_sha -doc gmp -static-libs -verify-sig >dev-libs/npth-1.6-r1:0 -test >dev-libs/openssl-3.0.8:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -verify-sig -weak-ssl-ciphers >dev-libs/popt-1.19:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs >dev-lua/lua-openssl-0.8.2_p1:0 lua_targets_lua5-1 lua_targets_lua5-3 lua_targets_lua5-4 lua_targets_luajit -test >dev-perl/Clone-0.460.0:0 -test >dev-perl/Devel-CheckLib-1.160.0:0 -test >dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test >dev-perl/Encode-HanExtra-0.230.0-r3:0 >dev-perl/Encode-Locale-1.50.0-r1:0 -test >dev-perl/ExtUtils-CChecker-0.110.0:0 -test >dev-perl/File-BaseDir-0.90.0:0 -test >dev-perl/File-DesktopEntry-0.220.0-r1:0 -test >dev-perl/File-Listing-6.150.0:0 -test -test >dev-perl/File-MimeInfo-0.300.0:0 -test >dev-perl/HTML-Parser-3.760.0:0 -test >dev-perl/HTML-Tagset-3.200.0-r2:0 >dev-perl/HTTP-Cookies-6.100.0:0 -test >dev-perl/HTTP-Date-6.50.0:0 >dev-perl/HTTP-Message-6.440.0:0 -test -test >dev-perl/HTTP-Negotiate-6.10.0-r2:0 -test >dev-perl/IO-HTML-1.4.0:0 -test >dev-perl/IO-Socket-INET6-2.720.0-r2:0 -test >dev-perl/IO-Socket-SSL-2.81.0:0 -examples -idn -test >dev-perl/IPC-System-Simple-1.300.0:0 -test >dev-perl/libwww-perl-6.600.0-r1:0 ssl -test >dev-perl/Locale-gettext-1.70.0-r1:0 -test >dev-perl/LWP-MediaTypes-6.40.0:0 -test >dev-perl/LWP-Protocol-https-6.100.0:0 -test >dev-perl/MIME-Charset-1.12.2-r1:0 l10n_ja l10n_zh -test >dev-perl/Module-Build-0.423.100:0 -test >dev-perl/Mozilla-CA-20999999-r1:0 -test >dev-perl/Net-HTTP-6.210.0:0 -minimal -test >dev-perl/Net-SSLeay-1.920.0:0 -examples -examples -minimal -test >dev-perl/Pod-Parser-1.630.0-r1:0 -test >dev-perl/SGMLSpm-1.1-r2:0 -test >dev-perl/Socket6-0.290.0:0 -test >dev-perl/Sub-Name-0.260.0:0 -suggested -test >dev-perl/Syntax-Keyword-Try-0.270.0:0 -test >dev-perl/TermReadKey-2.380.0-r1:0 -examples -test >dev-perl/Text-CharWidth-0.40.0-r2:0 -test >dev-perl/Text-WrapI18N-0.60.0-r2:0 -test >dev-perl/TimeDate-2.330.0-r1:0 -test >dev-perl/Try-Tiny-0.310.0:0 -minimal -test >dev-perl/Unicode-LineBreak-2019.1.0:0 >dev-perl/URI-5.110.0:0 -test >dev-perl/WWW-RobotRules-6.20.0-r2:0 -test >dev-perl/XML-Parser-2.460.0-r2:0 >dev-perl/XS-Parse-Keyword-0.250.0:0 -test >dev-perl/YAML-Tiny-1.730.0-r1:0 -minimal -test >dev-python/autocommand-2.2.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/certifi-3021.3.16-r3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/charset_normalizer-3.0.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/cython-0.29.33:0 -doc -emacs python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/ensurepip-pip-23.0.1:0 >dev-python/ensurepip-setuptools-67.4.0:0 >dev-python/ensurepip-wheels-100:0 >dev-python/flit_core-3.8.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/gentoo-common-1:0 >dev-python/gpep517-13:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/idna-3.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/importlib_metadata-6.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/inflect-6.0.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/installer-0.6.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-context-4.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-functools-3.6.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jaraco-text-3.11.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/jinja-3.1.2:0 -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/markupsafe-2.1.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/more-itertools-9.0.0:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/nspektr-0.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/ordered-set-4.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/packaging-23.0-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/platformdirs-3.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pydantic-1.10.5:0 native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pyparsing-3.0.9:0 -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/pypy3-7.3.11-r1:0/pypy39-pp73-336 ensurepip gdbm jit ncurses sqlite -tk >dev-python/pypy3-exe-bin-7.3.11:3.9-7.3.11 >dev-python/PySocks-1.7.1-r2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-python/requests-2.28.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -socks5 -test test-rust >dev-python/setuptools-67.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/setuptools_scm-7.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/six-1.16.0-r1:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/tomli-2.0.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/typing-extensions-4.5.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/urllib3-1.26.14:0 -brotli python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/wheel-0.38.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-python/zipp-3.14.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-util/checkbashisms-2.22.2:0 >dev-util/cmake-3.25.2:0 -doc -emacs ncurses -qt5 -test -test -verify-sig >dev-util/desktop-file-utils-0.26-r2:0 -emacs >dev-util/glib-utils-2.74.5:0 python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 >dev-util/gperf-3.1-r1:0 >dev-util/gtk-doc-am-1.33.2:0 >dev-util/intltool-0.51.0-r3:0 >dev-util/meson-1.0.0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -test >dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >dev-util/ninja-1.11.1-r2:0 -doc -emacs -test >dev-util/pkgconf-1.8.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test >dev-util/re2c-2.2:0 debug -test >dev-vcs/git-2.39.2:0 blksha1 -cgi curl -cvs -doc -gnome-keyring gpg -highlight iconv -mediawiki -mediawiki-experimental nls pcre -perforce -perl python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 safe-directory -selinux -subversion -test -tk webdav -xinetd >media-fonts/liberation-fonts-2.1.5:0 -X -X -fontforge >media-gfx/graphite2-1.3.14_p20210810-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test >media-libs/fontconfig-2.14.2:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc nls -test >media-libs/freetype-2.13.0:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting debug -doc -fontforge harfbuzz -infinality png -static-libs -svg -utils >media-libs/harfbuzz-6.0.0:0/6.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo debug -doc -experimental glib graphite -icu introspection -test truetype >media-libs/libpng-1.6.39:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs >net-dns/c-ares-1.19.0:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig >net-dns/libidn2-2.3.4:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs -verify-sig >net-firewall/iptables-1.8.9:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs >net-libs/gnutls-3.8.0:0/30.30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -brotli cxx -dane -doc -examples idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -valgrind -verify-sig zlib -zstd >net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig >net-libs/libnsl-2.0.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >net-libs/libtirpc-1.3.3:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -kerberos split-usr -static-libs >net-libs/nghttp2-1.51.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx debug -hpack-tools -jemalloc -static-libs -test -utils -xml >net-misc/curl-7.88.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl -curl_ssl_rustls ftp -gnutls -gopher -hsts http2 -idn imap -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -rtmp -rustls -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -verify-sig -websockets -zstd >net-misc/dhcpcd-9.4.1:0 debug embedded ipv6 -privsep udev >net-misc/iputils-20221126-r1:0 arping -caps -clockdiff -doc filecaps -idn nls -test -tracepath >net-misc/netifrc-0.7.3-r1:0 dhcp >net-misc/openssh-9.2_p1-r2:0 -X -X509 -abi_mips_n32 -audit -debug -hpn -kerberos -ldns -libedit -livecd pam -pie -sctp -security-key -selinux ssl -static -test -verify-sig -xmss >net-misc/rsync-3.2.7-r2:0 acl -examples iconv -lz4 python_single_target_python3_10 -python_single_target_python3_11 -python_single_target_python3_9 -rrsync ssl -stunnel -system-zlib -verify-sig xattr -xxhash -zstd >net-misc/wget-1.21.3-r1:0 -cookie-check debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib >perl-core/Compress-Raw-Zlib-2.202.0:0 >perl-core/File-Temp-0.231.100:0 >sec-keys/openpgp-keys-gentoo-release-20220101:0 -test >sys-apps/acl-2.3.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls split-usr -static-libs >sys-apps/attr-2.5.1-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls split-usr -static-libs >sys-apps/baselayout-2.13-r1:0 -build split-usr >sys-apps/coreutils-9.1-r2:0 acl -caps -gmp -hostname -kill -multicall nls openssl -selinux split-usr -static -test -vanilla -verify-sig xattr >sys-apps/dbus-1.15.4:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc elogind -selinux -static-libs -systemd -test -test >sys-apps/debianutils-5.7:0 installkernel -static >sys-apps/diffutils-3.9-r1:0 nls -static -verify-sig >sys-apps/file-5.44-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzip -lzma -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -seccomp -static-libs -verify-sig zlib -zstd >sys-apps/findutils-4.9.0-r2:0 nls -selinux -static -test -verify-sig >sys-apps/gawk-5.2.1:0 -mpfr nls -pma readline -verify-sig >sys-apps/gentoo-functions-0.19:0 >sys-apps/grep-3.8-r1:0 egrep-fgrep nls pcre -static -verify-sig >sys-apps/groff-1.22.4:0 -X -examples -uchardet >sys-apps/help2man-1.49.3:0 nls >sys-apps/install-xattr-0.8-r1:0 >sys-apps/iproute2-6.1.0-r1:0 -atm -berkdb -bpf -caps -elf iptables -libbsd -minimal -nfs -selinux split-usr >sys-apps/kbd-2.5.1:0 nls pam -test >sys-apps/kmod-30-r1:0 debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 -static-libs tools zlib zstd >sys-apps/less-608-r2:0 pcre unicode >sys-apps/man-db-2.11.2:0 manpager nls seccomp -selinux -static-libs zlib >sys-apps/man-pages-6.03:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_ja l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi l10n_zh-CN >sys-apps/miscfiles-1.5-r4:0 -minimal >sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static >sys-apps/openrc-0.46:0 -audit -bash debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode >sys-apps/portage-3.0.44:0 -apidoc -build -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 rsync-verify -selinux -test xattr >sys-apps/sandbox-2.30-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 nnp >sys-apps/sed-4.9:0 acl nls -selinux -static -verify-sig >sys-apps/shadow-4.13-r2:0/4 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr -su -verify-sig xattr >sys-apps/systemd-utils-252.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -boot kmod -selinux split-usr -split-usr -sysusers -test tmpfiles udev >sys-apps/sysvinit-3.06-r1:0 -ibm nls -selinux -static -verify-sig >sys-apps/texinfo-7.0.2:0 nls standalone -static >sys-apps/util-linux-2.38.1-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 readline -rtas -selinux -slang split-usr -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig >sys-apps/which-2.21:0 >sys-auth/elogind-246.10-r2:0 acl -audit cgroup-hybrid debug -doc pam policykit -selinux -test >sys-auth/pambase-20220214:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd -yescrypt >sys-auth/passwdqc-2.0.2-r1:0 >sys-auth/polkit-122:0 daemon duktape -examples -gtk introspection -kde pam -selinux -systemd -test >sys-devel/autoconf-2.71-r5:2.71 -emacs >sys-devel/autoconf-archive-2023.02.20:0 >sys-devel/autoconf-wrapper-20221207-r1:0 >sys-devel/automake-1.16.5:1.16 -test >sys-devel/automake-wrapper-20221207:0 >sys-devel/bc-1.07.1-r6:0 -libedit readline -static >sys-devel/binutils-2.40-r1:2.40 -cet -doc -gold -gprofng -multitarget nls -pgo plugins -static-libs -test -vanilla -zstd >sys-devel/binutils-config-5.5:0 native-symlinks >sys-devel/bison-3.8.2-r2:0 -examples nls -static -test -verify-sig >sys-devel/flex-2.6.4-r6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test >sys-devel/gcc-13.0.1_pre20230219:13 -ada -cet -custom-cflags cxx -d -debug -default-stack-clash-protection -default-znow -doc -fixed-point fortran -go graphite -hardened -ieee-long-double -jit -libssp lto multilib nls nptl -objc -objc++ -objc-gc openmp -pch -pgo pie -rust sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd >sys-devel/gcc-config-2.10:0 cc-wrappers native-symlinks >sys-devel/gettext-0.21.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs -verify-sig >sys-devel/gnuconfig-20221007:0 >sys-devel/libtool-2.4.7-r1:2 -vanilla >sys-devel/m4-1.4.19-r1:0 -examples nls -verify-sig >sys-devel/make-4.4:0 -guile nls -static -verify-sig >sys-devel/patch-2.7.6-r5:0 -static -test -verify-sig xattr >sys-fs/e2fsprogs-1.47.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cron -fuse nls split-usr -static-libs -test tools >sys-fs/udev-init-scripts-35:0 >sys-kernel/installkernel-gentoo-6:0 -grub >sys-kernel/linux-headers-6.2:0 -headers-only >sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs -test -verify-sig >sys-libs/glibc-2.36-r7:2.2 -audit -caps -cet -compile-locales -crypt -custom-cflags -doc -gd -hash-sysv-compat -headers-only multiarch multilib -multilib-bootstrap -nscd -perl -profile -selinux ssp stack-realign static-libs -suid -systemd -systemtap -test -vanilla >sys-libs/libcap-2.67:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam split-usr -static-libs -tools >sys-libs/libseccomp-2.5.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -experimental-loong -python python_targets_python3_10 python_targets_python3_9 -static-libs -test >sys-libs/libxcrypt-4.4.33:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compat -headers-only split-usr -static-libs system -test >sys-libs/ncurses-6.4:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx debug -doc -gpm -minimal -profile split-usr -split-usr stack-realign -static-libs -test tinfo -trace -verify-sig >sys-libs/pam-1.5.2-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug filecaps -nis -selinux split-usr >sys-libs/readline-8.2_p1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils -verify-sig >sys-libs/timezone-data-2022g:0 -leaps-timezone nls -zic-slim >sys-libs/zlib-1.2.13-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip split-usr -static-libs -verify-sig >sys-process/procps-3.3.17-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux split-usr -static-libs -systemd -test unicode >sys-process/psmisc-23.6:0 -X -apparmor nls -selinux -test >virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/dev-manager-0-r2:0 >virtual/editor-0-r4:0 >virtual/libc-1-r1:0 >virtual/libcrypt-2-r1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/libelf-3-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libudev-232-r7:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -systemd >virtual/man-0-r4:0 >virtual/os-headers-0-r2:0 >virtual/package-manager-1:0 >virtual/pager-0-r1:0 >virtual/perl-Carp-1.520.0-r2:0 >virtual/perl-Compress-Raw-Bzip2-2.103.0-r3:0 >virtual/perl-Compress-Raw-Zlib-2.202.0:0 >virtual/perl-CPAN-2.330.0:0 >virtual/perl-CPAN-Meta-2.150.10-r6:0 >virtual/perl-CPAN-Meta-Requirements-2.140.0-r8:0 >virtual/perl-CPAN-Meta-YAML-0.18.0-r8:0 >virtual/perl-Data-Dumper-2.184.0:0 >virtual/perl-Digest-MD5-2.580.0-r1:0 >virtual/perl-Encode-3.170.0:0 >virtual/perl-Exporter-5.770.0:0 >virtual/perl-ExtUtils-CBuilder-0.280.236-r1:0 >virtual/perl-ExtUtils-Install-2.200.0-r1:0 >virtual/perl-ExtUtils-MakeMaker-7.640.0:0 >virtual/perl-ExtUtils-Manifest-1.730.0-r1:0 >virtual/perl-ExtUtils-ParseXS-3.450.0:0 >virtual/perl-File-Path-2.180.0-r1:0 >virtual/perl-File-Spec-3.840.0:0 >virtual/perl-File-Temp-0.231.100:0 >virtual/perl-Getopt-Long-2.520.0-r1:0 >virtual/perl-IO-1.500.0:0 >virtual/perl-IO-Compress-2.106.0:0 >virtual/perl-IO-Socket-IP-0.410.0-r1:0 >virtual/perl-JSON-PP-4.70.0:0 >virtual/perl-libnet-3.140.0:0 ssl >virtual/perl-MIME-Base64-3.160.0-r1:0 >virtual/perl-Module-Metadata-1.0.37-r2:0 >virtual/perl-parent-0.238.0-r2:0 >virtual/perl-Parse-CPAN-Meta-2.150.10-r6:0 >virtual/perl-Perl-OSType-1.10.0-r6:0 >virtual/perl-podlators-4.140.0-r3:0 >virtual/perl-Scalar-List-Utils-1.620.0:0 >virtual/perl-Test-Harness-3.440.0:0 >virtual/perl-Text-ParseWords-3.310.0:0 >virtual/perl-Time-Local-1.300.0-r1:0 >virtual/perl-version-0.992.900:0 >virtual/perl-XSLoader-0.310.0:0 >virtual/pkgconfig-2-r1:0 >virtual/service-manager-1-r1:0 >virtual/ssh-0-r1:0 -minimal >virtual/tmpfiles-0-r3:0 >virtual/ttf-fonts-1-r2:0 >virtual/udev-217-r5:0 >virtual/w3m-1:0 >www-client/pybugz-0.13-r2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >www-client/w3m-0.5.3_p20230121:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface >x11-apps/xprop-1.2.6:0 >x11-apps/xset-1.2.5:0 >x11-base/xcb-proto-1.15.2:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_9 >x11-base/xorg-proto-2022.2:0 -test >x11-libs/cairo-1.17.6-r1:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug glib -gtk-doc -test >x11-libs/libICE-1.1.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >x11-libs/libSM-1.2.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc uuid >x11-libs/libX11-1.8.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/libXau-1.0.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libxcb-1.15-r1:0/1.12 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -doc -selinux -test xkb >x11-libs/libXdmcp-1.1.4-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXext-1.3.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXmu-1.1.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXt-1.2.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/pixman-0.42.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs -test >x11-libs/xtrans-1.4.0:0 -doc >x11-misc/compose-tables-1.8.4:0 >x11-misc/shared-mime-info-2.2:0 -test >x11-misc/xdg-utils-1.1.3_p20210805-r1:0 -dbus -doc -gnome > > >####################### ># build.log # >####################### > >>>> Unpacking source... >>>> Unpacking lua-openssl-0.8.2_p1.tar.gz to /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work >>>> Unpacking lua-auxiliar-8d09895473b73e4fb72b7573615f69c36e1860a2.tar.gz to /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work >>>> Unpacking lua-compat-5.3-0.10.tar.gz to /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work >>>> Source unpacked in /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work >>>> Preparing source in /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 ... > * Will copy sources from /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 > * luajit: copying to /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-luajit > * lua5-1: copying to /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-lua5-1 > * lua5-3: copying to /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-lua5-3 > * lua5-4: copying to /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-lua5-4 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 ... > * luajit: running lua_src_compile >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-luajit /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 >make -j16 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc LUA= 'LUA_CFLAGS=-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 ' 'LUA_LIBS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' LUA_VERSION=2.1 TARGET_SYS=x86_64-pc-linux-gnu >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/asn1.o src/asn1.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o deps/auxiliar/auxiliar.o deps/auxiliar/auxiliar.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/bio.o src/bio.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/cipher.o src/cipher.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/cms.o src/cms.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/compat.o src/compat.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/crl.o src/crl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/csr.o src/csr.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/dh.o src/dh.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/digest.o src/digest.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/dsa.o src/dsa.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ec.o src/ec.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/engine.o src/engine.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/hmac.o src/hmac.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/lbn.o src/lbn.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/lhash.o src/lhash.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/misc.o src/misc.c >src/cms.c: In function âluaopen_cmsâ: >src/cms.c:864:3: warning: âERR_load_CMS_stringsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 864 | ERR_load_CMS_strings(); > | ^~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/cryptoerr.h:17, > from /usr/include/openssl/crypto.h:38, > from /usr/include/openssl/bio.h:30, > from /usr/include/openssl/evp.h:30, > from src/openssl.h:19, > from src/cms.c:30: >/usr/include/openssl/cryptoerr_legacy.h:35:27: note: declared here > 35 | OSSL_DEPRECATEDIN_3_0 int ERR_load_CMS_strings(void); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ocsp.o src/ocsp.c >src/dh.c: In function âopenssl_dh_freeâ: >src/dh.c:15:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | DH_free(dh); > | ^~~~~~~ >In file included from /usr/include/openssl/dsa.h:51, > from /usr/include/openssl/x509.h:37, > from src/openssl.h:20, > from src/dh.c:7: >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dh.c: In function âopenssl_dh_parseâ: >src/dh.c:25:3: warning: âDH_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 25 | lua_pushinteger(L, DH_size(dh)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:203:27: note: declared here > 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); > | ^~~~~~~ >src/dh.c:28:3: warning: âDH_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 28 | lua_pushinteger(L, DH_bits(dh)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:202:27: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 int DH_bits(const DH *dh); > | ^~~~~~~ >src/dh.c:31:3: warning: âDH_get0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 31 | DH_get0_pqg(dh, &p, &q, &g); > | ^~~~~~~~~~~ >/usr/include/openssl/dh.h:253:28: note: declared here > 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, > | ^~~~~~~~~~~ >src/dh.c:32:3: warning: âDH_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 32 | DH_get0_key(dh, &pub, &pri); > | ^~~~~~~~~~~ >/usr/include/openssl/dh.h:256:28: note: declared here > 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, > | ^~~~~~~~~~~ >src/dh.c: In function âopenssl_dh_checkâ: >src/dh.c:52:5: warning: âDH_check_pub_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 52 | ret = DH_check_pub_key(dh, pub, &codes); > | ^~~ >/usr/include/openssl/dh.h:221:27: note: declared here > 221 | OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, > | ^~~~~~~~~~~~~~~~ >src/dh.c:54:5: warning: âDH_checkâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 54 | ret = DH_check(dh, &codes); > | ^~~ >/usr/include/openssl/dh.h:220:27: note: declared here > 220 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); > | ^~~~~~~~ >src/dh.c: In function âopenssl_dh_generate_parametersâ: >src/dh.c:68:3: warning: âDH_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | DH *dh = eng ? DH_new_method(eng) : DH_new(); > | ^~ >/usr/include/openssl/dh.h:197:27: note: declared here > 197 | OSSL_DEPRECATEDIN_3_0 DH *DH_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~ >src/dh.c:68:3: warning: âDH_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | DH *dh = eng ? DH_new_method(eng) : DH_new(); > | ^~ >/usr/include/openssl/dh.h:199:27: note: declared here > 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); > | ^~~~~~ >src/dh.c:69:3: warning: âDH_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 69 | ret = DH_generate_parameters_ex(dh, bits, generator, NULL); > | ^~~ >/usr/include/openssl/dh.h:212:27: note: declared here > 212 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/dh.c:76:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 76 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dh.c: In function âopenssl_dh_generate_keyâ: >src/dh.c:83:3: warning: âDHparams_dupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 83 | DH *dh = DHparams_dup(dhparamater); > | ^~ >In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from src/openssl.h:19: >/usr/include/openssl/dh.h:190:1: note: declared here > 190 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/dh.c:85:3: warning: âDH_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 85 | int ret = DH_generate_key(dh); > | ^~~ >/usr/include/openssl/dh.h:223:27: note: declared here > 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); > | ^~~~~~~~~~~~~~~ >src/dh.c:91:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 91 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dsa.c: In function âopenssl_dsa_freeâ: >src/dsa.c:15:3: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | DSA_free(dsa); > | ^~~~~~~~ >In file included from /usr/include/openssl/x509.h:37, > from src/openssl.h:20, > from src/dsa.c:7: >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/dsa.c: In function âopenssl_dsa_parseâ: >src/dsa.c:25:3: warning: âDSA_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 25 | lua_pushinteger(L, DSA_bits(dsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dsa.h:131:27: note: declared here > 131 | OSSL_DEPRECATEDIN_3_0 int DSA_bits(const DSA *d); > | ^~~~~~~~ >src/dsa.c:28:3: warning: âDSA_get0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 28 | DSA_get0_pqg(dsa, &p, &q, &g); > | ^~~~~~~~~~~~ >/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, > | ^~~~~~~~~~~~ >src/dsa.c:29:3: warning: âDSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 29 | DSA_get0_key(dsa, &pub, &pri); > | ^~~~~~~~~~~~ >/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, > | ^~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_set_engineâ: >src/dsa.c:44:3: warning: âENGINE_get_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 44 | const DSA_METHOD *m = ENGINE_get_DSA(e); > | ^~~~~ >In file included from src/dsa.c:10: >/usr/include/openssl/engine.h:555:41: note: declared here > 555 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/dsa.c:47:5: warning: âDSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | int r = DSA_set_method(dsa, m); > | ^~~ >/usr/include/openssl/dsa.h:122:27: note: declared here > 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); > | ^~~~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_generate_keyâ: >src/dsa.c:61:3: warning: âDSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 61 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:126:28: note: declared here > 126 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/dsa.c:61:3: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 61 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/dsa.c:62:3: warning: âDSA_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 62 | int ret = DSA_generate_parameters_ex(dsa, bits, (byte*)seed, seed_len, NULL, NULL, NULL); > | ^~~ >/usr/include/openssl/dsa.h:167:27: note: declared here > 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/dsa.c:64:5: warning: âDSA_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 64 | ret = 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); > | ^~~~~~~~~~~~~~~~ >src/dsa.c:70:3: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 70 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_infoâ: >src/digest.c:309:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | AUXILIAR_SETOBJECT(L, EVP_MD_CTX_md(ctx), "openssl.evp_digest", -1, "digest"); > | ^~~~~~~~~~~~~~~~~~ >In file included from src/openssl.h:19, > from src/digest.c:8: >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c:309:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | AUXILIAR_SETOBJECT(L, EVP_MD_CTX_md(ctx), "openssl.evp_digest", -1, "digest"); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_resetâ: >src/digest.c:409:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 409 | const EVP_MD *md = EVP_MD_CTX_md(ctx); > | ^~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_dataâ: >src/digest.c:487:3: warning: âEVP_MD_meth_get_app_datasizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 487 | size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); > | ^~~~~~ >/usr/include/openssl/evp.h:138:27: note: declared here > 138 | OSSL_DEPRECATEDIN_3_0 int EVP_MD_meth_get_app_datasize(const EVP_MD *md); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:487:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 487 | size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); > | ^~~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c:495:5: warning: âEVP_MD_meth_get_app_datasizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 495 | if (ctx_size == (size_t)EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx))) > | ^~ >/usr/include/openssl/evp.h:138:27: note: declared here > 138 | OSSL_DEPRECATEDIN_3_0 int EVP_MD_meth_get_app_datasize(const EVP_MD *md); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:495:5: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 495 | if (ctx_size == (size_t)EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx))) > | ^~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/ec.c: In function âopenssl_get_ec_groupâ: >src/ec.c:222:7: warning: âEVP_PKEY_get1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 222 | EC_KEY* ec_key = EVP_PKEY_get1_EC_KEY(pkey); > | ^~~~~~ >In file included from src/openssl.h:19, > from src/ec.c:5: >/usr/include/openssl/evp.h:1374:19: note: declared here > 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:225:9: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 225 | g = (EC_GROUP*)EC_KEY_get0_group(ec_key); > | ^ >In file included from /usr/include/openssl/x509.h:33, > from src/openssl.h:20: >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:226:9: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 226 | EC_KEY_free(ec_key); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c:232:7: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 232 | g = (EC_GROUP*)EC_KEY_get0_group(ec_key); > | ^ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_point_bn2pointâ: >src/ec.c:365:3: warning: âEC_POINT_bn2pointâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 365 | EC_POINT* pnt = EC_POINT_bn2point(group, bn, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/ec.h:774:33: note: declared here > 774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_point_point2bnâ: >src/ec.c:380:3: warning: âEC_POINT_point2bnâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 380 | BIGNUM *bn = EC_POINT_point2bn(group, point, form, NULL, NULL); > | ^~~~~~ >/usr/include/openssl/ec.h:770:31: note: declared here > 770 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_group_generate_keyâ: >src/ec.c:423:3: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 423 | EC_KEY *ec = EC_KEY_new(); > | ^~~~~~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/ec.c:427:5: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 427 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/ec.c:428:5: warning: âEC_KEY_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 428 | ret = EC_KEY_generate_key(ec); > | ^~~ >/usr/include/openssl/ec.h:1101:27: note: declared here > 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~ >src/ec.c:434:5: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 434 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_do_signâ: >src/ec.c:480:3: warning: âECDSA_do_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 480 | ECDSA_SIG* sig = ECDSA_do_sign((const unsigned char*)sdata, l, ec); > | ^~~~~~~~~ >/usr/include/openssl/ec.h:1365:34: note: declared here > 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, > | ^~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_do_verifyâ: >src/ec.c:522:5: warning: âECDSA_do_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 522 | ret = ECDSA_do_verify((const unsigned char*)dgst, l, sig, ec); > | ^~~ >/usr/include/openssl/ec.h:1391:27: note: declared here > 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, > | ^~~~~~~~~~~~~~~ >src/ec.c:531:5: warning: âECDSA_do_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 531 | ret = ECDSA_do_verify((const unsigned char*)dgst, l, sig, ec); > | ^~~ >/usr/include/openssl/ec.h:1391:27: note: declared here > 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, > | ^~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_signâ: >src/ec.c:557:3: warning: âECDSA_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 557 | int ret = ECDSA_sign(EVP_MD_type(md), dgst, dgstlen, sig, &siglen, eckey); > | ^~~ >/usr/include/openssl/ec.h:1414:27: note: declared here > 1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, > | ^~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_verifyâ: >src/ec.c:588:3: warning: âECDSA_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 588 | int ret = ECDSA_verify(type, dgst, (int)dgstlen, sig, (int)siglen, eckey); > | ^~~ >/usr/include/openssl/ec.h:1447:27: note: declared here > 1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst, > | ^~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_freeâ: >src/ec.c:612:3: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 612 | EC_KEY_free(p); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_parseâ: >src/ec.c:620:3: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 620 | const EC_POINT* point = EC_KEY_get0_public_key(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/ec.c:621:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 621 | const EC_GROUP* group = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:622:3: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 622 | const BIGNUM *priv = EC_KEY_get0_private_key(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/ec.c:625:3: warning: âEC_KEY_get_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 625 | AUXILIAR_SET(L, -1, "enc_flag", EC_KEY_get_enc_flags(ec), integer); > | ^~~~~~~~~~~~ >/usr/include/openssl/ec.h:1072:32: note: declared here > 1072 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:626:3: warning: âEC_KEY_get_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 626 | AUXILIAR_SET(L, -1, "conv_form", EC_KEY_get_conv_form(ec), integer); > | ^~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdh_compute_keyâ: >src/ec.c:683:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 683 | EC_GROUP_get_degree(EC_KEY_get0_group(ec)); > | ^~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:695:5: warning: âECDH_compute_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 695 | ECDH_compute_key(secret_a, outlen, > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1296:27: note: declared here > 1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, > | ^~~~~~~~~~~~~~~~ >src/ec.c:696:22: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 696 | EC_KEY_get0_public_key(peer), > | ^~~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_set_methodâ: >src/ec.c:715:3: warning: âENGINE_get_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 715 | const EC_KEY_METHOD *m = ENGINE_get_EC(e); > | ^~~~~ >In file included from src/ec.c:7: >/usr/include/openssl/engine.h:556:44: note: declared here > 556 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/ec.c:718:5: warning: âEC_KEY_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 718 | int r = EC_KEY_set_method(ec, m); > | ^~~ >/usr/include/openssl/ec.h:1283:27: note: declared here > 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_check_keyâ: >src/ec.c:729:3: warning: âEC_KEY_check_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 729 | lua_pushboolean(L, EC_KEY_check_key(ec)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1107:27: note: declared here > 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_exportâ: >src/ec.c:737:3: warning: âi2d_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 737 | int len = i2d_ECPrivateKey(ec, &der); > | ^~~ >/usr/include/openssl/ec.h:1197:27: note: declared here > 1197 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey(const EC_KEY *key, > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_groupâ: >src/ec.c:753:5: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 753 | int ret = EC_KEY_set_group(ec, g); > | ^~~ >/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); > | ^~~~~~~~~~~~~~~~ >src/ec.c:758:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 758 | const EC_GROUP *g = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_readâ: >src/ec.c:770:3: warning: âd2i_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 770 | EC_KEY* ec = d2i_ECPrivateKey(NULL, &der, len); > | ^~~~~~ >/usr/include/openssl/ec.h:1187:31: note: declared here > 1187 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key, > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_conv_formâ: >src/ec.c:784:5: warning: âEC_KEY_get_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 784 | cform = EC_KEY_get_conv_form(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:793:3: warning: âEC_KEY_set_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 793 | EC_KEY_set_conv_form(ec, cform); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1075:28: note: declared here > 1075 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_enc_flagsâ: >src/ec.c:804:5: warning: âEC_KEY_get_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 804 | flags = EC_KEY_get_enc_flags(ec); > | ^~~~~ >/usr/include/openssl/ec.h:1072:32: note: declared here > 1072 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:813:3: warning: âEC_KEY_set_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 813 | EC_KEY_set_enc_flags(ec, flags); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1073:28: note: declared here > 1073 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engineâ: >src/engine.c:68:5: warning: âENGINE_by_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | eng = ENGINE_by_id(id); > | ^~~ >In file included from src/engine.c:8: >/usr/include/openssl/engine.h:336:31: note: declared here > 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); > | ^~~~~~~~~~~~ >src/engine.c:74:7: warning: âENGINE_get_firstâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 74 | eng = ENGINE_get_first(); > | ^~~ >/usr/include/openssl/engine.h:318:31: note: declared here > 318 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_first(void); > | ^~~~~~~~~~~~~~~~ >src/engine.c:76:7: warning: âENGINE_get_lastâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 76 | eng = ENGINE_get_last(); > | ^~~ >/usr/include/openssl/engine.h:319:31: note: declared here > 319 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_last(void); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_nextâ: >src/engine.c:100:3: warning: âENGINE_up_refâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 100 | ENGINE_up_ref(eng); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:494:27: note: declared here > 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c:101:3: warning: âENGINE_get_nextâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 101 | eng = ENGINE_get_next(eng); > | ^~~ >/usr/include/openssl/engine.h:323:31: note: declared here > 323 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_next(ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_prevâ: >src/engine.c:114:3: warning: âENGINE_up_refâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 114 | ENGINE_up_ref(eng); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:494:27: note: declared here > 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c:115:3: warning: âENGINE_get_prevâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 115 | eng = ENGINE_get_prev(eng); > | ^~~ >/usr/include/openssl/engine.h:324:31: note: declared here > 324 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_prev(ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_addâ: >src/engine.c:128:3: warning: âENGINE_addâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 128 | int ret = ENGINE_add(eng); > | ^~~ >/usr/include/openssl/engine.h:328:27: note: declared here > 328 | OSSL_DEPRECATEDIN_3_0 int ENGINE_add(ENGINE *e); > | ^~~~~~~~~~ >src/engine.c: In function âopenssl_engine_removeâ: >src/engine.c:136:3: warning: âENGINE_removeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 136 | int ret = ENGINE_remove(eng); > | ^~~ >/usr/include/openssl/engine.h:332:27: note: declared here > 332 | OSSL_DEPRECATEDIN_3_0 int ENGINE_remove(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_registerâ: >src/engine.c:159:9: warning: âENGINE_unregister_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 159 | ENGINE_unregister_RSA(eng); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:379:28: note: declared here > 379 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:161:9: warning: âENGINE_register_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 161 | ENGINE_register_RSA(eng); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:378:27: note: declared here > 378 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~ >src/engine.c:165:9: warning: âENGINE_unregister_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 165 | ENGINE_unregister_DSA(eng); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:382:28: note: declared here > 382 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:167:9: warning: âENGINE_register_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 167 | ENGINE_register_DSA(eng); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:381:27: note: declared here > 381 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~ >src/engine.c:185:9: warning: âENGINE_unregister_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 185 | ENGINE_unregister_EC(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:385:28: note: declared here > 385 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:187:9: warning: âENGINE_register_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 187 | ENGINE_register_EC(eng); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:384:27: note: declared here > 384 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c:192:9: warning: âENGINE_unregister_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 192 | ENGINE_unregister_DH(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:388:28: note: declared here > 388 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:194:9: warning: âENGINE_register_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 194 | ENGINE_register_DH(eng); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:387:27: note: declared here > 387 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c:198:9: warning: âENGINE_unregister_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 198 | ENGINE_unregister_RAND(eng); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:391:28: note: declared here > 391 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:200:9: warning: âENGINE_register_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 200 | ENGINE_register_RAND(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:390:27: note: declared here > 390 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:212:9: warning: âENGINE_unregister_pkey_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 212 | ENGINE_unregister_pkey_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:400:28: note: declared here > 400 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_pkey_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:214:9: warning: âENGINE_register_pkey_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 214 | ENGINE_register_pkey_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:399:27: note: declared here > 399 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_pkey_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:218:9: warning: âENGINE_unregister_pkey_asn1_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 218 | ENGINE_unregister_pkey_asn1_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:403:28: note: declared here > 403 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_pkey_asn1_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:220:9: warning: âENGINE_register_pkey_asn1_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 220 | ENGINE_register_pkey_asn1_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:402:27: note: declared here > 402 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_pkey_asn1_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:225:9: warning: âENGINE_unregister_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 225 | ENGINE_unregister_ciphers(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:394:28: note: declared here > 394 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:227:9: warning: âENGINE_register_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 227 | ENGINE_register_ciphers(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:393:27: note: declared here > 393 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:231:9: warning: âENGINE_unregister_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 231 | ENGINE_unregister_digests(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:397:28: note: declared here > 397 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:233:9: warning: âENGINE_register_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 233 | ENGINE_register_digests(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:396:27: note: declared here > 396 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:237:7: warning: âENGINE_register_completeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 237 | int ret = ENGINE_register_complete(eng); > | ^~~ >/usr/include/openssl/engine.h:414:27: note: declared here > 414 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_complete(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_ctrlâ: >src/engine.c:259:7: warning: âENGINE_cmd_is_executableâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 259 | ret = ENGINE_cmd_is_executable(eng, cmd); > | ^~~ >/usr/include/openssl/engine.h:440:27: note: declared here > 440 | OSSL_DEPRECATEDIN_3_0 int ENGINE_cmd_is_executable(ENGINE *e, int cmd); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:268:7: warning: âENGINE_ctrlâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 268 | ret = ENGINE_ctrl(eng, cmd, i, p, arg); > | ^~~ >/usr/include/openssl/engine.h:429:27: note: declared here > 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, > | ^~~~~~~~~~~ >src/engine.c:282:9: warning: âENGINE_ctrl_cmdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 282 | ret = ENGINE_ctrl_cmd(eng, cmd, i, (void*)s, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:450:27: note: declared here > 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, > | ^~~~~~~~~~~~~~~ >src/engine.c:289:9: warning: âENGINE_ctrl_cmdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 289 | ret = ENGINE_ctrl_cmd(eng, cmd, i, p, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:450:27: note: declared here > 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, > | ^~~~~~~~~~~~~~~ >src/engine.c:296:7: warning: âENGINE_ctrl_cmd_stringâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 296 | ret = ENGINE_ctrl_cmd_string(eng, cmd, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:479:5: note: declared here > 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_gcâ: >src/engine.c:305:3: warning: âENGINE_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 305 | ENGINE_free(eng); > | ^~~~~~~~~~~ >/usr/include/openssl/engine.h:493:27: note: declared here > 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); > | ^~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_idâ: >src/engine.c:317:5: warning: âENGINE_set_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 317 | ret = ENGINE_set_id(eng, id); > | ^~~ >/usr/include/openssl/engine.h:495:27: note: declared here > 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); > | ^~~~~~~~~~~~~ >src/engine.c:320:5: warning: âENGINE_get_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 320 | lua_pushstring(L, ENGINE_get_id(eng)); > | ^~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:552:35: note: declared here > 552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_nameâ: >src/engine.c:333:5: warning: âENGINE_set_nameâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 333 | ret = ENGINE_set_name(eng, id); > | ^~~ >/usr/include/openssl/engine.h:496:27: note: declared here > 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); > | ^~~~~~~~~~~~~~~ >src/engine.c:336:5: warning: âENGINE_get_nameâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 336 | lua_pushstring(L, ENGINE_get_name(eng)); > | ^~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:553:35: note: declared here > 553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_flagsâ: >src/engine.c:347:5: warning: âENGINE_set_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 347 | int ret = ENGINE_set_flags(eng, flags); > | ^~~ >/usr/include/openssl/engine.h:525:27: note: declared here > 525 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_flags(ENGINE *e, int flags); > | ^~~~~~~~~~~~~~~~ >src/engine.c:350:5: warning: âENGINE_get_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 350 | lua_pushinteger(L, ENGINE_get_flags(eng)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:598:27: note: declared here > 598 | OSSL_DEPRECATEDIN_3_0 int ENGINE_get_flags(const ENGINE *e); > | ^~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_initâ: >src/engine.c:361:3: warning: âENGINE_initâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 361 | int ret = ENGINE_init(eng); > | ^~~ >/usr/include/openssl/engine.h:620:27: note: declared here > 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); > | ^~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_finishâ: >src/engine.c:369:3: warning: âENGINE_finishâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 369 | int ret = ENGINE_finish(eng); > | ^~~ >/usr/include/openssl/engine.h:628:27: note: declared here > 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_set_defaultâ: >src/engine.c:387:7: warning: âENGINE_set_default_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 387 | ret = ENGINE_set_default_RSA(eng); > | ^~~ >/usr/include/openssl/engine.h:684:27: note: declared here > 684 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:390:7: warning: âENGINE_set_default_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 390 | ret = ENGINE_set_default_DSA(eng); > | ^~~ >/usr/include/openssl/engine.h:690:27: note: declared here > 690 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:401:7: warning: âENGINE_set_default_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 401 | ret = ENGINE_set_default_EC(eng); > | ^~~ >/usr/include/openssl/engine.h:691:27: note: declared here > 691 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:405:7: warning: âENGINE_set_default_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 405 | ret = ENGINE_set_default_DH(eng); > | ^~~ >/usr/include/openssl/engine.h:692:27: note: declared here > 692 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:408:7: warning: âENGINE_set_default_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 408 | ret = ENGINE_set_default_RAND(eng); > | ^~~ >/usr/include/openssl/engine.h:693:27: note: declared here > 693 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:411:7: warning: âENGINE_set_default_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 411 | ret = ENGINE_set_default_ciphers(eng); > | ^~~ >/usr/include/openssl/engine.h:694:27: note: declared here > 694 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:414:7: warning: âENGINE_set_default_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 414 | ret = ENGINE_set_default_digests(eng); > | ^~~ >/usr/include/openssl/engine.h:695:27: note: declared here > 695 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_set_rand_engineâ: >src/engine.c:430:3: warning: âRAND_set_rand_engineâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 430 | int ret = RAND_set_rand_engine(eng); > | ^~~ >In file included from /usr/include/openssl/engine.h:29: >/usr/include/openssl/rand.h:52:27: note: declared here > 52 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_private_keyâ: >src/engine.c:438:3: warning: âENGINE_load_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 438 | EVP_PKEY *pkey = ENGINE_load_private_key(eng, key_id, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/engine.h:638:11: note: declared here > 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_public_keyâ: >src/engine.c:451:3: warning: âENGINE_load_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 451 | EVP_PKEY *pkey = ENGINE_load_public_key(eng, key_id, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/engine.h:641:11: note: declared here > 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_ssl_client_certâ: >src/engine.c:470:3: warning: âENGINE_load_ssl_client_certâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 470 | int ret = ENGINE_load_ssl_client_cert(eng, s, ca_dn, > | ^~~ >/usr/include/openssl/engine.h:644:5: note: declared here > 644 | int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s, STACK_OF(X509_NAME) *ca_dn, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/hmac.c: In function âopenssl_hmac_ctx_newâ: >src/hmac.c:170:25: warning: pointer targets in passing argument 2 of âEVP_MAC_initâ differ in signedness [-Wpointer-sign] > 170 | ret = EVP_MAC_init(c, k, l, params); > | ^ > | | > | const char * >In file included from src/openssl.h:19, > from src/hmac.c:9: >/usr/include/openssl/evp.h:1220:57: note: expected âconst unsigned char *â but argument is of type âconst char *â > 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > | ~~~~~~~~~~~~~~~~~~~~~^~~ >src/hmac.c: In function âopenssl_hmacâ: >src/hmac.c:258:31: warning: pointer targets in passing argument 2 of âEVP_MAC_initâ differ in signedness [-Wpointer-sign] > 258 | ret = EVP_MAC_init(ctx, k, l, params); > | ^ > | | > | const char * >/usr/include/openssl/evp.h:1220:57: note: expected âconst unsigned char *â but argument is of type âconst char *â > 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > | ~~~~~~~~~~~~~~~~~~~~~^~~ >src/lbn.c: In function âluaopen_bnâ: >src/lbn.c:486:3: warning: âERR_load_BN_stringsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 486 | ERR_load_BN_strings(); > | ^~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/cryptoerr.h:17, > from /usr/include/openssl/crypto.h:38, > from /usr/include/openssl/bn.h:26, > from src/lbn.c:12: >/usr/include/openssl/cryptoerr_legacy.h:32:27: note: declared here > 32 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BN_strings(void); > | ^~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/openssl.o src/openssl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ots.o src/ots.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkcs12.o src/pkcs12.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkcs7.o src/pkcs7.c >src/ocsp.c: In function âopenssl_ocsp_request_readâ: >src/ocsp.c:124:29: warning: passing argument 1 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 124 | OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char * (*)() >In file included from src/openssl.h:23, > from src/ocsp.c:7: >/usr/include/openssl/pem.h:388:38: note: expected âvoid * (*)(void **, const unsigned char **, long int)â but argument is of type âchar * (*)()â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~~~~~~~^~~ >src/ocsp.c:124:29: warning: passing argument 4 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 124 | OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char ** >/usr/include/openssl/pem.h:388:77: note: expected âvoid **â but argument is of type âchar **â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~^ >src/ocsp.c: In function âopenssl_ocsp_response_readâ: >src/ocsp.c:306:30: warning: passing argument 1 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 306 | OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char * (*)() >/usr/include/openssl/pem.h:388:38: note: expected âvoid * (*)(void **, const unsigned char **, long int)â but argument is of type âchar * (*)()â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~~~~~~~^~~ >src/ocsp.c:306:30: warning: passing argument 4 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 306 | OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char ** >/usr/include/openssl/pem.h:388:77: note: expected âvoid **â but argument is of type âchar **â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~^ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkey.o src/pkey.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/rsa.o src/rsa.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ssl.o src/ssl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/th-lock.o src/th-lock.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/util.o src/util.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/x509.o src/x509.c >src/openssl.c: In function âluaopen_opensslâ: >src/openssl.c:540:5: warning: âENGINE_load_builtin_enginesâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 540 | ENGINE_load_builtin_engines(); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from src/openssl.c:12: >/usr/include/openssl/engine.h:358:28: note: declared here > 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xattrs.o src/xattrs.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xexts.o src/xexts.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xname.o src/xname.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xstore.o src/xstore.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xalgor.o src/xalgor.c >src/pkey.c: In function âopenssl_pkey_is_privateâ: >src/pkey.c:32:5: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 32 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~ >In file included from src/openssl.h:19, > from src/pkey.c:7: >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:32:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 32 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:35:5: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 35 | RSA_get0_key(rsa, NULL, NULL, &d); > | ^~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:36, > from src/openssl.h:20: >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/pkey.c:43:5: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 43 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:43:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 43 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:45:5: warning: âDSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 45 | DSA_get0_key(dsa, NULL, &p); > | ^~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:37: >/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, > | ^~~~~~~~~~~~ >src/pkey.c:53:5: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 53 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:53:14: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 53 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:55:5: warning: âDH_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 55 | DH_get0_key(dh, NULL, &p); > | ^~~~~~~~~~~ >In file included from /usr/include/openssl/dsa.h:51: >/usr/include/openssl/dh.h:256:28: note: declared here > 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, > | ^~~~~~~~~~~ >src/pkey.c:63:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 63 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:63:18: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 63 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:64:5: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 64 | const BIGNUM *p = EC_KEY_get0_private_key(ec); > | ^~~~~ >In file included from /usr/include/openssl/x509.h:33: >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_is_sm2â: >src/pkey.c:87:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 87 | const EC_KEY *ec = EVP_PKEY_get0_EC_KEY((EVP_PKEY*)pkey); > | ^~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:88:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 88 | const EC_GROUP *grp = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_readâ: >src/pkey.c:128:9: warning: âPEM_read_bio_RSAPublicKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 128 | RSA* rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL); > | ^~~ >In file included from src/openssl.h:23: >/usr/include/openssl/pem.h:448:1: note: declared here > 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:132:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 132 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:138:9: warning: âPEM_read_bio_DSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 138 | DSA* dsa = PEM_read_bio_DSA_PUBKEY(in, NULL, NULL, NULL); > | ^~~ >/usr/include/openssl/pem.h:454:1: note: declared here > 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:142:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 142 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:148:9: warning: âPEM_read_bio_EC_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 148 | EC_KEY *ec = PEM_read_bio_EC_PUBKEY(in, NULL, NULL, NULL); > | ^~~~~~ >/usr/include/openssl/pem.h:463:1: note: declared here > 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:152:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 152 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:170:9: warning: âd2i_RSAPublicKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 170 | RSA *rsa = d2i_RSAPublicKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:618:28: note: declared here > 618 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:174:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 174 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:180:9: warning: âd2i_DSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 180 | DSA *dsa = d2i_DSA_PUBKEY_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:625:28: note: declared here > 625 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:184:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 184 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:190:9: warning: âd2i_EC_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 190 | EC_KEY *ec = d2i_EC_PUBKEY_bio(in, NULL); > | ^~~~~~ >/usr/include/openssl/x509.h:634:31: note: declared here > 634 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:194:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 194 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:218:9: warning: âd2i_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 218 | RSA *rsa = d2i_RSAPrivateKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:616:28: note: declared here > 616 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:222:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 222 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:228:9: warning: âd2i_DSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 228 | DSA *dsa = d2i_DSAPrivateKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:627:28: note: declared here > 627 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:232:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 232 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:238:9: warning: âd2i_ECPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 238 | EC_KEY *ec = d2i_ECPrivateKey_bio(in, NULL); > | ^~~~~~ >/usr/include/openssl/x509.h:636:31: note: declared here > 636 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:242:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 242 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c: In function âEC_KEY_generate_key_partâ: >src/pkey.c:279:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 279 | group = EC_KEY_get0_group(eckey); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:283:3: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 283 | priv_key = (BIGNUM*)EC_KEY_get0_private_key(eckey); > | ^~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:295:3: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 295 | pub_key = (EC_POINT *)EC_KEY_get0_public_key(eckey); > | ^~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:302:5: warning: âEC_KEY_set_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 302 | EC_KEY_set_public_key(eckey, 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); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:304:5: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 304 | pub_key = (EC_POINT *)EC_KEY_get0_public_key(eckey); > | ^~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:309:3: warning: âEC_POINT_make_affineâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | EC_POINT_make_affine(EC_KEY_get0_group(eckey), > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:844:27: note: declared here > 844 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_make_affine(const EC_GROUP *group, > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:309:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | EC_POINT_make_affine(EC_KEY_get0_group(eckey), > | ^~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_newâ: >src/pkey.c:389:7: warning: âRSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 389 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:202:28: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:389:7: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 389 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/pkey.c:390:7: warning: âRSA_generate_key_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 390 | if (RSA_generate_key_ex(rsa, bits, E, NULL)) > | ^~ >/usr/include/openssl/rsa.h:260:27: note: declared here > 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:393:9: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 393 | EVP_PKEY_assign_RSA(pkey, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:396:9: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 396 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:407:7: warning: âDSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 407 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:126:28: note: declared here > 126 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:407:7: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 407 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/pkey.c:408:7: warning: âDSA_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 408 | if (DSA_generate_parameters_ex(dsa, bits, (byte*)seed, seed_len, NULL, NULL, NULL) > | ^~ >/usr/include/openssl/dsa.h:167:27: note: declared here > 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:409:11: warning: âDSA_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 409 | && 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:412:9: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 412 | EVP_PKEY_assign_DSA(pkey, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:415:9: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 415 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/pkey.c:471:7: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 471 | ec = EC_KEY_new(); > | ^~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/pkey.c:474:9: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 474 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:476:9: warning: âEC_KEY_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 476 | if (EC_KEY_generate_key(ec)) > | ^~ >/usr/include/openssl/ec.h:1101:27: note: declared here > 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:479:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 479 | EVP_PKEY_assign_EC_KEY(pkey, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:482:11: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 482 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_freeâ: >src/rsa.c:15:3: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | RSA_free(rsa); > | ^~~~~~~~ >In file included from /usr/include/openssl/x509.h:36, > from src/openssl.h:20, > from src/rsa.c:7: >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/rsa.c: In function âis_privateâ: >src/rsa.c:22:3: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 22 | RSA_get0_key(rsa, NULL, NULL, &d); > | ^~~~~~~~~~~~ >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/pkey.c:503:9: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 503 | RSA *rsa = RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/rsa.c: In function âopenssl_rsa_sizeâ: >src/rsa.c:36:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 36 | lua_pushinteger(L, RSA_size(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_encryptâ: >src/rsa.c:47:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | unsigned char* to = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:51:10: warning: âRSA_private_encryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 51 | ? RSA_private_encrypt(flen, from, to, rsa, padding) > | ^ >/usr/include/openssl/rsa.h:285:5: note: declared here > 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:52:10: warning: âRSA_public_encryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 52 | : RSA_public_encrypt(flen, from, to, rsa, padding); > | ^ >/usr/include/openssl/rsa.h:282:5: note: declared here > 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_decryptâ: >src/rsa.c:70:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 70 | unsigned char* to = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:74:10: warning: âRSA_private_decryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 74 | ? RSA_private_decrypt(flen, from, to, rsa, padding) > | ^ >/usr/include/openssl/rsa.h:291:5: note: declared here > 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:75:10: warning: âRSA_public_decryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 75 | : RSA_public_decrypt(flen, from, to, rsa, padding); > | ^ >src/pkey.c:540:11: warning: âRSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 540 | if (RSA_set0_key(rsa, n, e, d) == 1 > | ^~ >/usr/include/openssl/rsa.h:288:5: note: declared here > 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:207:27: note: declared here > 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); > | ^~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_signâ: >src/rsa.c:92:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 92 | unsigned char* sig = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/pkey.c:541:15: warning: âRSA_set0_factorsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 541 | && (p == NULL || RSA_set0_factors(rsa, p, q) == 1) > | ^~ >src/rsa.c:94:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 94 | unsigned int slen = RSA_size(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:208:27: note: declared here > 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:96:3: warning: âRSA_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 96 | int ret = RSA_sign(EVP_MD_type(md), msg, flen, sig, &slen, rsa); > | ^~~ >/usr/include/openssl/rsa.h:348:27: note: declared here > 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_verifyâ: >src/pkey.c:542:15: warning: âRSA_set0_crt_paramsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 542 | && (dmp1 == NULL || RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp) == 1) ) > | ^~ >/usr/include/openssl/rsa.h:209:27: note: declared here > 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:118:3: warning: âRSA_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 118 | int ret = RSA_verify(EVP_MD_type(md), from, flen, sig, slen, rsa); > | ^~~ >/usr/include/openssl/rsa.h:351:27: note: declared here > 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, > | ^~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_parseâ: >src/rsa.c:129:3: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 129 | RSA_get0_key(rsa, &n, &e, &d); > | ^~~~~~~~~~~~ >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/rsa.c:130:3: warning: âRSA_get0_factorsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 130 | RSA_get0_factors(rsa, &p, &q); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:220:28: note: declared here > 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, > | ^~~~~~~~~~~~~~~~ >src/rsa.c:131:3: warning: âRSA_get0_crt_paramsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 131 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:225:28: note: declared here > 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:544:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 544 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/rsa.c:135:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 135 | lua_pushinteger(L, RSA_size(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:137:3: warning: âRSA_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 137 | lua_pushinteger(L, RSA_bits(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:203:27: note: declared here > 203 | OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa); > | ^~~~~~~~ >src/pkey.c:546:15: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 546 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:554:13: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 554 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_readâ: >src/rsa.c:156:3: warning: âd2i_RSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 156 | RSA *rsa = ispriv ? d2i_RSAPrivateKey(NULL, &in, l) > | ^~~ >In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from src/openssl.h:19: >/usr/include/openssl/rsa.h:309:1: note: declared here > 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:157:14: warning: âd2i_RSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 157 | : d2i_RSA_PUBKEY(NULL, &in, l); > | ^ >src/pkey.c:567:9: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 567 | DSA *dsa = DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >/usr/include/openssl/x509.h:710:1: note: declared here > 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_exportâ: >src/rsa.c:173:3: warning: âi2d_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 173 | int len = ispriv ? i2d_RSAPrivateKey_bio(out, rsa) > | ^~~ >/usr/include/openssl/x509.h:617:27: note: declared here > 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/callback.o src/callback.c >src/rsa.c:174:13: warning: âi2d_RSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 174 | : i2d_RSA_PUBKEY_bio(out, rsa); > | ^ >/usr/include/openssl/x509.h:621:27: note: declared here > 621 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_set_engineâ: >src/rsa.c:195:3: warning: âENGINE_get_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 195 | const RSA_METHOD *m = ENGINE_get_RSA(e); > | ^~~~~ >src/pkey.c:593:11: warning: âDSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 593 | if (DSA_set0_key(dsa, pub_key, priv_key) == 1 > | ^~ >/usr/include/openssl/dsa.h:206:27: note: declared here > 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, > | ^~~~~~~~~~~~ >In file included from src/rsa.c:10: >/usr/include/openssl/engine.h:554:41: note: declared here > 554 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/rsa.c:198:5: warning: âRSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 198 | int r = RSA_set_method(rsa, m); > | ^~~ >/usr/include/openssl/rsa.h:302:27: note: declared here > 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); > | ^~~~~~~~~~~~~~ >src/pkey.c:594:15: warning: âDSA_set0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 594 | && DSA_set0_pqg(dsa, p, q, g)) > | ^~ >src/rsa.c: In function âopenssl_rsa_generate_keyâ: >/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); > | ^~~~~~~~~~~~ >src/rsa.c:213:3: warning: âRSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 213 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:202:28: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/rsa.c:213:3: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 213 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/rsa.c:216:3: warning: âRSA_generate_key_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 216 | ret = RSA_generate_key_ex(rsa, bits, E, NULL); > | ^~~ >/usr/include/openssl/rsa.h:260:27: note: declared here > 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:596:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 596 | if (!EVP_PKEY_assign_DSA(pkey, dsa)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/rsa.c:223:5: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 223 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:598:15: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 598 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_padding_addâ: >src/rsa.c:267:7: warning: âRSA_padding_add_PKCS1_type_1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 267 | ret = RSA_padding_add_PKCS1_type_1(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:376:5: note: declared here > 376 | int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:271:7: warning: âRSA_padding_add_PKCS1_type_2â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 271 | ret = RSA_padding_add_PKCS1_type_2(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:383:5: note: declared here > 383 | int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:284:5: warning: âRSA_padding_add_noneâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 284 | ret = RSA_padding_add_none(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:411:27: note: declared here > 411 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:605:13: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 605 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/rsa.c:292:7: warning: âRSA_padding_add_PKCS1_OAEPâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 292 | ret = RSA_padding_add_PKCS1_OAEP(to, sz,from, l, p, pl); > | ^~~ >/usr/include/openssl/rsa.h:393:5: note: declared here > 393 | int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:298:7: warning: âRSA_padding_add_PKCS1_OAEP_mgf1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 298 | ret = RSA_padding_add_PKCS1_OAEP_mgf1(to, sz,from, l, p, pl, md, mgf1md); > | ^~~ >/usr/include/openssl/rsa.h:401:5: note: declared here > 401 | int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:619:9: warning: âDH_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 619 | DH *dh = DH_new(); > | ^~ >/usr/include/openssl/dh.h:199:27: note: declared here > 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); > | ^~~~~~ >src/rsa.c: In function âopenssl_padding_checkâ: >src/rsa.c:341:7: warning: âRSA_padding_check_PKCS1_type_1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 341 | ret = RSA_padding_check_PKCS1_type_1(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:379:5: note: declared here > 379 | int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:345:7: warning: âRSA_padding_check_PKCS1_type_2â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 345 | ret = RSA_padding_check_PKCS1_type_2(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:386:5: note: declared here > 386 | int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:362:7: warning: âRSA_padding_check_PKCS1_OAEPâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 362 | ret = RSA_padding_check_PKCS1_OAEP(to, sz,from, l, sz, p, pl); > | ^~~ >/usr/include/openssl/rsa.h:397:5: note: declared here > 397 | int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:645:11: warning: âDH_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 645 | if (DH_set0_key(dh, pub_key, priv_key) == 1 > | ^~ >src/rsa.c:368:7: warning: âRSA_padding_check_PKCS1_OAEP_mgf1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 368 | ret = RSA_padding_check_PKCS1_OAEP_mgf1(to, sz,from, l, sz, p, pl, md, mgf1md); > | ^~~ >/usr/include/openssl/rsa.h:406:5: note: declared here > 406 | int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:258:27: note: declared here > 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); > | ^~~~~~~~~~~ >src/rsa.c:373:5: warning: âRSA_padding_check_noneâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 373 | ret = RSA_padding_check_none(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:413:27: note: declared here > 413 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_check_none(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:646:15: warning: âDH_set0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 646 | && DH_set0_pqg(dh, p, q, g)) > | ^~ >/usr/include/openssl/dh.h:255:27: note: declared here > 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); > | ^~~~~~~~~~~ >src/pkey.c:648:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 648 | if (!EVP_PKEY_assign_DH(pkey, dh)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:650:15: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 650 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/pkey.c:658:13: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 658 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/pkey.c:696:9: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 696 | EC_KEY *ec = EC_KEY_new(); > | ^~~~~~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/pkey.c:699:11: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 699 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:701:13: warning: âEC_KEY_set_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 701 | EC_KEY_set_private_key(ec, d); > | ^~~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:707:13: warning: âEC_KEY_set_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 707 | EC_KEY_set_public_key(ec, pnt); > | ^~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:713:11: warning: âEC_KEY_check_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 713 | if (EC_KEY_check_key(ec) == 0 || EVP_PKEY_assign_EC_KEY(pkey, ec) == 0) > | ^~ >/usr/include/openssl/ec.h:1107:27: note: declared here > 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:713:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 713 | if (EC_KEY_check_key(ec) == 0 || EVP_PKEY_assign_EC_KEY(pkey, ec) == 0) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:715:13: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 715 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/pkey.c:733:5: warning: âEVP_PKEY_set1_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 733 | EVP_PKEY_set1_RSA(pkey, rsa); > | ^~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1344:5: note: declared here > 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:739:5: warning: âEVP_PKEY_set1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 739 | EVP_PKEY_set1_EC_KEY(pkey, ec); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1370:5: note: declared here > 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:745:5: warning: âEVP_PKEY_set1_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 745 | EVP_PKEY_set1_DH(pkey, dh); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1362:27: note: declared here > 1362 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:751:5: warning: âEVP_PKEY_set1_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 751 | EVP_PKEY_set1_DSA(pkey, dsa); > | ^~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1353:5: note: declared here > 1353 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_exportâ: >src/pkey.c:832:9: warning: âPEM_write_bio_RSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 832 | ret = ispriv ? PEM_write_bio_RSAPrivateKey(bio_out, EVP_PKEY_get0_RSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:447:1: note: declared here > 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:832:9: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 832 | ret = ispriv ? PEM_write_bio_RSAPrivateKey(bio_out, EVP_PKEY_get0_RSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:833:15: warning: âPEM_write_bio_RSAPublicKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 833 | : PEM_write_bio_RSAPublicKey(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/pem.h:448:1: note: declared here > 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:833:15: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 833 | : PEM_write_bio_RSAPublicKey(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:837:9: warning: âPEM_write_bio_DSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 837 | ret = ispriv ? PEM_write_bio_DSAPrivateKey(bio_out, EVP_PKEY_get0_DSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:453:1: note: declared here > 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:837:9: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 837 | ret = ispriv ? PEM_write_bio_DSAPrivateKey(bio_out, EVP_PKEY_get0_DSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:838:15: warning: âPEM_write_bio_DSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 838 | : PEM_write_bio_DSA_PUBKEY(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/pem.h:454:1: note: declared here > 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:838:15: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 838 | : PEM_write_bio_DSA_PUBKEY(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:843:9: warning: âPEM_write_bio_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 843 | ret = ispriv ? PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:462:1: note: declared here > 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:843:9: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 843 | ret = ispriv ? PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/srp.o src/srp.c >src/pkey.c:844:15: warning: âPEM_write_bio_EC_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 844 | : PEM_write_bio_EC_PUBKEY(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/pem.h:463:1: note: declared here > 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:844:15: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 844 | : PEM_write_bio_EC_PUBKEY(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:869:9: warning: âi2d_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 869 | ret = ispriv ? i2d_RSAPrivateKey_bio(bio_out, EVP_PKEY_get0_RSA(key)) > | ^~~ >/usr/include/openssl/x509.h:617:27: note: declared here > 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:869:9: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 869 | ret = ispriv ? i2d_RSAPrivateKey_bio(bio_out, EVP_PKEY_get0_RSA(key)) > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:870:15: warning: âi2d_RSAPublicKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 870 | : i2d_RSAPublicKey_bio(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/x509.h:619:27: note: declared here > 619 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPublicKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:870:15: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 870 | : i2d_RSAPublicKey_bio(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:874:9: warning: âi2d_DSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 874 | ret = ispriv ? i2d_DSAPrivateKey_bio(bio_out, EVP_PKEY_get0_DSA(key)) > | ^~~ >/usr/include/openssl/x509.h:628:27: note: declared here > 628 | OSSL_DEPRECATEDIN_3_0 int i2d_DSAPrivateKey_bio(BIO *bp, const DSA *dsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:874:9: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 874 | ret = ispriv ? i2d_DSAPrivateKey_bio(bio_out, EVP_PKEY_get0_DSA(key)) > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:875:15: warning: âi2d_DSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 875 | : i2d_DSA_PUBKEY_bio(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/x509.h:626:27: note: declared here > 626 | OSSL_DEPRECATEDIN_3_0 int i2d_DSA_PUBKEY_bio(BIO *bp, const DSA *dsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:875:15: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 875 | : i2d_DSA_PUBKEY_bio(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:880:9: warning: âi2d_ECPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 880 | ret = ispriv ? i2d_ECPrivateKey_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)) > | ^~~ >/usr/include/openssl/x509.h:637:27: note: declared here > 637 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:880:9: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 880 | ret = ispriv ? i2d_ECPrivateKey_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)) > | ^~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:881:15: warning: âi2d_EC_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 881 | : i2d_EC_PUBKEY_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/x509.h:635:27: note: declared here > 635 | OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *eckey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:881:15: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 881 | : i2d_EC_PUBKEY_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_parseâ: >src/pkey.c:1025:7: warning: âEVP_PKEY_get1_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1025 | RSA* rsa = EVP_PKEY_get1_RSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1348:16: note: declared here > 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1033:7: warning: âEVP_PKEY_get1_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1033 | DSA* dsa = EVP_PKEY_get1_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1357:16: note: declared here > 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1041:7: warning: âEVP_PKEY_get1_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1041 | DH* dh = EVP_PKEY_get1_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1364:37: note: declared here > 1364 | OSSL_DEPRECATEDIN_3_0 struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1053:7: warning: âEVP_PKEY_get1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1053 | const EC_KEY* ec = EVP_PKEY_get1_EC_KEY(pkey); > | ^~~~~ >/usr/include/openssl/evp.h:1374:19: note: declared here > 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_deriveâ: >src/pkey.c:1244:3: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1244 | if ( (ptype != EVP_PKEY_DH && EVP_PKEY_get0_DH(pkey)!=NULL) > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1245:8: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1245 | || (ptype != EVP_PKEY_EC && EVP_PKEY_get0_EC_KEY(pkey)!=NULL) ) > | ^~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/luajit-2.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o deps/auxiliar/subsidiar.o deps/auxiliar/subsidiar.c >src/pkey.c: In function âopenssl_pkey_set_engineâ: >src/pkey.c:1885:5: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1885 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1885:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1885 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1886:5: warning: âENGINE_get_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1886 | const RSA_METHOD *m = ENGINE_get_RSA(eng); > | ^~~~~ >In file included from src/pkey.c:12: >/usr/include/openssl/engine.h:554:41: note: declared here > 554 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/pkey.c:1888:7: warning: âRSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1888 | ret = RSA_set_method(rsa, m); > | ^~~ >/usr/include/openssl/rsa.h:302:27: note: declared here > 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); > | ^~~~~~~~~~~~~~ >src/pkey.c:1895:5: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1895 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1895:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1895 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1896:5: warning: âENGINE_get_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1896 | const DSA_METHOD *m = ENGINE_get_DSA(eng); > | ^~~~~ >/usr/include/openssl/engine.h:555:41: note: declared here > 555 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/pkey.c:1898:7: warning: âDSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1898 | ret = DSA_set_method(dsa, m); > | ^~~ >/usr/include/openssl/dsa.h:122:27: note: declared here > 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); > | ^~~~~~~~~~~~~~ >src/pkey.c:1905:5: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1905 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1905:14: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1905 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1906:5: warning: âENGINE_get_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1906 | const DH_METHOD *m = ENGINE_get_DH(eng); > | ^~~~~ >/usr/include/openssl/engine.h:557:40: note: declared here > 557 | OSSL_DEPRECATEDIN_3_0 const DH_METHOD *ENGINE_get_DH(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/pkey.c:1908:7: warning: âDH_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1908 | ret = DH_set_method(dh, m); > | ^~~ >/usr/include/openssl/dh.h:196:27: note: declared here > 196 | OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth); > | ^~~~~~~~~~~~~ >src/pkey.c:1915:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1915 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:1915:18: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1915 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:1921:5: warning: âENGINE_get_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1921 | const EC_KEY_METHOD *m = ENGINE_get_EC(eng); > | ^~~~~ >/usr/include/openssl/engine.h:556:44: note: declared here > 556 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/pkey.c:1923:7: warning: âEC_KEY_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1923 | ret = EC_KEY_set_method(ec, m); > | ^~~ >/usr/include/openssl/ec.h:1283:27: note: declared here > 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); > | ^~~~~~~~~~~~~~~~~ >src/x509.c: In function âopenssl_push_general_nameâ: >src/x509.c:377:45: warning: passing argument 2 of âopenssl_push_asn1typeâ from incompatible pointer type [-Wincompatible-pointer-types] > 377 | openssl_push_asn1type(L, general_name->d.x400Address); > | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ > | | > | ASN1_STRING * {aka struct asn1_string_st *} >In file included from src/x509.c:11: >src/private.h:230:58: note: expected âconst ASN1_TYPE *â {aka âconst struct asn1_type_st *â} but argument is of type âASN1_STRING *â {aka âstruct asn1_string_st *â} > 230 | int openssl_push_asn1type(lua_State* L, const ASN1_TYPE* type); > | ~~~~~~~~~~~~~~~~~^~~~ >src/srp.c: In function âopenssl_srp_create_verifierâ: >src/srp.c:15:3: warning: âSRP_create_verifier_BNâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | int ret = SRP_create_verifier_BN(username, servpass, &salt, &verifier, GN->N, GN->g); > | ^~~ >In file included from src/srp.c:5: >/usr/include/openssl/srp.h:202:5: note: declared here > 202 | int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_bâ: >src/srp.c:46:5: warning: âSRP_Calc_Bâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 46 | Bpub = SRP_Calc_B(Brnd, GN->N, GN->g, v); > | ^~~~ >/usr/include/openssl/srp.h:240:9: note: declared here > 240 | BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g, > | ^~~~~~~~~~ >src/srp.c:47:5: warning: âSRP_Verify_B_mod_Nâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | ret = SRP_Verify_B_mod_N(Bpub, GN->N); > | ^~~ >/usr/include/openssl/srp.h:268:5: note: declared here > 268 | int SRP_Verify_B_mod_N(const BIGNUM *B, const BIGNUM *N); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_server_keyâ: >src/srp.c:73:3: warning: âSRP_Calc_server_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 73 | BIGNUM *Kserver = SRP_Calc_server_key(Apub, v, u, Brnd, GN->N); > | ^~~~~~ >/usr/include/openssl/srp.h:234:9: note: declared here > 234 | BIGNUM *SRP_Calc_server_key(const BIGNUM *A, const BIGNUM *v, const BIGNUM *u, > | ^~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_aâ: >src/srp.c:92:5: warning: âSRP_Calc_Aâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 92 | Apub = SRP_Calc_A(Arnd, GN->N, GN->g); > | ^~~~ >/usr/include/openssl/srp.h:259:9: note: declared here > 259 | BIGNUM *SRP_Calc_A(const BIGNUM *a, const BIGNUM *N, const BIGNUM *g); > | ^~~~~~~~~~ >src/srp.c:93:5: warning: âSRP_Verify_A_mod_Nâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 93 | ret = SRP_Verify_A_mod_N(Apub, GN->N); > | ^~~ >/usr/include/openssl/srp.h:244:5: note: declared here > 244 | int SRP_Verify_A_mod_N(const BIGNUM *A, const BIGNUM *N); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_xâ: >src/srp.c:116:3: warning: âSRP_Calc_xâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 116 | BIGNUM *x = SRP_Calc_x(s, username, password); > | ^~~~~~ >/usr/include/openssl/srp.h:257:9: note: declared here > 257 | BIGNUM *SRP_Calc_x(const BIGNUM *s, const char *user, const char *pass); > | ^~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_client_keyâ: >src/srp.c:130:3: warning: âSRP_Calc_client_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 130 | BIGNUM *Kclient = SRP_Calc_client_key(GN->N, Bpub, GN->g, x, Arnd, u); > | ^~~~~~ >/usr/include/openssl/srp.h:265:9: note: declared here > 265 | BIGNUM *SRP_Calc_client_key(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g, > | ^~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_get_default_gNâ: >src/srp.c:139:3: warning: âSRP_get_default_gNâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 139 | SRP_gN *GN = SRP_get_default_gN(id); > | ^~~~~~ >/usr/include/openssl/srp.h:230:9: note: declared here > 230 | SRP_gN *SRP_get_default_gN(const char *id); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_uâ: >src/srp.c:154:3: warning: âSRP_Calc_uâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 154 | BIGNUM *u = SRP_Calc_u(Apub, Bpub, GN->N); > | ^~~~~~ >/usr/include/openssl/srp.h:249:9: note: declared here > 249 | BIGNUM *SRP_Calc_u(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N); > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-ar rcs libopenssl.a src/asn1.o deps/auxiliar/auxiliar.o src/bio.o src/cipher.o src/cms.o src/compat.o src/crl.o src/csr.o src/dh.o src/digest.o src/dsa.o src/ec.o src/engine.o src/hmac.o src/lbn.o src/lhash.o src/misc.o src/ocsp.o src/openssl.o src/ots.o src/pkcs12.o src/pkcs7.o src/pkey.o src/rsa.o src/ssl.o src/th-lock.o src/util.o src/x509.o src/xattrs.o src/xexts.o src/xname.o src/xstore.o src/xalgor.o src/callback.o src/srp.o deps/auxiliar/subsidiar.o >x86_64-pc-linux-gnu-gcc -shared -o openssl.so src/openssl.o -L. -lopenssl -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fPIC -lssl -ldl -pthread -lcrypto -ldl -pthread >Target system: x86_64-pc-linux-gnu >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 > * lua5-1: running lua_src_compile >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-lua5-1 /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 >make -j16 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc LUA= 'LUA_CFLAGS=-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 ' 'LUA_LIBS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' LUA_VERSION=5.1 TARGET_SYS=x86_64-pc-linux-gnu >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/asn1.o src/asn1.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o deps/auxiliar/auxiliar.o deps/auxiliar/auxiliar.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/bio.o src/bio.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/cipher.o src/cipher.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/cms.o src/cms.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/compat.o src/compat.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/crl.o src/crl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/csr.o src/csr.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/dh.o src/dh.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/digest.o src/digest.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/dsa.o src/dsa.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ec.o src/ec.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/engine.o src/engine.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/hmac.o src/hmac.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/lbn.o src/lbn.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/lhash.o src/lhash.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/misc.o src/misc.c >src/cms.c: In function âluaopen_cmsâ: >src/cms.c:864:3: warning: âERR_load_CMS_stringsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 864 | ERR_load_CMS_strings(); > | ^~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/cryptoerr.h:17, > from /usr/include/openssl/crypto.h:38, > from /usr/include/openssl/bio.h:30, > from /usr/include/openssl/evp.h:30, > from src/openssl.h:19, > from src/cms.c:30: >/usr/include/openssl/cryptoerr_legacy.h:35:27: note: declared here > 35 | OSSL_DEPRECATEDIN_3_0 int ERR_load_CMS_strings(void); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ocsp.o src/ocsp.c >src/dh.c: In function âopenssl_dh_freeâ: >src/dh.c:15:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | DH_free(dh); > | ^~~~~~~ >In file included from /usr/include/openssl/dsa.h:51, > from /usr/include/openssl/x509.h:37, > from src/openssl.h:20, > from src/dh.c:7: >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dh.c: In function âopenssl_dh_parseâ: >src/dh.c:25:3: warning: âDH_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 25 | lua_pushinteger(L, DH_size(dh)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:203:27: note: declared here > 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); > | ^~~~~~~ >src/dh.c:28:3: warning: âDH_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 28 | lua_pushinteger(L, DH_bits(dh)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:202:27: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 int DH_bits(const DH *dh); > | ^~~~~~~ >src/dh.c:31:3: warning: âDH_get0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 31 | DH_get0_pqg(dh, &p, &q, &g); > | ^~~~~~~~~~~ >/usr/include/openssl/dh.h:253:28: note: declared here > 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, > | ^~~~~~~~~~~ >src/dh.c:32:3: warning: âDH_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 32 | DH_get0_key(dh, &pub, &pri); > | ^~~~~~~~~~~ >/usr/include/openssl/dh.h:256:28: note: declared here > 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, > | ^~~~~~~~~~~ >src/dh.c: In function âopenssl_dh_checkâ: >src/dh.c:52:5: warning: âDH_check_pub_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 52 | ret = DH_check_pub_key(dh, pub, &codes); > | ^~~ >/usr/include/openssl/dh.h:221:27: note: declared here > 221 | OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, > | ^~~~~~~~~~~~~~~~ >src/dh.c:54:5: warning: âDH_checkâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 54 | ret = DH_check(dh, &codes); > | ^~~ >/usr/include/openssl/dh.h:220:27: note: declared here > 220 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); > | ^~~~~~~~ >src/dh.c: In function âopenssl_dh_generate_parametersâ: >src/dh.c:68:3: warning: âDH_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | DH *dh = eng ? DH_new_method(eng) : DH_new(); > | ^~ >/usr/include/openssl/dh.h:197:27: note: declared here > 197 | OSSL_DEPRECATEDIN_3_0 DH *DH_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~ >src/dh.c:68:3: warning: âDH_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | DH *dh = eng ? DH_new_method(eng) : DH_new(); > | ^~ >/usr/include/openssl/dh.h:199:27: note: declared here > 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); > | ^~~~~~ >src/dh.c:69:3: warning: âDH_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 69 | ret = DH_generate_parameters_ex(dh, bits, generator, NULL); > | ^~~ >/usr/include/openssl/dh.h:212:27: note: declared here > 212 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/dh.c:76:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 76 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dh.c: In function âopenssl_dh_generate_keyâ: >src/dh.c:83:3: warning: âDHparams_dupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 83 | DH *dh = DHparams_dup(dhparamater); > | ^~ >In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from src/openssl.h:19: >/usr/include/openssl/dh.h:190:1: note: declared here > 190 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/dh.c:85:3: warning: âDH_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 85 | int ret = DH_generate_key(dh); > | ^~~ >/usr/include/openssl/dh.h:223:27: note: declared here > 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); > | ^~~~~~~~~~~~~~~ >src/dh.c:91:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 91 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dsa.c: In function âopenssl_dsa_freeâ: >src/dsa.c:15:3: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | DSA_free(dsa); > | ^~~~~~~~ >In file included from /usr/include/openssl/x509.h:37, > from src/openssl.h:20, > from src/dsa.c:7: >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/dsa.c: In function âopenssl_dsa_parseâ: >src/dsa.c:25:3: warning: âDSA_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 25 | lua_pushinteger(L, DSA_bits(dsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dsa.h:131:27: note: declared here > 131 | OSSL_DEPRECATEDIN_3_0 int DSA_bits(const DSA *d); > | ^~~~~~~~ >src/dsa.c:28:3: warning: âDSA_get0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 28 | DSA_get0_pqg(dsa, &p, &q, &g); > | ^~~~~~~~~~~~ >/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, > | ^~~~~~~~~~~~ >src/dsa.c:29:3: warning: âDSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 29 | DSA_get0_key(dsa, &pub, &pri); > | ^~~~~~~~~~~~ >/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, > | ^~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_set_engineâ: >src/dsa.c:44:3: warning: âENGINE_get_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 44 | const DSA_METHOD *m = ENGINE_get_DSA(e); > | ^~~~~ >In file included from src/dsa.c:10: >/usr/include/openssl/engine.h:555:41: note: declared here > 555 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/dsa.c:47:5: warning: âDSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | int r = DSA_set_method(dsa, m); > | ^~~ >/usr/include/openssl/dsa.h:122:27: note: declared here > 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); > | ^~~~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_generate_keyâ: >src/dsa.c:61:3: warning: âDSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 61 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:126:28: note: declared here > 126 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/dsa.c:61:3: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 61 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/dsa.c:62:3: warning: âDSA_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 62 | int ret = DSA_generate_parameters_ex(dsa, bits, (byte*)seed, seed_len, NULL, NULL, NULL); > | ^~~ >/usr/include/openssl/dsa.h:167:27: note: declared here > 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/dsa.c:64:5: warning: âDSA_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 64 | ret = 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); > | ^~~~~~~~~~~~~~~~ >src/dsa.c:70:3: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 70 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/ec.c: In function âopenssl_get_ec_groupâ: >src/ec.c:222:7: warning: âEVP_PKEY_get1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 222 | EC_KEY* ec_key = EVP_PKEY_get1_EC_KEY(pkey); > | ^~~~~~ >In file included from src/openssl.h:19, > from src/ec.c:5: >/usr/include/openssl/evp.h:1374:19: note: declared here > 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:225:9: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 225 | g = (EC_GROUP*)EC_KEY_get0_group(ec_key); > | ^ >In file included from /usr/include/openssl/x509.h:33, > from src/openssl.h:20: >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:226:9: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 226 | EC_KEY_free(ec_key); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c:232:7: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 232 | g = (EC_GROUP*)EC_KEY_get0_group(ec_key); > | ^ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_point_bn2pointâ: >src/ec.c:365:3: warning: âEC_POINT_bn2pointâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 365 | EC_POINT* pnt = EC_POINT_bn2point(group, bn, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/ec.h:774:33: note: declared here > 774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_point_point2bnâ: >src/ec.c:380:3: warning: âEC_POINT_point2bnâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 380 | BIGNUM *bn = EC_POINT_point2bn(group, point, form, NULL, NULL); > | ^~~~~~ >/usr/include/openssl/ec.h:770:31: note: declared here > 770 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_group_generate_keyâ: >src/ec.c:423:3: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 423 | EC_KEY *ec = EC_KEY_new(); > | ^~~~~~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/ec.c:427:5: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 427 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/ec.c:428:5: warning: âEC_KEY_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 428 | ret = EC_KEY_generate_key(ec); > | ^~~ >/usr/include/openssl/ec.h:1101:27: note: declared here > 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~ >src/ec.c:434:5: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 434 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_do_signâ: >src/ec.c:480:3: warning: âECDSA_do_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 480 | ECDSA_SIG* sig = ECDSA_do_sign((const unsigned char*)sdata, l, ec); > | ^~~~~~~~~ >/usr/include/openssl/ec.h:1365:34: note: declared here > 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, > | ^~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_do_verifyâ: >src/ec.c:522:5: warning: âECDSA_do_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 522 | ret = ECDSA_do_verify((const unsigned char*)dgst, l, sig, ec); > | ^~~ >/usr/include/openssl/ec.h:1391:27: note: declared here > 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, > | ^~~~~~~~~~~~~~~ >src/ec.c:531:5: warning: âECDSA_do_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 531 | ret = ECDSA_do_verify((const unsigned char*)dgst, l, sig, ec); > | ^~~ >/usr/include/openssl/ec.h:1391:27: note: declared here > 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, > | ^~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_signâ: >src/ec.c:557:3: warning: âECDSA_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 557 | int ret = ECDSA_sign(EVP_MD_type(md), dgst, dgstlen, sig, &siglen, eckey); > | ^~~ >/usr/include/openssl/ec.h:1414:27: note: declared here > 1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, > | ^~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_verifyâ: >src/ec.c:588:3: warning: âECDSA_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 588 | int ret = ECDSA_verify(type, dgst, (int)dgstlen, sig, (int)siglen, eckey); > | ^~~ >/usr/include/openssl/ec.h:1447:27: note: declared here > 1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst, > | ^~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_freeâ: >src/ec.c:612:3: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 612 | EC_KEY_free(p); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_parseâ: >src/ec.c:620:3: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 620 | const EC_POINT* point = EC_KEY_get0_public_key(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/ec.c:621:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 621 | const EC_GROUP* group = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:622:3: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 622 | const BIGNUM *priv = EC_KEY_get0_private_key(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/ec.c:625:3: warning: âEC_KEY_get_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 625 | AUXILIAR_SET(L, -1, "enc_flag", EC_KEY_get_enc_flags(ec), integer); > | ^~~~~~~~~~~~ >/usr/include/openssl/ec.h:1072:32: note: declared here > 1072 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:626:3: warning: âEC_KEY_get_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 626 | AUXILIAR_SET(L, -1, "conv_form", EC_KEY_get_conv_form(ec), integer); > | ^~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdh_compute_keyâ: >src/ec.c:683:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 683 | EC_GROUP_get_degree(EC_KEY_get0_group(ec)); > | ^~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:695:5: warning: âECDH_compute_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 695 | ECDH_compute_key(secret_a, outlen, > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1296:27: note: declared here > 1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, > | ^~~~~~~~~~~~~~~~ >src/ec.c:696:22: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 696 | EC_KEY_get0_public_key(peer), > | ^~~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_set_methodâ: >src/ec.c:715:3: warning: âENGINE_get_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 715 | const EC_KEY_METHOD *m = ENGINE_get_EC(e); > | ^~~~~ >In file included from src/ec.c:7: >/usr/include/openssl/engine.h:556:44: note: declared here > 556 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/ec.c:718:5: warning: âEC_KEY_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 718 | int r = EC_KEY_set_method(ec, m); > | ^~~ >/usr/include/openssl/ec.h:1283:27: note: declared here > 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_check_keyâ: >src/ec.c:729:3: warning: âEC_KEY_check_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 729 | lua_pushboolean(L, EC_KEY_check_key(ec)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1107:27: note: declared here > 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_exportâ: >src/ec.c:737:3: warning: âi2d_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 737 | int len = i2d_ECPrivateKey(ec, &der); > | ^~~ >/usr/include/openssl/ec.h:1197:27: note: declared here > 1197 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey(const EC_KEY *key, > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_groupâ: >src/ec.c:753:5: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 753 | int ret = EC_KEY_set_group(ec, g); > | ^~~ >/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); > | ^~~~~~~~~~~~~~~~ >src/ec.c:758:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 758 | const EC_GROUP *g = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_readâ: >src/ec.c:770:3: warning: âd2i_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 770 | EC_KEY* ec = d2i_ECPrivateKey(NULL, &der, len); > | ^~~~~~ >/usr/include/openssl/ec.h:1187:31: note: declared here > 1187 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key, > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_conv_formâ: >src/ec.c:784:5: warning: âEC_KEY_get_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 784 | cform = EC_KEY_get_conv_form(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:793:3: warning: âEC_KEY_set_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 793 | EC_KEY_set_conv_form(ec, cform); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1075:28: note: declared here > 1075 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_enc_flagsâ: >src/ec.c:804:5: warning: âEC_KEY_get_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 804 | flags = EC_KEY_get_enc_flags(ec); > | ^~~~~ >/usr/include/openssl/ec.h:1072:32: note: declared here > 1072 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:813:3: warning: âEC_KEY_set_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 813 | EC_KEY_set_enc_flags(ec, flags); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1073:28: note: declared here > 1073 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engineâ: >src/engine.c:68:5: warning: âENGINE_by_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | eng = ENGINE_by_id(id); > | ^~~ >In file included from src/engine.c:8: >/usr/include/openssl/engine.h:336:31: note: declared here > 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); > | ^~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_infoâ: >src/engine.c:74:7: warning: âENGINE_get_firstâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 74 | eng = ENGINE_get_first(); > | ^~~ >/usr/include/openssl/engine.h:318:31: note: declared here > 318 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_first(void); > | ^~~~~~~~~~~~~~~~ >src/engine.c:76:7: warning: âENGINE_get_lastâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 76 | eng = ENGINE_get_last(); > | ^~~ >/usr/include/openssl/engine.h:319:31: note: declared here > 319 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_last(void); > | ^~~~~~~~~~~~~~~ >src/digest.c:309:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | AUXILIAR_SETOBJECT(L, EVP_MD_CTX_md(ctx), "openssl.evp_digest", -1, "digest"); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_nextâ: >In file included from src/openssl.h:19, > from src/digest.c:8: >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/engine.c:100:3: warning: âENGINE_up_refâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 100 | ENGINE_up_ref(eng); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:494:27: note: declared here > 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c:101:3: warning: âENGINE_get_nextâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 101 | eng = ENGINE_get_next(eng); > | ^~~ >/usr/include/openssl/engine.h:323:31: note: declared here > 323 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_next(ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/digest.c:309:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | AUXILIAR_SETOBJECT(L, EVP_MD_CTX_md(ctx), "openssl.evp_digest", -1, "digest"); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_prevâ: >src/engine.c:114:3: warning: âENGINE_up_refâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 114 | ENGINE_up_ref(eng); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:494:27: note: declared here > 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c:115:3: warning: âENGINE_get_prevâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 115 | eng = ENGINE_get_prev(eng); > | ^~~ >/usr/include/openssl/engine.h:324:31: note: declared here > 324 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_prev(ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_addâ: >src/engine.c:128:3: warning: âENGINE_addâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 128 | int ret = ENGINE_add(eng); > | ^~~ >/usr/include/openssl/engine.h:328:27: note: declared here > 328 | OSSL_DEPRECATEDIN_3_0 int ENGINE_add(ENGINE *e); > | ^~~~~~~~~~ >src/engine.c: In function âopenssl_engine_removeâ: >src/engine.c:136:3: warning: âENGINE_removeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 136 | int ret = ENGINE_remove(eng); > | ^~~ >/usr/include/openssl/engine.h:332:27: note: declared here > 332 | OSSL_DEPRECATEDIN_3_0 int ENGINE_remove(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_registerâ: >src/engine.c:159:9: warning: âENGINE_unregister_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 159 | ENGINE_unregister_RSA(eng); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:379:28: note: declared here > 379 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:161:9: warning: âENGINE_register_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 161 | ENGINE_register_RSA(eng); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:378:27: note: declared here > 378 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_resetâ: >src/engine.c:165:9: warning: âENGINE_unregister_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 165 | ENGINE_unregister_DSA(eng); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:382:28: note: declared here > 382 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:167:9: warning: âENGINE_register_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 167 | ENGINE_register_DSA(eng); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:381:27: note: declared here > 381 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~ >src/digest.c:409:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 409 | const EVP_MD *md = EVP_MD_CTX_md(ctx); > | ^~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/engine.c:185:9: warning: âENGINE_unregister_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 185 | ENGINE_unregister_EC(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:385:28: note: declared here > 385 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:187:9: warning: âENGINE_register_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 187 | ENGINE_register_EC(eng); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:384:27: note: declared here > 384 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c:192:9: warning: âENGINE_unregister_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 192 | ENGINE_unregister_DH(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:388:28: note: declared here > 388 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:194:9: warning: âENGINE_register_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 194 | ENGINE_register_DH(eng); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:387:27: note: declared here > 387 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c:198:9: warning: âENGINE_unregister_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 198 | ENGINE_unregister_RAND(eng); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:391:28: note: declared here > 391 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_dataâ: >src/engine.c:200:9: warning: âENGINE_register_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 200 | ENGINE_register_RAND(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:390:27: note: declared here > 390 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/digest.c:487:3: warning: âEVP_MD_meth_get_app_datasizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 487 | size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); > | ^~~~~~ >src/engine.c:212:9: warning: âENGINE_unregister_pkey_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 212 | ENGINE_unregister_pkey_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:400:28: note: declared here > 400 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_pkey_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:138:27: note: declared here > 138 | OSSL_DEPRECATEDIN_3_0 int EVP_MD_meth_get_app_datasize(const EVP_MD *md); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:214:9: warning: âENGINE_register_pkey_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 214 | ENGINE_register_pkey_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:399:27: note: declared here > 399 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_pkey_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:218:9: warning: âENGINE_unregister_pkey_asn1_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 218 | ENGINE_unregister_pkey_asn1_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:487:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 487 | size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); > | ^~~~~~ >/usr/include/openssl/engine.h:403:28: note: declared here > 403 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_pkey_asn1_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/engine.c:220:9: warning: âENGINE_register_pkey_asn1_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 220 | ENGINE_register_pkey_asn1_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:402:27: note: declared here > 402 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_pkey_asn1_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:225:9: warning: âENGINE_unregister_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 225 | ENGINE_unregister_ciphers(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:394:28: note: declared here > 394 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:227:9: warning: âENGINE_register_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 227 | ENGINE_register_ciphers(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:393:27: note: declared here > 393 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:495:5: warning: âEVP_MD_meth_get_app_datasizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 495 | if (ctx_size == (size_t)EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx))) > | ^~ >/usr/include/openssl/evp.h:138:27: note: declared here > 138 | OSSL_DEPRECATEDIN_3_0 int EVP_MD_meth_get_app_datasize(const EVP_MD *md); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:231:9: warning: âENGINE_unregister_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 231 | ENGINE_unregister_digests(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:397:28: note: declared here > 397 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:233:9: warning: âENGINE_register_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 233 | ENGINE_register_digests(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:396:27: note: declared here > 396 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:495:5: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 495 | if (ctx_size == (size_t)EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx))) > | ^~ >src/engine.c:237:7: warning: âENGINE_register_completeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 237 | int ret = ENGINE_register_complete(eng); > | ^~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:414:27: note: declared here > 414 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_complete(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_ctrlâ: >src/engine.c:259:7: warning: âENGINE_cmd_is_executableâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 259 | ret = ENGINE_cmd_is_executable(eng, cmd); > | ^~~ >/usr/include/openssl/engine.h:440:27: note: declared here > 440 | OSSL_DEPRECATEDIN_3_0 int ENGINE_cmd_is_executable(ENGINE *e, int cmd); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:268:7: warning: âENGINE_ctrlâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 268 | ret = ENGINE_ctrl(eng, cmd, i, p, arg); > | ^~~ >/usr/include/openssl/engine.h:429:27: note: declared here > 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, > | ^~~~~~~~~~~ >src/engine.c:282:9: warning: âENGINE_ctrl_cmdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 282 | ret = ENGINE_ctrl_cmd(eng, cmd, i, (void*)s, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:450:27: note: declared here > 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, > | ^~~~~~~~~~~~~~~ >src/engine.c:289:9: warning: âENGINE_ctrl_cmdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 289 | ret = ENGINE_ctrl_cmd(eng, cmd, i, p, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:450:27: note: declared here > 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, > | ^~~~~~~~~~~~~~~ >src/engine.c:296:7: warning: âENGINE_ctrl_cmd_stringâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 296 | ret = ENGINE_ctrl_cmd_string(eng, cmd, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:479:5: note: declared here > 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_gcâ: >src/engine.c:305:3: warning: âENGINE_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 305 | ENGINE_free(eng); > | ^~~~~~~~~~~ >/usr/include/openssl/engine.h:493:27: note: declared here > 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); > | ^~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_idâ: >src/engine.c:317:5: warning: âENGINE_set_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 317 | ret = ENGINE_set_id(eng, id); > | ^~~ >/usr/include/openssl/engine.h:495:27: note: declared here > 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); > | ^~~~~~~~~~~~~ >src/engine.c:320:5: warning: âENGINE_get_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 320 | lua_pushstring(L, ENGINE_get_id(eng)); > | ^~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:552:35: note: declared here > 552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_nameâ: >src/engine.c:333:5: warning: âENGINE_set_nameâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 333 | ret = ENGINE_set_name(eng, id); > | ^~~ >/usr/include/openssl/engine.h:496:27: note: declared here > 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); > | ^~~~~~~~~~~~~~~ >src/engine.c:336:5: warning: âENGINE_get_nameâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 336 | lua_pushstring(L, ENGINE_get_name(eng)); > | ^~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:553:35: note: declared here > 553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_flagsâ: >src/engine.c:347:5: warning: âENGINE_set_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 347 | int ret = ENGINE_set_flags(eng, flags); > | ^~~ >/usr/include/openssl/engine.h:525:27: note: declared here > 525 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_flags(ENGINE *e, int flags); > | ^~~~~~~~~~~~~~~~ >src/engine.c:350:5: warning: âENGINE_get_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 350 | lua_pushinteger(L, ENGINE_get_flags(eng)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:598:27: note: declared here > 598 | OSSL_DEPRECATEDIN_3_0 int ENGINE_get_flags(const ENGINE *e); > | ^~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_initâ: >src/engine.c:361:3: warning: âENGINE_initâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 361 | int ret = ENGINE_init(eng); > | ^~~ >/usr/include/openssl/engine.h:620:27: note: declared here > 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); > | ^~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_finishâ: >src/engine.c:369:3: warning: âENGINE_finishâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 369 | int ret = ENGINE_finish(eng); > | ^~~ >/usr/include/openssl/engine.h:628:27: note: declared here > 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_set_defaultâ: >src/engine.c:387:7: warning: âENGINE_set_default_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 387 | ret = ENGINE_set_default_RSA(eng); > | ^~~ >/usr/include/openssl/engine.h:684:27: note: declared here > 684 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:390:7: warning: âENGINE_set_default_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 390 | ret = ENGINE_set_default_DSA(eng); > | ^~~ >/usr/include/openssl/engine.h:690:27: note: declared here > 690 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:401:7: warning: âENGINE_set_default_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 401 | ret = ENGINE_set_default_EC(eng); > | ^~~ >/usr/include/openssl/engine.h:691:27: note: declared here > 691 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:405:7: warning: âENGINE_set_default_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 405 | ret = ENGINE_set_default_DH(eng); > | ^~~ >/usr/include/openssl/engine.h:692:27: note: declared here > 692 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:408:7: warning: âENGINE_set_default_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 408 | ret = ENGINE_set_default_RAND(eng); > | ^~~ >/usr/include/openssl/engine.h:693:27: note: declared here > 693 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:411:7: warning: âENGINE_set_default_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 411 | ret = ENGINE_set_default_ciphers(eng); > | ^~~ >/usr/include/openssl/engine.h:694:27: note: declared here > 694 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:414:7: warning: âENGINE_set_default_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 414 | ret = ENGINE_set_default_digests(eng); > | ^~~ >/usr/include/openssl/engine.h:695:27: note: declared here > 695 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_set_rand_engineâ: >src/engine.c:430:3: warning: âRAND_set_rand_engineâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 430 | int ret = RAND_set_rand_engine(eng); > | ^~~ >In file included from /usr/include/openssl/engine.h:29: >/usr/include/openssl/rand.h:52:27: note: declared here > 52 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_private_keyâ: >src/engine.c:438:3: warning: âENGINE_load_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 438 | EVP_PKEY *pkey = ENGINE_load_private_key(eng, key_id, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/engine.h:638:11: note: declared here > 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_public_keyâ: >src/engine.c:451:3: warning: âENGINE_load_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 451 | EVP_PKEY *pkey = ENGINE_load_public_key(eng, key_id, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/engine.h:641:11: note: declared here > 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_ssl_client_certâ: >src/engine.c:470:3: warning: âENGINE_load_ssl_client_certâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 470 | int ret = ENGINE_load_ssl_client_cert(eng, s, ca_dn, > | ^~~ >/usr/include/openssl/engine.h:644:5: note: declared here > 644 | int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s, STACK_OF(X509_NAME) *ca_dn, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/openssl.o src/openssl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ots.o src/ots.c >src/lbn.c: In function âluaopen_bnâ: >src/lbn.c:486:3: warning: âERR_load_BN_stringsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 486 | ERR_load_BN_strings(); > | ^~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/cryptoerr.h:17, > from /usr/include/openssl/crypto.h:38, > from /usr/include/openssl/bn.h:26, > from src/lbn.c:12: >/usr/include/openssl/cryptoerr_legacy.h:32:27: note: declared here > 32 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BN_strings(void); > | ^~~~~~~~~~~~~~~~~~~ >src/hmac.c: In function âopenssl_hmac_ctx_newâ: >src/hmac.c:170:25: warning: pointer targets in passing argument 2 of âEVP_MAC_initâ differ in signedness [-Wpointer-sign] > 170 | ret = EVP_MAC_init(c, k, l, params); > | ^ > | | > | const char * >In file included from src/openssl.h:19, > from src/hmac.c:9: >/usr/include/openssl/evp.h:1220:57: note: expected âconst unsigned char *â but argument is of type âconst char *â > 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > | ~~~~~~~~~~~~~~~~~~~~~^~~ >src/hmac.c: In function âopenssl_hmacâ: >src/hmac.c:258:31: warning: pointer targets in passing argument 2 of âEVP_MAC_initâ differ in signedness [-Wpointer-sign] > 258 | ret = EVP_MAC_init(ctx, k, l, params); > | ^ > | | > | const char * >/usr/include/openssl/evp.h:1220:57: note: expected âconst unsigned char *â but argument is of type âconst char *â > 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > | ~~~~~~~~~~~~~~~~~~~~~^~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkcs12.o src/pkcs12.c >src/ocsp.c: In function âopenssl_ocsp_request_readâ: >src/ocsp.c:124:29: warning: passing argument 1 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 124 | OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char * (*)() >In file included from src/openssl.h:23, > from src/ocsp.c:7: >/usr/include/openssl/pem.h:388:38: note: expected âvoid * (*)(void **, const unsigned char **, long int)â but argument is of type âchar * (*)()â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~~~~~~~^~~ >src/ocsp.c:124:29: warning: passing argument 4 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 124 | OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char ** >/usr/include/openssl/pem.h:388:77: note: expected âvoid **â but argument is of type âchar **â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~^ >src/ocsp.c: In function âopenssl_ocsp_response_readâ: >src/ocsp.c:306:30: warning: passing argument 1 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 306 | OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char * (*)() >/usr/include/openssl/pem.h:388:38: note: expected âvoid * (*)(void **, const unsigned char **, long int)â but argument is of type âchar * (*)()â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~~~~~~~^~~ >src/ocsp.c:306:30: warning: passing argument 4 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 306 | OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char ** >/usr/include/openssl/pem.h:388:77: note: expected âvoid **â but argument is of type âchar **â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~^ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkcs7.o src/pkcs7.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkey.o src/pkey.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/rsa.o src/rsa.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ssl.o src/ssl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/th-lock.o src/th-lock.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/util.o src/util.c >src/openssl.c: In function âluaopen_opensslâ: >src/openssl.c:540:5: warning: âENGINE_load_builtin_enginesâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 540 | ENGINE_load_builtin_engines(); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from src/openssl.c:12: >/usr/include/openssl/engine.h:358:28: note: declared here > 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/x509.o src/x509.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xattrs.o src/xattrs.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xexts.o src/xexts.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xname.o src/xname.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xstore.o src/xstore.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xalgor.o src/xalgor.c >src/pkey.c: In function âopenssl_pkey_is_privateâ: >src/pkey.c:32:5: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 32 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~ >In file included from src/openssl.h:19, > from src/pkey.c:7: >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:32:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 32 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:35:5: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 35 | RSA_get0_key(rsa, NULL, NULL, &d); > | ^~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:36, > from src/openssl.h:20: >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/pkey.c:43:5: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 43 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:43:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 43 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:45:5: warning: âDSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 45 | DSA_get0_key(dsa, NULL, &p); > | ^~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:37: >/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, > | ^~~~~~~~~~~~ >src/pkey.c:53:5: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 53 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:53:14: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 53 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:55:5: warning: âDH_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 55 | DH_get0_key(dh, NULL, &p); > | ^~~~~~~~~~~ >In file included from /usr/include/openssl/dsa.h:51: >/usr/include/openssl/dh.h:256:28: note: declared here > 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, > | ^~~~~~~~~~~ >src/pkey.c:63:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 63 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:63:18: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 63 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:64:5: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 64 | const BIGNUM *p = EC_KEY_get0_private_key(ec); > | ^~~~~ >In file included from /usr/include/openssl/x509.h:33: >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_is_sm2â: >src/pkey.c:87:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 87 | const EC_KEY *ec = EVP_PKEY_get0_EC_KEY((EVP_PKEY*)pkey); > | ^~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:88:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 88 | const EC_GROUP *grp = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_readâ: >src/pkey.c:128:9: warning: âPEM_read_bio_RSAPublicKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 128 | RSA* rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL); > | ^~~ >In file included from src/openssl.h:23: >/usr/include/openssl/pem.h:448:1: note: declared here > 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:132:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 132 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:138:9: warning: âPEM_read_bio_DSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 138 | DSA* dsa = PEM_read_bio_DSA_PUBKEY(in, NULL, NULL, NULL); > | ^~~ >/usr/include/openssl/pem.h:454:1: note: declared here > 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:142:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 142 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:148:9: warning: âPEM_read_bio_EC_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 148 | EC_KEY *ec = PEM_read_bio_EC_PUBKEY(in, NULL, NULL, NULL); > | ^~~~~~ >/usr/include/openssl/pem.h:463:1: note: declared here > 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:152:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 152 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:170:9: warning: âd2i_RSAPublicKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 170 | RSA *rsa = d2i_RSAPublicKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:618:28: note: declared here > 618 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:174:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 174 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:180:9: warning: âd2i_DSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 180 | DSA *dsa = d2i_DSA_PUBKEY_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:625:28: note: declared here > 625 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:184:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 184 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:190:9: warning: âd2i_EC_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 190 | EC_KEY *ec = d2i_EC_PUBKEY_bio(in, NULL); > | ^~~~~~ >/usr/include/openssl/x509.h:634:31: note: declared here > 634 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:194:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 194 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:218:9: warning: âd2i_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 218 | RSA *rsa = d2i_RSAPrivateKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:616:28: note: declared here > 616 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:222:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 222 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:228:9: warning: âd2i_DSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 228 | DSA *dsa = d2i_DSAPrivateKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:627:28: note: declared here > 627 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:232:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 232 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:238:9: warning: âd2i_ECPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 238 | EC_KEY *ec = d2i_ECPrivateKey_bio(in, NULL); > | ^~~~~~ >/usr/include/openssl/x509.h:636:31: note: declared here > 636 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:242:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 242 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c: In function âEC_KEY_generate_key_partâ: >src/pkey.c:279:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 279 | group = EC_KEY_get0_group(eckey); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:283:3: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 283 | priv_key = (BIGNUM*)EC_KEY_get0_private_key(eckey); > | ^~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:295:3: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 295 | pub_key = (EC_POINT *)EC_KEY_get0_public_key(eckey); > | ^~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:302:5: warning: âEC_KEY_set_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 302 | EC_KEY_set_public_key(eckey, 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); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:304:5: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 304 | pub_key = (EC_POINT *)EC_KEY_get0_public_key(eckey); > | ^~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:309:3: warning: âEC_POINT_make_affineâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | EC_POINT_make_affine(EC_KEY_get0_group(eckey), > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:844:27: note: declared here > 844 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_make_affine(const EC_GROUP *group, > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:309:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | EC_POINT_make_affine(EC_KEY_get0_group(eckey), > | ^~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_newâ: >src/pkey.c:389:7: warning: âRSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 389 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:202:28: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:389:7: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 389 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/pkey.c:390:7: warning: âRSA_generate_key_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 390 | if (RSA_generate_key_ex(rsa, bits, E, NULL)) > | ^~ >/usr/include/openssl/rsa.h:260:27: note: declared here > 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:393:9: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 393 | EVP_PKEY_assign_RSA(pkey, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:396:9: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 396 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:407:7: warning: âDSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 407 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:126:28: note: declared here > 126 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:407:7: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 407 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/pkey.c:408:7: warning: âDSA_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 408 | if (DSA_generate_parameters_ex(dsa, bits, (byte*)seed, seed_len, NULL, NULL, NULL) > | ^~ >/usr/include/openssl/dsa.h:167:27: note: declared here > 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:409:11: warning: âDSA_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 409 | && 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:412:9: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 412 | EVP_PKEY_assign_DSA(pkey, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:415:9: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 415 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/pkey.c:471:7: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 471 | ec = EC_KEY_new(); > | ^~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/pkey.c:474:9: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 474 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:476:9: warning: âEC_KEY_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 476 | if (EC_KEY_generate_key(ec)) > | ^~ >/usr/include/openssl/ec.h:1101:27: note: declared here > 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:479:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 479 | EVP_PKEY_assign_EC_KEY(pkey, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:482:11: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 482 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/pkey.c:503:9: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 503 | RSA *rsa = RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/pkey.c:540:11: warning: âRSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 540 | if (RSA_set0_key(rsa, n, e, d) == 1 > | ^~ >/usr/include/openssl/rsa.h:207:27: note: declared here > 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); > | ^~~~~~~~~~~~ >src/pkey.c:541:15: warning: âRSA_set0_factorsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 541 | && (p == NULL || RSA_set0_factors(rsa, p, q) == 1) > | ^~ >/usr/include/openssl/rsa.h:208:27: note: declared here > 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:542:15: warning: âRSA_set0_crt_paramsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 542 | && (dmp1 == NULL || RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp) == 1) ) > | ^~ >/usr/include/openssl/rsa.h:209:27: note: declared here > 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:544:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 544 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:546:15: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 546 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:554:13: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 554 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:567:9: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 567 | DSA *dsa = DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/pkey.c:593:11: warning: âDSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 593 | if (DSA_set0_key(dsa, pub_key, priv_key) == 1 > | ^~ >/usr/include/openssl/dsa.h:206:27: note: declared here > 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, > | ^~~~~~~~~~~~ >src/pkey.c:594:15: warning: âDSA_set0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 594 | && DSA_set0_pqg(dsa, p, q, g)) > | ^~ >/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); > | ^~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_freeâ: >src/rsa.c:15:3: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | RSA_free(rsa); > | ^~~~~~~~ >src/pkey.c:596:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 596 | if (!EVP_PKEY_assign_DSA(pkey, dsa)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:36, > from src/openssl.h:20, > from src/rsa.c:7: >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/rsa.c: In function âis_privateâ: >src/rsa.c:22:3: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 22 | RSA_get0_key(rsa, NULL, NULL, &d); > | ^~~~~~~~~~~~ >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/pkey.c:598:15: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 598 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_sizeâ: >src/rsa.c:36:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 36 | lua_pushinteger(L, RSA_size(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/pkey.c:605:13: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 605 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_encryptâ: >src/rsa.c:47:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | unsigned char* to = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:51:10: warning: âRSA_private_encryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 51 | ? RSA_private_encrypt(flen, from, to, rsa, padding) > | ^ >/usr/include/openssl/rsa.h:285:5: note: declared here > 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:52:10: warning: âRSA_public_encryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 52 | : RSA_public_encrypt(flen, from, to, rsa, padding); > | ^ >/usr/include/openssl/rsa.h:282:5: note: declared here > 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:619:9: warning: âDH_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 619 | DH *dh = DH_new(); > | ^~ >/usr/include/openssl/dh.h:199:27: note: declared here > 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); > | ^~~~~~ >src/rsa.c: In function âopenssl_rsa_decryptâ: >src/rsa.c:70:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 70 | unsigned char* to = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:74:10: warning: âRSA_private_decryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 74 | ? RSA_private_decrypt(flen, from, to, rsa, padding) > | ^ >/usr/include/openssl/rsa.h:291:5: note: declared here > 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:645:11: warning: âDH_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 645 | if (DH_set0_key(dh, pub_key, priv_key) == 1 > | ^~ >/usr/include/openssl/dh.h:258:27: note: declared here > 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); > | ^~~~~~~~~~~ >src/rsa.c:75:10: warning: âRSA_public_decryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 75 | : RSA_public_decrypt(flen, from, to, rsa, padding); > | ^ >/usr/include/openssl/rsa.h:288:5: note: declared here > 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:646:15: warning: âDH_set0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 646 | && DH_set0_pqg(dh, p, q, g)) > | ^~ >/usr/include/openssl/dh.h:255:27: note: declared here > 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); > | ^~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_signâ: >src/rsa.c:92:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 92 | unsigned char* sig = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:94:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 94 | unsigned int slen = RSA_size(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:96:3: warning: âRSA_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 96 | int ret = RSA_sign(EVP_MD_type(md), msg, flen, sig, &slen, rsa); > | ^~~ >/usr/include/openssl/rsa.h:348:27: note: declared here > 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, > | ^~~~~~~~ >src/pkey.c:648:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 648 | if (!EVP_PKEY_assign_DH(pkey, dh)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:650:15: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 650 | DH_free(dh); > | ^~~~~~~ >src/rsa.c: In function âopenssl_rsa_verifyâ: >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/rsa.c:118:3: warning: âRSA_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 118 | int ret = RSA_verify(EVP_MD_type(md), from, flen, sig, slen, rsa); > | ^~~ >/usr/include/openssl/rsa.h:351:27: note: declared here > 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, > | ^~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_parseâ: >src/rsa.c:129:3: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 129 | RSA_get0_key(rsa, &n, &e, &d); > | ^~~~~~~~~~~~ >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/pkey.c:658:13: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 658 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/rsa.c:130:3: warning: âRSA_get0_factorsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 130 | RSA_get0_factors(rsa, &p, &q); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:220:28: note: declared here > 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, > | ^~~~~~~~~~~~~~~~ >src/rsa.c:131:3: warning: âRSA_get0_crt_paramsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 131 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:225:28: note: declared here > 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:135:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 135 | lua_pushinteger(L, RSA_size(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:137:3: warning: âRSA_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 137 | lua_pushinteger(L, RSA_bits(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:203:27: note: declared here > 203 | OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa); > | ^~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/callback.o src/callback.c >src/rsa.c: In function âopenssl_rsa_readâ: >src/rsa.c:156:3: warning: âd2i_RSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 156 | RSA *rsa = ispriv ? d2i_RSAPrivateKey(NULL, &in, l) > | ^~~ >In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from src/openssl.h:19: >/usr/include/openssl/rsa.h:309:1: note: declared here > 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:157:14: warning: âd2i_RSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 157 | : d2i_RSA_PUBKEY(NULL, &in, l); > | ^ >/usr/include/openssl/x509.h:710:1: note: declared here > 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_exportâ: >src/pkey.c:696:9: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 696 | EC_KEY *ec = EC_KEY_new(); > | ^~~~~~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/rsa.c:173:3: warning: âi2d_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 173 | int len = ispriv ? i2d_RSAPrivateKey_bio(out, rsa) > | ^~~ >/usr/include/openssl/x509.h:617:27: note: declared here > 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:174:13: warning: âi2d_RSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 174 | : i2d_RSA_PUBKEY_bio(out, rsa); > | ^ >/usr/include/openssl/x509.h:621:27: note: declared here > 621 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:699:11: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 699 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_set_engineâ: >src/rsa.c:195:3: warning: âENGINE_get_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 195 | const RSA_METHOD *m = ENGINE_get_RSA(e); > | ^~~~~ >src/pkey.c:701:13: warning: âEC_KEY_set_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 701 | EC_KEY_set_private_key(ec, d); > | ^~~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >In file included from src/rsa.c:10: >/usr/include/openssl/engine.h:554:41: note: declared here > 554 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/rsa.c:198:5: warning: âRSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 198 | int r = RSA_set_method(rsa, m); > | ^~~ >/usr/include/openssl/rsa.h:302:27: note: declared here > 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); > | ^~~~~~~~~~~~~~ >src/pkey.c:707:13: warning: âEC_KEY_set_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 707 | EC_KEY_set_public_key(ec, pnt); > | ^~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_generate_keyâ: >src/rsa.c:213:3: warning: âRSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 213 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:202:28: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/rsa.c:213:3: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 213 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/rsa.c:216:3: warning: âRSA_generate_key_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 216 | ret = RSA_generate_key_ex(rsa, bits, E, NULL); > | ^~~ >src/pkey.c:713:11: warning: âEC_KEY_check_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 713 | if (EC_KEY_check_key(ec) == 0 || EVP_PKEY_assign_EC_KEY(pkey, ec) == 0) > | ^~ >/usr/include/openssl/rsa.h:260:27: note: declared here > 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1107:27: note: declared here > 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~ >src/rsa.c:223:5: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 223 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:713:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 713 | if (EC_KEY_check_key(ec) == 0 || EVP_PKEY_assign_EC_KEY(pkey, ec) == 0) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_padding_addâ: >src/pkey.c:715:13: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 715 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >src/rsa.c:267:7: warning: âRSA_padding_add_PKCS1_type_1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 267 | ret = RSA_padding_add_PKCS1_type_1(to, sz,from, l); > | ^~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >/usr/include/openssl/rsa.h:376:5: note: declared here > 376 | int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:271:7: warning: âRSA_padding_add_PKCS1_type_2â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 271 | ret = RSA_padding_add_PKCS1_type_2(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:383:5: note: declared here > 383 | int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:284:5: warning: âRSA_padding_add_noneâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 284 | ret = RSA_padding_add_none(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:411:27: note: declared here > 411 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:733:5: warning: âEVP_PKEY_set1_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 733 | EVP_PKEY_set1_RSA(pkey, rsa); > | ^~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1344:5: note: declared here > 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); > | ^~~~~~~~~~~~~~~~~ >src/rsa.c:292:7: warning: âRSA_padding_add_PKCS1_OAEPâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 292 | ret = RSA_padding_add_PKCS1_OAEP(to, sz,from, l, p, pl); > | ^~~ >/usr/include/openssl/rsa.h:393:5: note: declared here > 393 | int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:298:7: warning: âRSA_padding_add_PKCS1_OAEP_mgf1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 298 | ret = RSA_padding_add_PKCS1_OAEP_mgf1(to, sz,from, l, p, pl, md, mgf1md); > | ^~~ >/usr/include/openssl/rsa.h:401:5: note: declared here > 401 | int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:739:5: warning: âEVP_PKEY_set1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 739 | EVP_PKEY_set1_EC_KEY(pkey, ec); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1370:5: note: declared here > 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_padding_checkâ: >src/pkey.c:745:5: warning: âEVP_PKEY_set1_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 745 | EVP_PKEY_set1_DH(pkey, dh); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1362:27: note: declared here > 1362 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); > | ^~~~~~~~~~~~~~~~ >src/rsa.c:341:7: warning: âRSA_padding_check_PKCS1_type_1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 341 | ret = RSA_padding_check_PKCS1_type_1(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:379:5: note: declared here > 379 | int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:345:7: warning: âRSA_padding_check_PKCS1_type_2â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 345 | ret = RSA_padding_check_PKCS1_type_2(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:386:5: note: declared here > 386 | int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:751:5: warning: âEVP_PKEY_set1_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 751 | EVP_PKEY_set1_DSA(pkey, dsa); > | ^~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1353:5: note: declared here > 1353 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); > | ^~~~~~~~~~~~~~~~~ >src/rsa.c:362:7: warning: âRSA_padding_check_PKCS1_OAEPâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 362 | ret = RSA_padding_check_PKCS1_OAEP(to, sz,from, l, sz, p, pl); > | ^~~ >/usr/include/openssl/rsa.h:397:5: note: declared here > 397 | int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:368:7: warning: âRSA_padding_check_PKCS1_OAEP_mgf1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 368 | ret = RSA_padding_check_PKCS1_OAEP_mgf1(to, sz,from, l, sz, p, pl, md, mgf1md); > | ^~~ >/usr/include/openssl/rsa.h:406:5: note: declared here > 406 | int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:373:5: warning: âRSA_padding_check_noneâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 373 | ret = RSA_padding_check_none(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:413:27: note: declared here > 413 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_check_none(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_exportâ: >src/pkey.c:832:9: warning: âPEM_write_bio_RSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 832 | ret = ispriv ? PEM_write_bio_RSAPrivateKey(bio_out, EVP_PKEY_get0_RSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:447:1: note: declared here > 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:832:9: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 832 | ret = ispriv ? PEM_write_bio_RSAPrivateKey(bio_out, EVP_PKEY_get0_RSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:833:15: warning: âPEM_write_bio_RSAPublicKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 833 | : PEM_write_bio_RSAPublicKey(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/pem.h:448:1: note: declared here > 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:833:15: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 833 | : PEM_write_bio_RSAPublicKey(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:837:9: warning: âPEM_write_bio_DSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 837 | ret = ispriv ? PEM_write_bio_DSAPrivateKey(bio_out, EVP_PKEY_get0_DSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:453:1: note: declared here > 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:837:9: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 837 | ret = ispriv ? PEM_write_bio_DSAPrivateKey(bio_out, EVP_PKEY_get0_DSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:838:15: warning: âPEM_write_bio_DSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 838 | : PEM_write_bio_DSA_PUBKEY(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/pem.h:454:1: note: declared here > 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:838:15: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 838 | : PEM_write_bio_DSA_PUBKEY(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:843:9: warning: âPEM_write_bio_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 843 | ret = ispriv ? PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:462:1: note: declared here > 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:843:9: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 843 | ret = ispriv ? PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:844:15: warning: âPEM_write_bio_EC_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 844 | : PEM_write_bio_EC_PUBKEY(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/pem.h:463:1: note: declared here > 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:844:15: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 844 | : PEM_write_bio_EC_PUBKEY(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:869:9: warning: âi2d_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 869 | ret = ispriv ? i2d_RSAPrivateKey_bio(bio_out, EVP_PKEY_get0_RSA(key)) > | ^~~ >/usr/include/openssl/x509.h:617:27: note: declared here > 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:869:9: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 869 | ret = ispriv ? i2d_RSAPrivateKey_bio(bio_out, EVP_PKEY_get0_RSA(key)) > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:870:15: warning: âi2d_RSAPublicKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 870 | : i2d_RSAPublicKey_bio(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/x509.h:619:27: note: declared here > 619 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPublicKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:870:15: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 870 | : i2d_RSAPublicKey_bio(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:874:9: warning: âi2d_DSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 874 | ret = ispriv ? i2d_DSAPrivateKey_bio(bio_out, EVP_PKEY_get0_DSA(key)) > | ^~~ >/usr/include/openssl/x509.h:628:27: note: declared here > 628 | OSSL_DEPRECATEDIN_3_0 int i2d_DSAPrivateKey_bio(BIO *bp, const DSA *dsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:874:9: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 874 | ret = ispriv ? i2d_DSAPrivateKey_bio(bio_out, EVP_PKEY_get0_DSA(key)) > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:875:15: warning: âi2d_DSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 875 | : i2d_DSA_PUBKEY_bio(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/x509.h:626:27: note: declared here > 626 | OSSL_DEPRECATEDIN_3_0 int i2d_DSA_PUBKEY_bio(BIO *bp, const DSA *dsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:875:15: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 875 | : i2d_DSA_PUBKEY_bio(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:880:9: warning: âi2d_ECPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 880 | ret = ispriv ? i2d_ECPrivateKey_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)) > | ^~~ >/usr/include/openssl/x509.h:637:27: note: declared here > 637 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:880:9: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 880 | ret = ispriv ? i2d_ECPrivateKey_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)) > | ^~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/srp.o src/srp.c >src/pkey.c:881:15: warning: âi2d_EC_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 881 | : i2d_EC_PUBKEY_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/x509.h:635:27: note: declared here > 635 | OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *eckey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:881:15: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 881 | : i2d_EC_PUBKEY_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_parseâ: >src/pkey.c:1025:7: warning: âEVP_PKEY_get1_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1025 | RSA* rsa = EVP_PKEY_get1_RSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1348:16: note: declared here > 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1033:7: warning: âEVP_PKEY_get1_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1033 | DSA* dsa = EVP_PKEY_get1_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1357:16: note: declared here > 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1041:7: warning: âEVP_PKEY_get1_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1041 | DH* dh = EVP_PKEY_get1_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1364:37: note: declared here > 1364 | OSSL_DEPRECATEDIN_3_0 struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1053:7: warning: âEVP_PKEY_get1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1053 | const EC_KEY* ec = EVP_PKEY_get1_EC_KEY(pkey); > | ^~~~~ >/usr/include/openssl/evp.h:1374:19: note: declared here > 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_deriveâ: >src/pkey.c:1244:3: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1244 | if ( (ptype != EVP_PKEY_DH && EVP_PKEY_get0_DH(pkey)!=NULL) > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1245:8: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1245 | || (ptype != EVP_PKEY_EC && EVP_PKEY_get0_EC_KEY(pkey)!=NULL) ) > | ^~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_set_engineâ: >src/pkey.c:1885:5: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1885 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1885:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1885 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1886:5: warning: âENGINE_get_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1886 | const RSA_METHOD *m = ENGINE_get_RSA(eng); > | ^~~~~ >In file included from src/pkey.c:12: >/usr/include/openssl/engine.h:554:41: note: declared here > 554 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/pkey.c:1888:7: warning: âRSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1888 | ret = RSA_set_method(rsa, m); > | ^~~ >/usr/include/openssl/rsa.h:302:27: note: declared here > 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); > | ^~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.1 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o deps/auxiliar/subsidiar.o deps/auxiliar/subsidiar.c >src/pkey.c:1895:5: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1895 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1895:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1895 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1896:5: warning: âENGINE_get_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1896 | const DSA_METHOD *m = ENGINE_get_DSA(eng); > | ^~~~~ >/usr/include/openssl/engine.h:555:41: note: declared here > 555 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/pkey.c:1898:7: warning: âDSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1898 | ret = DSA_set_method(dsa, m); > | ^~~ >/usr/include/openssl/dsa.h:122:27: note: declared here > 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); > | ^~~~~~~~~~~~~~ >src/pkey.c:1905:5: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1905 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1905:14: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1905 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1906:5: warning: âENGINE_get_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1906 | const DH_METHOD *m = ENGINE_get_DH(eng); > | ^~~~~ >/usr/include/openssl/engine.h:557:40: note: declared here > 557 | OSSL_DEPRECATEDIN_3_0 const DH_METHOD *ENGINE_get_DH(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/pkey.c:1908:7: warning: âDH_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1908 | ret = DH_set_method(dh, m); > | ^~~ >/usr/include/openssl/dh.h:196:27: note: declared here > 196 | OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth); > | ^~~~~~~~~~~~~ >src/pkey.c:1915:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1915 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:1915:18: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1915 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:1921:5: warning: âENGINE_get_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1921 | const EC_KEY_METHOD *m = ENGINE_get_EC(eng); > | ^~~~~ >/usr/include/openssl/engine.h:556:44: note: declared here > 556 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/pkey.c:1923:7: warning: âEC_KEY_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1923 | ret = EC_KEY_set_method(ec, m); > | ^~~ >/usr/include/openssl/ec.h:1283:27: note: declared here > 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); > | ^~~~~~~~~~~~~~~~~ >src/x509.c: In function âopenssl_push_general_nameâ: >src/x509.c:377:45: warning: passing argument 2 of âopenssl_push_asn1typeâ from incompatible pointer type [-Wincompatible-pointer-types] > 377 | openssl_push_asn1type(L, general_name->d.x400Address); > | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ > | | > | ASN1_STRING * {aka struct asn1_string_st *} >In file included from src/x509.c:11: >src/private.h:230:58: note: expected âconst ASN1_TYPE *â {aka âconst struct asn1_type_st *â} but argument is of type âASN1_STRING *â {aka âstruct asn1_string_st *â} > 230 | int openssl_push_asn1type(lua_State* L, const ASN1_TYPE* type); > | ~~~~~~~~~~~~~~~~~^~~~ >src/srp.c: In function âopenssl_srp_create_verifierâ: >src/srp.c:15:3: warning: âSRP_create_verifier_BNâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | int ret = SRP_create_verifier_BN(username, servpass, &salt, &verifier, GN->N, GN->g); > | ^~~ >In file included from src/srp.c:5: >/usr/include/openssl/srp.h:202:5: note: declared here > 202 | int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_bâ: >src/srp.c:46:5: warning: âSRP_Calc_Bâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 46 | Bpub = SRP_Calc_B(Brnd, GN->N, GN->g, v); > | ^~~~ >/usr/include/openssl/srp.h:240:9: note: declared here > 240 | BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g, > | ^~~~~~~~~~ >src/srp.c:47:5: warning: âSRP_Verify_B_mod_Nâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | ret = SRP_Verify_B_mod_N(Bpub, GN->N); > | ^~~ >/usr/include/openssl/srp.h:268:5: note: declared here > 268 | int SRP_Verify_B_mod_N(const BIGNUM *B, const BIGNUM *N); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_server_keyâ: >src/srp.c:73:3: warning: âSRP_Calc_server_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 73 | BIGNUM *Kserver = SRP_Calc_server_key(Apub, v, u, Brnd, GN->N); > | ^~~~~~ >/usr/include/openssl/srp.h:234:9: note: declared here > 234 | BIGNUM *SRP_Calc_server_key(const BIGNUM *A, const BIGNUM *v, const BIGNUM *u, > | ^~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_aâ: >src/srp.c:92:5: warning: âSRP_Calc_Aâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 92 | Apub = SRP_Calc_A(Arnd, GN->N, GN->g); > | ^~~~ >/usr/include/openssl/srp.h:259:9: note: declared here > 259 | BIGNUM *SRP_Calc_A(const BIGNUM *a, const BIGNUM *N, const BIGNUM *g); > | ^~~~~~~~~~ >src/srp.c:93:5: warning: âSRP_Verify_A_mod_Nâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 93 | ret = SRP_Verify_A_mod_N(Apub, GN->N); > | ^~~ >/usr/include/openssl/srp.h:244:5: note: declared here > 244 | int SRP_Verify_A_mod_N(const BIGNUM *A, const BIGNUM *N); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_xâ: >src/srp.c:116:3: warning: âSRP_Calc_xâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 116 | BIGNUM *x = SRP_Calc_x(s, username, password); > | ^~~~~~ >/usr/include/openssl/srp.h:257:9: note: declared here > 257 | BIGNUM *SRP_Calc_x(const BIGNUM *s, const char *user, const char *pass); > | ^~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_client_keyâ: >src/srp.c:130:3: warning: âSRP_Calc_client_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 130 | BIGNUM *Kclient = SRP_Calc_client_key(GN->N, Bpub, GN->g, x, Arnd, u); > | ^~~~~~ >/usr/include/openssl/srp.h:265:9: note: declared here > 265 | BIGNUM *SRP_Calc_client_key(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g, > | ^~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_get_default_gNâ: >src/srp.c:139:3: warning: âSRP_get_default_gNâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 139 | SRP_gN *GN = SRP_get_default_gN(id); > | ^~~~~~ >/usr/include/openssl/srp.h:230:9: note: declared here > 230 | SRP_gN *SRP_get_default_gN(const char *id); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_uâ: >src/srp.c:154:3: warning: âSRP_Calc_uâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 154 | BIGNUM *u = SRP_Calc_u(Apub, Bpub, GN->N); > | ^~~~~~ >/usr/include/openssl/srp.h:249:9: note: declared here > 249 | BIGNUM *SRP_Calc_u(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N); > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-ar rcs libopenssl.a src/asn1.o deps/auxiliar/auxiliar.o src/bio.o src/cipher.o src/cms.o src/compat.o src/crl.o src/csr.o src/dh.o src/digest.o src/dsa.o src/ec.o src/engine.o src/hmac.o src/lbn.o src/lhash.o src/misc.o src/ocsp.o src/openssl.o src/ots.o src/pkcs12.o src/pkcs7.o src/pkey.o src/rsa.o src/ssl.o src/th-lock.o src/util.o src/x509.o src/xattrs.o src/xexts.o src/xname.o src/xstore.o src/xalgor.o src/callback.o src/srp.o deps/auxiliar/subsidiar.o >x86_64-pc-linux-gnu-gcc -shared -o openssl.so src/openssl.o -L. -lopenssl -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fPIC -lssl -ldl -pthread -lcrypto -ldl -pthread >Target system: x86_64-pc-linux-gnu >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 > * lua5-3: running lua_src_compile >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-lua5-3 /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 >make -j16 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc LUA= 'LUA_CFLAGS=-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 ' 'LUA_LIBS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' LUA_VERSION=5.3 TARGET_SYS=x86_64-pc-linux-gnu >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/asn1.o src/asn1.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o deps/auxiliar/auxiliar.o deps/auxiliar/auxiliar.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/bio.o src/bio.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/cipher.o src/cipher.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/cms.o src/cms.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/compat.o src/compat.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/crl.o src/crl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/csr.o src/csr.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/dh.o src/dh.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/digest.o src/digest.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/dsa.o src/dsa.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ec.o src/ec.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/engine.o src/engine.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/hmac.o src/hmac.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/lbn.o src/lbn.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/lhash.o src/lhash.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/misc.o src/misc.c >src/cms.c: In function âluaopen_cmsâ: >src/cms.c:864:3: warning: âERR_load_CMS_stringsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 864 | ERR_load_CMS_strings(); > | ^~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/cryptoerr.h:17, > from /usr/include/openssl/crypto.h:38, > from /usr/include/openssl/bio.h:30, > from /usr/include/openssl/evp.h:30, > from src/openssl.h:19, > from src/cms.c:30: >/usr/include/openssl/cryptoerr_legacy.h:35:27: note: declared here > 35 | OSSL_DEPRECATEDIN_3_0 int ERR_load_CMS_strings(void); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ocsp.o src/ocsp.c >src/dh.c: In function âopenssl_dh_freeâ: >src/dh.c:15:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | DH_free(dh); > | ^~~~~~~ >In file included from /usr/include/openssl/dsa.h:51, > from /usr/include/openssl/x509.h:37, > from src/openssl.h:20, > from src/dh.c:7: >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dh.c: In function âopenssl_dh_parseâ: >src/dh.c:25:3: warning: âDH_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 25 | lua_pushinteger(L, DH_size(dh)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:203:27: note: declared here > 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); > | ^~~~~~~ >src/dh.c:28:3: warning: âDH_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 28 | lua_pushinteger(L, DH_bits(dh)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:202:27: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 int DH_bits(const DH *dh); > | ^~~~~~~ >src/dh.c:31:3: warning: âDH_get0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 31 | DH_get0_pqg(dh, &p, &q, &g); > | ^~~~~~~~~~~ >/usr/include/openssl/dh.h:253:28: note: declared here > 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, > | ^~~~~~~~~~~ >src/dh.c:32:3: warning: âDH_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 32 | DH_get0_key(dh, &pub, &pri); > | ^~~~~~~~~~~ >/usr/include/openssl/dh.h:256:28: note: declared here > 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, > | ^~~~~~~~~~~ >src/dh.c: In function âopenssl_dh_checkâ: >src/dh.c:52:5: warning: âDH_check_pub_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 52 | ret = DH_check_pub_key(dh, pub, &codes); > | ^~~ >/usr/include/openssl/dh.h:221:27: note: declared here > 221 | OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, > | ^~~~~~~~~~~~~~~~ >src/dh.c:54:5: warning: âDH_checkâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 54 | ret = DH_check(dh, &codes); > | ^~~ >/usr/include/openssl/dh.h:220:27: note: declared here > 220 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); > | ^~~~~~~~ >src/dh.c: In function âopenssl_dh_generate_parametersâ: >src/dh.c:68:3: warning: âDH_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | DH *dh = eng ? DH_new_method(eng) : DH_new(); > | ^~ >/usr/include/openssl/dh.h:197:27: note: declared here > 197 | OSSL_DEPRECATEDIN_3_0 DH *DH_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~ >src/dh.c:68:3: warning: âDH_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | DH *dh = eng ? DH_new_method(eng) : DH_new(); > | ^~ >/usr/include/openssl/dh.h:199:27: note: declared here > 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); > | ^~~~~~ >src/dh.c:69:3: warning: âDH_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 69 | ret = DH_generate_parameters_ex(dh, bits, generator, NULL); > | ^~~ >/usr/include/openssl/dh.h:212:27: note: declared here > 212 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/dh.c:76:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 76 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dh.c: In function âopenssl_dh_generate_keyâ: >src/dh.c:83:3: warning: âDHparams_dupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 83 | DH *dh = DHparams_dup(dhparamater); > | ^~ >In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from src/openssl.h:19: >/usr/include/openssl/dh.h:190:1: note: declared here > 190 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/dh.c:85:3: warning: âDH_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 85 | int ret = DH_generate_key(dh); > | ^~~ >/usr/include/openssl/dh.h:223:27: note: declared here > 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); > | ^~~~~~~~~~~~~~~ >src/dh.c:91:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 91 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_infoâ: >src/digest.c:309:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | AUXILIAR_SETOBJECT(L, EVP_MD_CTX_md(ctx), "openssl.evp_digest", -1, "digest"); > | ^~~~~~~~~~~~~~~~~~ >In file included from src/openssl.h:19, > from src/digest.c:8: >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c:309:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | AUXILIAR_SETOBJECT(L, EVP_MD_CTX_md(ctx), "openssl.evp_digest", -1, "digest"); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_resetâ: >src/digest.c:409:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 409 | const EVP_MD *md = EVP_MD_CTX_md(ctx); > | ^~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_dataâ: >src/digest.c:487:3: warning: âEVP_MD_meth_get_app_datasizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 487 | size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); > | ^~~~~~ >/usr/include/openssl/evp.h:138:27: note: declared here > 138 | OSSL_DEPRECATEDIN_3_0 int EVP_MD_meth_get_app_datasize(const EVP_MD *md); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:487:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 487 | size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); > | ^~~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c:495:5: warning: âEVP_MD_meth_get_app_datasizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 495 | if (ctx_size == (size_t)EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx))) > | ^~ >/usr/include/openssl/evp.h:138:27: note: declared here > 138 | OSSL_DEPRECATEDIN_3_0 int EVP_MD_meth_get_app_datasize(const EVP_MD *md); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:495:5: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 495 | if (ctx_size == (size_t)EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx))) > | ^~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_freeâ: >src/dsa.c:15:3: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | DSA_free(dsa); > | ^~~~~~~~ >In file included from /usr/include/openssl/x509.h:37, > from src/openssl.h:20, > from src/dsa.c:7: >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/dsa.c: In function âopenssl_dsa_parseâ: >src/dsa.c:25:3: warning: âDSA_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 25 | lua_pushinteger(L, DSA_bits(dsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dsa.h:131:27: note: declared here > 131 | OSSL_DEPRECATEDIN_3_0 int DSA_bits(const DSA *d); > | ^~~~~~~~ >src/dsa.c:28:3: warning: âDSA_get0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 28 | DSA_get0_pqg(dsa, &p, &q, &g); > | ^~~~~~~~~~~~ >/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, > | ^~~~~~~~~~~~ >src/dsa.c:29:3: warning: âDSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 29 | DSA_get0_key(dsa, &pub, &pri); > | ^~~~~~~~~~~~ >/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, > | ^~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_set_engineâ: >src/dsa.c:44:3: warning: âENGINE_get_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 44 | const DSA_METHOD *m = ENGINE_get_DSA(e); > | ^~~~~ >In file included from src/dsa.c:10: >/usr/include/openssl/engine.h:555:41: note: declared here > 555 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/dsa.c:47:5: warning: âDSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | int r = DSA_set_method(dsa, m); > | ^~~ >/usr/include/openssl/dsa.h:122:27: note: declared here > 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); > | ^~~~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_generate_keyâ: >src/dsa.c:61:3: warning: âDSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 61 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:126:28: note: declared here > 126 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/dsa.c:61:3: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 61 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/dsa.c:62:3: warning: âDSA_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 62 | int ret = DSA_generate_parameters_ex(dsa, bits, (byte*)seed, seed_len, NULL, NULL, NULL); > | ^~~ >/usr/include/openssl/dsa.h:167:27: note: declared here > 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/dsa.c:64:5: warning: âDSA_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 64 | ret = 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); > | ^~~~~~~~~~~~~~~~ >src/dsa.c:70:3: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 70 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/ec.c: In function âopenssl_get_ec_groupâ: >src/ec.c:222:7: warning: âEVP_PKEY_get1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 222 | EC_KEY* ec_key = EVP_PKEY_get1_EC_KEY(pkey); > | ^~~~~~ >In file included from src/openssl.h:19, > from src/ec.c:5: >/usr/include/openssl/evp.h:1374:19: note: declared here > 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:225:9: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 225 | g = (EC_GROUP*)EC_KEY_get0_group(ec_key); > | ^ >In file included from /usr/include/openssl/x509.h:33, > from src/openssl.h:20: >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:226:9: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 226 | EC_KEY_free(ec_key); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c:232:7: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 232 | g = (EC_GROUP*)EC_KEY_get0_group(ec_key); > | ^ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_point_bn2pointâ: >src/ec.c:365:3: warning: âEC_POINT_bn2pointâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 365 | EC_POINT* pnt = EC_POINT_bn2point(group, bn, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/ec.h:774:33: note: declared here > 774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_point_point2bnâ: >src/ec.c:380:3: warning: âEC_POINT_point2bnâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 380 | BIGNUM *bn = EC_POINT_point2bn(group, point, form, NULL, NULL); > | ^~~~~~ >/usr/include/openssl/ec.h:770:31: note: declared here > 770 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_group_generate_keyâ: >src/ec.c:423:3: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 423 | EC_KEY *ec = EC_KEY_new(); > | ^~~~~~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/ec.c:427:5: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 427 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/ec.c:428:5: warning: âEC_KEY_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 428 | ret = EC_KEY_generate_key(ec); > | ^~~ >/usr/include/openssl/ec.h:1101:27: note: declared here > 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~ >src/ec.c:434:5: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 434 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_do_signâ: >src/ec.c:480:3: warning: âECDSA_do_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 480 | ECDSA_SIG* sig = ECDSA_do_sign((const unsigned char*)sdata, l, ec); > | ^~~~~~~~~ >/usr/include/openssl/ec.h:1365:34: note: declared here > 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, > | ^~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_do_verifyâ: >src/ec.c:522:5: warning: âECDSA_do_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 522 | ret = ECDSA_do_verify((const unsigned char*)dgst, l, sig, ec); > | ^~~ >/usr/include/openssl/ec.h:1391:27: note: declared here > 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, > | ^~~~~~~~~~~~~~~ >src/ec.c:531:5: warning: âECDSA_do_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 531 | ret = ECDSA_do_verify((const unsigned char*)dgst, l, sig, ec); > | ^~~ >/usr/include/openssl/ec.h:1391:27: note: declared here > 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, > | ^~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_signâ: >src/ec.c:557:3: warning: âECDSA_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 557 | int ret = ECDSA_sign(EVP_MD_type(md), dgst, dgstlen, sig, &siglen, eckey); > | ^~~ >/usr/include/openssl/ec.h:1414:27: note: declared here > 1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, > | ^~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_verifyâ: >src/ec.c:588:3: warning: âECDSA_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 588 | int ret = ECDSA_verify(type, dgst, (int)dgstlen, sig, (int)siglen, eckey); > | ^~~ >/usr/include/openssl/ec.h:1447:27: note: declared here > 1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst, > | ^~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_freeâ: >src/ec.c:612:3: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 612 | EC_KEY_free(p); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_parseâ: >src/ec.c:620:3: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 620 | const EC_POINT* point = EC_KEY_get0_public_key(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/ec.c:621:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 621 | const EC_GROUP* group = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:622:3: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 622 | const BIGNUM *priv = EC_KEY_get0_private_key(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/ec.c:625:3: warning: âEC_KEY_get_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 625 | AUXILIAR_SET(L, -1, "enc_flag", EC_KEY_get_enc_flags(ec), integer); > | ^~~~~~~~~~~~ >/usr/include/openssl/ec.h:1072:32: note: declared here > 1072 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:626:3: warning: âEC_KEY_get_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 626 | AUXILIAR_SET(L, -1, "conv_form", EC_KEY_get_conv_form(ec), integer); > | ^~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdh_compute_keyâ: >src/ec.c:683:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 683 | EC_GROUP_get_degree(EC_KEY_get0_group(ec)); > | ^~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:695:5: warning: âECDH_compute_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 695 | ECDH_compute_key(secret_a, outlen, > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1296:27: note: declared here > 1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, > | ^~~~~~~~~~~~~~~~ >src/ec.c:696:22: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 696 | EC_KEY_get0_public_key(peer), > | ^~~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_set_methodâ: >src/ec.c:715:3: warning: âENGINE_get_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 715 | const EC_KEY_METHOD *m = ENGINE_get_EC(e); > | ^~~~~ >In file included from src/ec.c:7: >/usr/include/openssl/engine.h:556:44: note: declared here > 556 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/ec.c:718:5: warning: âEC_KEY_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 718 | int r = EC_KEY_set_method(ec, m); > | ^~~ >/usr/include/openssl/ec.h:1283:27: note: declared here > 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_check_keyâ: >src/ec.c:729:3: warning: âEC_KEY_check_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 729 | lua_pushboolean(L, EC_KEY_check_key(ec)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1107:27: note: declared here > 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_exportâ: >src/ec.c:737:3: warning: âi2d_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 737 | int len = i2d_ECPrivateKey(ec, &der); > | ^~~ >/usr/include/openssl/ec.h:1197:27: note: declared here > 1197 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey(const EC_KEY *key, > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_groupâ: >src/hmac.c: In function âopenssl_hmac_ctx_newâ: >src/ec.c:753:5: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 753 | int ret = EC_KEY_set_group(ec, g); > | ^~~ >/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); > | ^~~~~~~~~~~~~~~~ >src/hmac.c:170:25: warning: pointer targets in passing argument 2 of âEVP_MAC_initâ differ in signedness [-Wpointer-sign] > 170 | ret = EVP_MAC_init(c, k, l, params); > | ^ > | | > | const char * >src/ec.c:758:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 758 | const EC_GROUP *g = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >In file included from src/openssl.h:19, > from src/hmac.c:9: >/usr/include/openssl/evp.h:1220:57: note: expected âconst unsigned char *â but argument is of type âconst char *â > 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > | ~~~~~~~~~~~~~~~~~~~~~^~~ >src/ec.c: In function âopenssl_ec_key_readâ: >src/ec.c:770:3: warning: âd2i_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 770 | EC_KEY* ec = d2i_ECPrivateKey(NULL, &der, len); > | ^~~~~~ >/usr/include/openssl/ec.h:1187:31: note: declared here > 1187 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key, > | ^~~~~~~~~~~~~~~~ >src/hmac.c: In function âopenssl_hmacâ: >src/hmac.c:258:31: warning: pointer targets in passing argument 2 of âEVP_MAC_initâ differ in signedness [-Wpointer-sign] > 258 | ret = EVP_MAC_init(ctx, k, l, params); > | ^ > | | > | const char * >/usr/include/openssl/evp.h:1220:57: note: expected âconst unsigned char *â but argument is of type âconst char *â > 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > | ~~~~~~~~~~~~~~~~~~~~~^~~ >src/ec.c: In function âopenssl_ec_key_conv_formâ: >src/ec.c:784:5: warning: âEC_KEY_get_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 784 | cform = EC_KEY_get_conv_form(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:793:3: warning: âEC_KEY_set_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 793 | EC_KEY_set_conv_form(ec, cform); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1075:28: note: declared here > 1075 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_enc_flagsâ: >src/ec.c:804:5: warning: âEC_KEY_get_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 804 | flags = EC_KEY_get_enc_flags(ec); > | ^~~~~ >/usr/include/openssl/ec.h:1072:32: note: declared here > 1072 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:813:3: warning: âEC_KEY_set_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 813 | EC_KEY_set_enc_flags(ec, flags); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1073:28: note: declared here > 1073 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/openssl.o src/openssl.c >src/lbn.c: In function âluaopen_bnâ: >src/lbn.c:486:3: warning: âERR_load_BN_stringsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 486 | ERR_load_BN_strings(); > | ^~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/cryptoerr.h:17, > from /usr/include/openssl/crypto.h:38, > from /usr/include/openssl/bn.h:26, > from src/lbn.c:12: >/usr/include/openssl/cryptoerr_legacy.h:32:27: note: declared here > 32 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BN_strings(void); > | ^~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ots.o src/ots.c >src/engine.c: In function âopenssl_engineâ: >src/engine.c:68:5: warning: âENGINE_by_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | eng = ENGINE_by_id(id); > | ^~~ >In file included from src/engine.c:8: >/usr/include/openssl/engine.h:336:31: note: declared here > 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); > | ^~~~~~~~~~~~ >src/engine.c:74:7: warning: âENGINE_get_firstâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 74 | eng = ENGINE_get_first(); > | ^~~ >/usr/include/openssl/engine.h:318:31: note: declared here > 318 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_first(void); > | ^~~~~~~~~~~~~~~~ >src/engine.c:76:7: warning: âENGINE_get_lastâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 76 | eng = ENGINE_get_last(); > | ^~~ >/usr/include/openssl/engine.h:319:31: note: declared here > 319 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_last(void); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_nextâ: >src/engine.c:100:3: warning: âENGINE_up_refâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 100 | ENGINE_up_ref(eng); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:494:27: note: declared here > 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c:101:3: warning: âENGINE_get_nextâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 101 | eng = ENGINE_get_next(eng); > | ^~~ >/usr/include/openssl/engine.h:323:31: note: declared here > 323 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_next(ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_prevâ: >src/engine.c:114:3: warning: âENGINE_up_refâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 114 | ENGINE_up_ref(eng); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:494:27: note: declared here > 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c:115:3: warning: âENGINE_get_prevâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 115 | eng = ENGINE_get_prev(eng); > | ^~~ >/usr/include/openssl/engine.h:324:31: note: declared here > 324 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_prev(ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_addâ: >src/engine.c:128:3: warning: âENGINE_addâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 128 | int ret = ENGINE_add(eng); > | ^~~ >/usr/include/openssl/engine.h:328:27: note: declared here > 328 | OSSL_DEPRECATEDIN_3_0 int ENGINE_add(ENGINE *e); > | ^~~~~~~~~~ >src/engine.c: In function âopenssl_engine_removeâ: >src/engine.c:136:3: warning: âENGINE_removeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 136 | int ret = ENGINE_remove(eng); > | ^~~ >/usr/include/openssl/engine.h:332:27: note: declared here > 332 | OSSL_DEPRECATEDIN_3_0 int ENGINE_remove(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_registerâ: >src/engine.c:159:9: warning: âENGINE_unregister_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 159 | ENGINE_unregister_RSA(eng); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:379:28: note: declared here > 379 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:161:9: warning: âENGINE_register_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 161 | ENGINE_register_RSA(eng); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:378:27: note: declared here > 378 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~ >src/engine.c:165:9: warning: âENGINE_unregister_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 165 | ENGINE_unregister_DSA(eng); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:382:28: note: declared here > 382 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:167:9: warning: âENGINE_register_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 167 | ENGINE_register_DSA(eng); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:381:27: note: declared here > 381 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~ >src/engine.c:185:9: warning: âENGINE_unregister_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 185 | ENGINE_unregister_EC(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:385:28: note: declared here > 385 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:187:9: warning: âENGINE_register_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 187 | ENGINE_register_EC(eng); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:384:27: note: declared here > 384 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c:192:9: warning: âENGINE_unregister_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 192 | ENGINE_unregister_DH(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:388:28: note: declared here > 388 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:194:9: warning: âENGINE_register_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 194 | ENGINE_register_DH(eng); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:387:27: note: declared here > 387 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c:198:9: warning: âENGINE_unregister_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 198 | ENGINE_unregister_RAND(eng); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:391:28: note: declared here > 391 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:200:9: warning: âENGINE_register_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 200 | ENGINE_register_RAND(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:390:27: note: declared here > 390 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:212:9: warning: âENGINE_unregister_pkey_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 212 | ENGINE_unregister_pkey_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:400:28: note: declared here > 400 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_pkey_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:214:9: warning: âENGINE_register_pkey_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 214 | ENGINE_register_pkey_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:399:27: note: declared here > 399 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_pkey_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:218:9: warning: âENGINE_unregister_pkey_asn1_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 218 | ENGINE_unregister_pkey_asn1_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:403:28: note: declared here > 403 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_pkey_asn1_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:220:9: warning: âENGINE_register_pkey_asn1_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 220 | ENGINE_register_pkey_asn1_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:402:27: note: declared here > 402 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_pkey_asn1_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:225:9: warning: âENGINE_unregister_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 225 | ENGINE_unregister_ciphers(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:394:28: note: declared here > 394 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:227:9: warning: âENGINE_register_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 227 | ENGINE_register_ciphers(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:393:27: note: declared here > 393 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:231:9: warning: âENGINE_unregister_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 231 | ENGINE_unregister_digests(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:397:28: note: declared here > 397 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:233:9: warning: âENGINE_register_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 233 | ENGINE_register_digests(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:396:27: note: declared here > 396 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:237:7: warning: âENGINE_register_completeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 237 | int ret = ENGINE_register_complete(eng); > | ^~~ >/usr/include/openssl/engine.h:414:27: note: declared here > 414 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_complete(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_ctrlâ: >src/engine.c:259:7: warning: âENGINE_cmd_is_executableâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 259 | ret = ENGINE_cmd_is_executable(eng, cmd); > | ^~~ >/usr/include/openssl/engine.h:440:27: note: declared here > 440 | OSSL_DEPRECATEDIN_3_0 int ENGINE_cmd_is_executable(ENGINE *e, int cmd); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:268:7: warning: âENGINE_ctrlâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 268 | ret = ENGINE_ctrl(eng, cmd, i, p, arg); > | ^~~ >/usr/include/openssl/engine.h:429:27: note: declared here > 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, > | ^~~~~~~~~~~ >src/engine.c:282:9: warning: âENGINE_ctrl_cmdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 282 | ret = ENGINE_ctrl_cmd(eng, cmd, i, (void*)s, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:450:27: note: declared here > 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, > | ^~~~~~~~~~~~~~~ >src/engine.c:289:9: warning: âENGINE_ctrl_cmdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 289 | ret = ENGINE_ctrl_cmd(eng, cmd, i, p, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:450:27: note: declared here > 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, > | ^~~~~~~~~~~~~~~ >src/engine.c:296:7: warning: âENGINE_ctrl_cmd_stringâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 296 | ret = ENGINE_ctrl_cmd_string(eng, cmd, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:479:5: note: declared here > 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_gcâ: >src/engine.c:305:3: warning: âENGINE_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 305 | ENGINE_free(eng); > | ^~~~~~~~~~~ >/usr/include/openssl/engine.h:493:27: note: declared here > 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); > | ^~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_idâ: >src/engine.c:317:5: warning: âENGINE_set_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 317 | ret = ENGINE_set_id(eng, id); > | ^~~ >/usr/include/openssl/engine.h:495:27: note: declared here > 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); > | ^~~~~~~~~~~~~ >src/engine.c:320:5: warning: âENGINE_get_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 320 | lua_pushstring(L, ENGINE_get_id(eng)); > | ^~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:552:35: note: declared here > 552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_nameâ: >src/engine.c:333:5: warning: âENGINE_set_nameâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 333 | ret = ENGINE_set_name(eng, id); > | ^~~ >/usr/include/openssl/engine.h:496:27: note: declared here > 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); > | ^~~~~~~~~~~~~~~ >src/engine.c:336:5: warning: âENGINE_get_nameâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 336 | lua_pushstring(L, ENGINE_get_name(eng)); > | ^~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:553:35: note: declared here > 553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_flagsâ: >src/engine.c:347:5: warning: âENGINE_set_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 347 | int ret = ENGINE_set_flags(eng, flags); > | ^~~ >/usr/include/openssl/engine.h:525:27: note: declared here > 525 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_flags(ENGINE *e, int flags); > | ^~~~~~~~~~~~~~~~ >src/engine.c:350:5: warning: âENGINE_get_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 350 | lua_pushinteger(L, ENGINE_get_flags(eng)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:598:27: note: declared here > 598 | OSSL_DEPRECATEDIN_3_0 int ENGINE_get_flags(const ENGINE *e); > | ^~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_initâ: >src/engine.c:361:3: warning: âENGINE_initâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 361 | int ret = ENGINE_init(eng); > | ^~~ >/usr/include/openssl/engine.h:620:27: note: declared here > 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); > | ^~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_finishâ: >src/engine.c:369:3: warning: âENGINE_finishâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 369 | int ret = ENGINE_finish(eng); > | ^~~ >/usr/include/openssl/engine.h:628:27: note: declared here > 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_set_defaultâ: >src/engine.c:387:7: warning: âENGINE_set_default_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 387 | ret = ENGINE_set_default_RSA(eng); > | ^~~ >/usr/include/openssl/engine.h:684:27: note: declared here > 684 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:390:7: warning: âENGINE_set_default_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 390 | ret = ENGINE_set_default_DSA(eng); > | ^~~ >/usr/include/openssl/engine.h:690:27: note: declared here > 690 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:401:7: warning: âENGINE_set_default_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 401 | ret = ENGINE_set_default_EC(eng); > | ^~~ >/usr/include/openssl/engine.h:691:27: note: declared here > 691 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:405:7: warning: âENGINE_set_default_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 405 | ret = ENGINE_set_default_DH(eng); > | ^~~ >/usr/include/openssl/engine.h:692:27: note: declared here > 692 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:408:7: warning: âENGINE_set_default_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 408 | ret = ENGINE_set_default_RAND(eng); > | ^~~ >/usr/include/openssl/engine.h:693:27: note: declared here > 693 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:411:7: warning: âENGINE_set_default_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 411 | ret = ENGINE_set_default_ciphers(eng); > | ^~~ >/usr/include/openssl/engine.h:694:27: note: declared here > 694 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:414:7: warning: âENGINE_set_default_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 414 | ret = ENGINE_set_default_digests(eng); > | ^~~ >/usr/include/openssl/engine.h:695:27: note: declared here > 695 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_set_rand_engineâ: >src/engine.c:430:3: warning: âRAND_set_rand_engineâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 430 | int ret = RAND_set_rand_engine(eng); > | ^~~ >In file included from /usr/include/openssl/engine.h:29: >/usr/include/openssl/rand.h:52:27: note: declared here > 52 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_private_keyâ: >src/engine.c:438:3: warning: âENGINE_load_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 438 | EVP_PKEY *pkey = ENGINE_load_private_key(eng, key_id, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/engine.h:638:11: note: declared here > 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_public_keyâ: >src/engine.c:451:3: warning: âENGINE_load_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 451 | EVP_PKEY *pkey = ENGINE_load_public_key(eng, key_id, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/engine.h:641:11: note: declared here > 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_ssl_client_certâ: >src/engine.c:470:3: warning: âENGINE_load_ssl_client_certâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 470 | int ret = ENGINE_load_ssl_client_cert(eng, s, ca_dn, > | ^~~ >/usr/include/openssl/engine.h:644:5: note: declared here > 644 | int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s, STACK_OF(X509_NAME) *ca_dn, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/ocsp.c: In function âopenssl_ocsp_request_readâ: >src/ocsp.c:124:29: warning: passing argument 1 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 124 | OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char * (*)() >In file included from src/openssl.h:23, > from src/ocsp.c:7: >/usr/include/openssl/pem.h:388:38: note: expected âvoid * (*)(void **, const unsigned char **, long int)â but argument is of type âchar * (*)()â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~~~~~~~^~~ >src/ocsp.c:124:29: warning: passing argument 4 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 124 | OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char ** >/usr/include/openssl/pem.h:388:77: note: expected âvoid **â but argument is of type âchar **â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~^ >src/ocsp.c: In function âopenssl_ocsp_response_readâ: >src/ocsp.c:306:30: warning: passing argument 1 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 306 | OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char * (*)() >/usr/include/openssl/pem.h:388:38: note: expected âvoid * (*)(void **, const unsigned char **, long int)â but argument is of type âchar * (*)()â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~~~~~~~^~~ >src/ocsp.c:306:30: warning: passing argument 4 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 306 | OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char ** >/usr/include/openssl/pem.h:388:77: note: expected âvoid **â but argument is of type âchar **â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~^ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkcs12.o src/pkcs12.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkcs7.o src/pkcs7.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkey.o src/pkey.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/rsa.o src/rsa.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ssl.o src/ssl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/th-lock.o src/th-lock.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/util.o src/util.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/x509.o src/x509.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xattrs.o src/xattrs.c >src/openssl.c: In function âluaopen_opensslâ: >src/openssl.c:540:5: warning: âENGINE_load_builtin_enginesâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 540 | ENGINE_load_builtin_engines(); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from src/openssl.c:12: >/usr/include/openssl/engine.h:358:28: note: declared here > 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xexts.o src/xexts.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xname.o src/xname.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xstore.o src/xstore.c >src/pkey.c: In function âopenssl_pkey_is_privateâ: >src/pkey.c:32:5: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 32 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~ >In file included from src/openssl.h:19, > from src/pkey.c:7: >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:32:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 32 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:35:5: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 35 | RSA_get0_key(rsa, NULL, NULL, &d); > | ^~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:36, > from src/openssl.h:20: >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/pkey.c:43:5: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 43 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:43:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 43 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:45:5: warning: âDSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 45 | DSA_get0_key(dsa, NULL, &p); > | ^~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:37: >/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, > | ^~~~~~~~~~~~ >src/pkey.c:53:5: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 53 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:53:14: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 53 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:55:5: warning: âDH_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 55 | DH_get0_key(dh, NULL, &p); > | ^~~~~~~~~~~ >In file included from /usr/include/openssl/dsa.h:51: >/usr/include/openssl/dh.h:256:28: note: declared here > 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, > | ^~~~~~~~~~~ >src/pkey.c:63:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 63 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:63:18: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 63 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:64:5: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 64 | const BIGNUM *p = EC_KEY_get0_private_key(ec); > | ^~~~~ >In file included from /usr/include/openssl/x509.h:33: >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_is_sm2â: >src/pkey.c:87:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 87 | const EC_KEY *ec = EVP_PKEY_get0_EC_KEY((EVP_PKEY*)pkey); > | ^~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:88:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 88 | const EC_GROUP *grp = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_readâ: >src/pkey.c:128:9: warning: âPEM_read_bio_RSAPublicKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 128 | RSA* rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL); > | ^~~ >In file included from src/openssl.h:23: >/usr/include/openssl/pem.h:448:1: note: declared here > 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:132:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 132 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:138:9: warning: âPEM_read_bio_DSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 138 | DSA* dsa = PEM_read_bio_DSA_PUBKEY(in, NULL, NULL, NULL); > | ^~~ >/usr/include/openssl/pem.h:454:1: note: declared here > 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:142:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 142 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:148:9: warning: âPEM_read_bio_EC_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 148 | EC_KEY *ec = PEM_read_bio_EC_PUBKEY(in, NULL, NULL, NULL); > | ^~~~~~ >/usr/include/openssl/pem.h:463:1: note: declared here > 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:152:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 152 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:170:9: warning: âd2i_RSAPublicKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 170 | RSA *rsa = d2i_RSAPublicKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:618:28: note: declared here > 618 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:174:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 174 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:180:9: warning: âd2i_DSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 180 | DSA *dsa = d2i_DSA_PUBKEY_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:625:28: note: declared here > 625 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:184:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 184 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:190:9: warning: âd2i_EC_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 190 | EC_KEY *ec = d2i_EC_PUBKEY_bio(in, NULL); > | ^~~~~~ >/usr/include/openssl/x509.h:634:31: note: declared here > 634 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:194:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 194 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:218:9: warning: âd2i_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 218 | RSA *rsa = d2i_RSAPrivateKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:616:28: note: declared here > 616 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:222:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 222 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:228:9: warning: âd2i_DSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 228 | DSA *dsa = d2i_DSAPrivateKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:627:28: note: declared here > 627 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:232:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 232 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:238:9: warning: âd2i_ECPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 238 | EC_KEY *ec = d2i_ECPrivateKey_bio(in, NULL); > | ^~~~~~ >/usr/include/openssl/x509.h:636:31: note: declared here > 636 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:242:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 242 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c: In function âEC_KEY_generate_key_partâ: >src/pkey.c:279:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 279 | group = EC_KEY_get0_group(eckey); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:283:3: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 283 | priv_key = (BIGNUM*)EC_KEY_get0_private_key(eckey); > | ^~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:295:3: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 295 | pub_key = (EC_POINT *)EC_KEY_get0_public_key(eckey); > | ^~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:302:5: warning: âEC_KEY_set_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 302 | EC_KEY_set_public_key(eckey, 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); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:304:5: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 304 | pub_key = (EC_POINT *)EC_KEY_get0_public_key(eckey); > | ^~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:309:3: warning: âEC_POINT_make_affineâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | EC_POINT_make_affine(EC_KEY_get0_group(eckey), > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:844:27: note: declared here > 844 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_make_affine(const EC_GROUP *group, > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:309:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | EC_POINT_make_affine(EC_KEY_get0_group(eckey), > | ^~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_newâ: >src/pkey.c:389:7: warning: âRSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 389 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:202:28: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:389:7: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 389 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/pkey.c:390:7: warning: âRSA_generate_key_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 390 | if (RSA_generate_key_ex(rsa, bits, E, NULL)) > | ^~ >/usr/include/openssl/rsa.h:260:27: note: declared here > 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:393:9: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 393 | EVP_PKEY_assign_RSA(pkey, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:396:9: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 396 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:407:7: warning: âDSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 407 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:126:28: note: declared here > 126 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:407:7: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 407 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/pkey.c:408:7: warning: âDSA_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 408 | if (DSA_generate_parameters_ex(dsa, bits, (byte*)seed, seed_len, NULL, NULL, NULL) > | ^~ >/usr/include/openssl/dsa.h:167:27: note: declared here > 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:409:11: warning: âDSA_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 409 | && 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:412:9: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 412 | EVP_PKEY_assign_DSA(pkey, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:415:9: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 415 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/pkey.c:471:7: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 471 | ec = EC_KEY_new(); > | ^~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/pkey.c:474:9: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 474 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:476:9: warning: âEC_KEY_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 476 | if (EC_KEY_generate_key(ec)) > | ^~ >/usr/include/openssl/ec.h:1101:27: note: declared here > 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:479:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 479 | EVP_PKEY_assign_EC_KEY(pkey, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:482:11: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 482 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/pkey.c:503:9: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 503 | RSA *rsa = RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/pkey.c:540:11: warning: âRSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 540 | if (RSA_set0_key(rsa, n, e, d) == 1 > | ^~ >/usr/include/openssl/rsa.h:207:27: note: declared here > 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); > | ^~~~~~~~~~~~ >src/pkey.c:541:15: warning: âRSA_set0_factorsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 541 | && (p == NULL || RSA_set0_factors(rsa, p, q) == 1) > | ^~ >/usr/include/openssl/rsa.h:208:27: note: declared here > 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:542:15: warning: âRSA_set0_crt_paramsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 542 | && (dmp1 == NULL || RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp) == 1) ) > | ^~ >/usr/include/openssl/rsa.h:209:27: note: declared here > 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:544:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 544 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:546:15: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 546 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:554:13: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 554 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:567:9: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 567 | DSA *dsa = DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/pkey.c:593:11: warning: âDSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 593 | if (DSA_set0_key(dsa, pub_key, priv_key) == 1 > | ^~ >/usr/include/openssl/dsa.h:206:27: note: declared here > 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, > | ^~~~~~~~~~~~ >src/pkey.c:594:15: warning: âDSA_set0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 594 | && DSA_set0_pqg(dsa, p, q, g)) > | ^~ >/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); > | ^~~~~~~~~~~~ >src/pkey.c:596:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 596 | if (!EVP_PKEY_assign_DSA(pkey, dsa)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:598:15: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 598 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_freeâ: >src/pkey.c:605:13: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 605 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/rsa.c:15:3: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | RSA_free(rsa); > | ^~~~~~~~ >In file included from /usr/include/openssl/x509.h:36, > from src/openssl.h:20, > from src/rsa.c:7: >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/rsa.c: In function âis_privateâ: >src/rsa.c:22:3: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 22 | RSA_get0_key(rsa, NULL, NULL, &d); > | ^~~~~~~~~~~~ >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/pkey.c:619:9: warning: âDH_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 619 | DH *dh = DH_new(); > | ^~ >/usr/include/openssl/dh.h:199:27: note: declared here > 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); > | ^~~~~~ >src/rsa.c: In function âopenssl_rsa_sizeâ: >src/rsa.c:36:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 36 | lua_pushinteger(L, RSA_size(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_encryptâ: >src/rsa.c:47:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | unsigned char* to = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:51:10: warning: âRSA_private_encryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 51 | ? RSA_private_encrypt(flen, from, to, rsa, padding) > | ^ >/usr/include/openssl/rsa.h:285:5: note: declared here > 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:52:10: warning: âRSA_public_encryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 52 | : RSA_public_encrypt(flen, from, to, rsa, padding); > | ^ >/usr/include/openssl/rsa.h:282:5: note: declared here > 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:645:11: warning: âDH_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 645 | if (DH_set0_key(dh, pub_key, priv_key) == 1 > | ^~ >/usr/include/openssl/dh.h:258:27: note: declared here > 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); > | ^~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_decryptâ: >src/rsa.c:70:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 70 | unsigned char* to = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:74:10: warning: âRSA_private_decryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 74 | ? RSA_private_decrypt(flen, from, to, rsa, padding) > | ^ >src/pkey.c:646:15: warning: âDH_set0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 646 | && DH_set0_pqg(dh, p, q, g)) > | ^~ >/usr/include/openssl/rsa.h:291:5: note: declared here > 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:255:27: note: declared here > 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); > | ^~~~~~~~~~~ >src/rsa.c:75:10: warning: âRSA_public_decryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 75 | : RSA_public_decrypt(flen, from, to, rsa, padding); > | ^ >/usr/include/openssl/rsa.h:288:5: note: declared here > 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xalgor.o src/xalgor.c >src/rsa.c: In function âopenssl_rsa_signâ: >src/pkey.c:648:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 648 | if (!EVP_PKEY_assign_DH(pkey, dh)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/rsa.c:92:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 92 | unsigned char* sig = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:94:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 94 | unsigned int slen = RSA_size(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:96:3: warning: âRSA_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 96 | int ret = RSA_sign(EVP_MD_type(md), msg, flen, sig, &slen, rsa); > | ^~~ >/usr/include/openssl/rsa.h:348:27: note: declared here > 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, > | ^~~~~~~~ >src/pkey.c:650:15: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 650 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/rsa.c: In function âopenssl_rsa_verifyâ: >src/rsa.c:118:3: warning: âRSA_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 118 | int ret = RSA_verify(EVP_MD_type(md), from, flen, sig, slen, rsa); > | ^~~ >/usr/include/openssl/rsa.h:351:27: note: declared here > 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, > | ^~~~~~~~~~ >src/pkey.c:658:13: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 658 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/rsa.c: In function âopenssl_rsa_parseâ: >src/rsa.c:129:3: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 129 | RSA_get0_key(rsa, &n, &e, &d); > | ^~~~~~~~~~~~ >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/rsa.c:130:3: warning: âRSA_get0_factorsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 130 | RSA_get0_factors(rsa, &p, &q); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:220:28: note: declared here > 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, > | ^~~~~~~~~~~~~~~~ >src/rsa.c:131:3: warning: âRSA_get0_crt_paramsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 131 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:225:28: note: declared here > 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:135:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 135 | lua_pushinteger(L, RSA_size(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:137:3: warning: âRSA_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 137 | lua_pushinteger(L, RSA_bits(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:203:27: note: declared here > 203 | OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_readâ: >src/rsa.c:156:3: warning: âd2i_RSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 156 | RSA *rsa = ispriv ? d2i_RSAPrivateKey(NULL, &in, l) > | ^~~ >In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from src/openssl.h:19: >/usr/include/openssl/rsa.h:309:1: note: declared here > 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:157:14: warning: âd2i_RSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 157 | : d2i_RSA_PUBKEY(NULL, &in, l); > | ^ >src/pkey.c:696:9: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 696 | EC_KEY *ec = EC_KEY_new(); > | ^~~~~~ >/usr/include/openssl/x509.h:710:1: note: declared here > 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_exportâ: >src/pkey.c:699:11: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 699 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/rsa.c:173:3: warning: âi2d_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 173 | int len = ispriv ? i2d_RSAPrivateKey_bio(out, rsa) > | ^~~ >/usr/include/openssl/x509.h:617:27: note: declared here > 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:174:13: warning: âi2d_RSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 174 | : i2d_RSA_PUBKEY_bio(out, rsa); > | ^ >/usr/include/openssl/x509.h:621:27: note: declared here > 621 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:701:13: warning: âEC_KEY_set_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 701 | EC_KEY_set_private_key(ec, d); > | ^~~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_set_engineâ: >src/rsa.c:195:3: warning: âENGINE_get_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 195 | const RSA_METHOD *m = ENGINE_get_RSA(e); > | ^~~~~ >In file included from src/rsa.c:10: >/usr/include/openssl/engine.h:554:41: note: declared here > 554 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/rsa.c:198:5: warning: âRSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 198 | int r = RSA_set_method(rsa, m); > | ^~~ >/usr/include/openssl/rsa.h:302:27: note: declared here > 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); > | ^~~~~~~~~~~~~~ >src/pkey.c:707:13: warning: âEC_KEY_set_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 707 | EC_KEY_set_public_key(ec, pnt); > | ^~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_generate_keyâ: >src/rsa.c:213:3: warning: âRSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 213 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:202:28: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:713:11: warning: âEC_KEY_check_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 713 | if (EC_KEY_check_key(ec) == 0 || EVP_PKEY_assign_EC_KEY(pkey, ec) == 0) > | ^~ >src/rsa.c:213:3: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 213 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/ec.h:1107:27: note: declared here > 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/rsa.c:216:3: warning: âRSA_generate_key_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 216 | ret = RSA_generate_key_ex(rsa, bits, E, NULL); > | ^~~ >/usr/include/openssl/rsa.h:260:27: note: declared here > 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:223:5: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 223 | RSA_free(rsa); > | ^~~~~~~~ >src/pkey.c:713:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 713 | if (EC_KEY_check_key(ec) == 0 || EVP_PKEY_assign_EC_KEY(pkey, ec) == 0) > | ^~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_padding_addâ: >src/pkey.c:715:13: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 715 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/rsa.c:267:7: warning: âRSA_padding_add_PKCS1_type_1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 267 | ret = RSA_padding_add_PKCS1_type_1(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:376:5: note: declared here > 376 | int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:271:7: warning: âRSA_padding_add_PKCS1_type_2â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 271 | ret = RSA_padding_add_PKCS1_type_2(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:383:5: note: declared here > 383 | int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:284:5: warning: âRSA_padding_add_noneâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 284 | ret = RSA_padding_add_none(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:411:27: note: declared here > 411 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:733:5: warning: âEVP_PKEY_set1_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 733 | EVP_PKEY_set1_RSA(pkey, rsa); > | ^~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1344:5: note: declared here > 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); > | ^~~~~~~~~~~~~~~~~ >src/rsa.c:292:7: warning: âRSA_padding_add_PKCS1_OAEPâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 292 | ret = RSA_padding_add_PKCS1_OAEP(to, sz,from, l, p, pl); > | ^~~ >/usr/include/openssl/rsa.h:393:5: note: declared here > 393 | int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:298:7: warning: âRSA_padding_add_PKCS1_OAEP_mgf1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 298 | ret = RSA_padding_add_PKCS1_OAEP_mgf1(to, sz,from, l, p, pl, md, mgf1md); > | ^~~ >src/pkey.c:739:5: warning: âEVP_PKEY_set1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 739 | EVP_PKEY_set1_EC_KEY(pkey, ec); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:401:5: note: declared here > 401 | int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1370:5: note: declared here > 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_padding_checkâ: >src/pkey.c:745:5: warning: âEVP_PKEY_set1_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 745 | EVP_PKEY_set1_DH(pkey, dh); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1362:27: note: declared here > 1362 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); > | ^~~~~~~~~~~~~~~~ >src/rsa.c:341:7: warning: âRSA_padding_check_PKCS1_type_1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 341 | ret = RSA_padding_check_PKCS1_type_1(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:379:5: note: declared here > 379 | int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:345:7: warning: âRSA_padding_check_PKCS1_type_2â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 345 | ret = RSA_padding_check_PKCS1_type_2(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:386:5: note: declared here > 386 | int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:751:5: warning: âEVP_PKEY_set1_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 751 | EVP_PKEY_set1_DSA(pkey, dsa); > | ^~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1353:5: note: declared here > 1353 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); > | ^~~~~~~~~~~~~~~~~ >src/rsa.c:362:7: warning: âRSA_padding_check_PKCS1_OAEPâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 362 | ret = RSA_padding_check_PKCS1_OAEP(to, sz,from, l, sz, p, pl); > | ^~~ >/usr/include/openssl/rsa.h:397:5: note: declared here > 397 | int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:368:7: warning: âRSA_padding_check_PKCS1_OAEP_mgf1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 368 | ret = RSA_padding_check_PKCS1_OAEP_mgf1(to, sz,from, l, sz, p, pl, md, mgf1md); > | ^~~ >/usr/include/openssl/rsa.h:406:5: note: declared here > 406 | int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:373:5: warning: âRSA_padding_check_noneâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 373 | ret = RSA_padding_check_none(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:413:27: note: declared here > 413 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_check_none(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_exportâ: >src/pkey.c:832:9: warning: âPEM_write_bio_RSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 832 | ret = ispriv ? PEM_write_bio_RSAPrivateKey(bio_out, EVP_PKEY_get0_RSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:447:1: note: declared here > 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:832:9: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 832 | ret = ispriv ? PEM_write_bio_RSAPrivateKey(bio_out, EVP_PKEY_get0_RSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:833:15: warning: âPEM_write_bio_RSAPublicKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 833 | : PEM_write_bio_RSAPublicKey(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/pem.h:448:1: note: declared here > 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:833:15: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 833 | : PEM_write_bio_RSAPublicKey(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:837:9: warning: âPEM_write_bio_DSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 837 | ret = ispriv ? PEM_write_bio_DSAPrivateKey(bio_out, EVP_PKEY_get0_DSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:453:1: note: declared here > 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:837:9: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 837 | ret = ispriv ? PEM_write_bio_DSAPrivateKey(bio_out, EVP_PKEY_get0_DSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:838:15: warning: âPEM_write_bio_DSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 838 | : PEM_write_bio_DSA_PUBKEY(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/pem.h:454:1: note: declared here > 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:838:15: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 838 | : PEM_write_bio_DSA_PUBKEY(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:843:9: warning: âPEM_write_bio_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 843 | ret = ispriv ? PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:462:1: note: declared here > 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:843:9: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 843 | ret = ispriv ? PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:844:15: warning: âPEM_write_bio_EC_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 844 | : PEM_write_bio_EC_PUBKEY(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/pem.h:463:1: note: declared here > 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:844:15: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 844 | : PEM_write_bio_EC_PUBKEY(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:869:9: warning: âi2d_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 869 | ret = ispriv ? i2d_RSAPrivateKey_bio(bio_out, EVP_PKEY_get0_RSA(key)) > | ^~~ >/usr/include/openssl/x509.h:617:27: note: declared here > 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:869:9: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 869 | ret = ispriv ? i2d_RSAPrivateKey_bio(bio_out, EVP_PKEY_get0_RSA(key)) > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:870:15: warning: âi2d_RSAPublicKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 870 | : i2d_RSAPublicKey_bio(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/x509.h:619:27: note: declared here > 619 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPublicKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:870:15: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 870 | : i2d_RSAPublicKey_bio(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:874:9: warning: âi2d_DSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 874 | ret = ispriv ? i2d_DSAPrivateKey_bio(bio_out, EVP_PKEY_get0_DSA(key)) > | ^~~ >/usr/include/openssl/x509.h:628:27: note: declared here > 628 | OSSL_DEPRECATEDIN_3_0 int i2d_DSAPrivateKey_bio(BIO *bp, const DSA *dsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:874:9: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 874 | ret = ispriv ? i2d_DSAPrivateKey_bio(bio_out, EVP_PKEY_get0_DSA(key)) > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:875:15: warning: âi2d_DSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 875 | : i2d_DSA_PUBKEY_bio(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/x509.h:626:27: note: declared here > 626 | OSSL_DEPRECATEDIN_3_0 int i2d_DSA_PUBKEY_bio(BIO *bp, const DSA *dsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:875:15: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 875 | : i2d_DSA_PUBKEY_bio(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:880:9: warning: âi2d_ECPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 880 | ret = ispriv ? i2d_ECPrivateKey_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)) > | ^~~ >/usr/include/openssl/x509.h:637:27: note: declared here > 637 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:880:9: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 880 | ret = ispriv ? i2d_ECPrivateKey_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)) > | ^~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:881:15: warning: âi2d_EC_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 881 | : i2d_EC_PUBKEY_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/x509.h:635:27: note: declared here > 635 | OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *eckey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:881:15: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 881 | : i2d_EC_PUBKEY_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_parseâ: >src/pkey.c:1025:7: warning: âEVP_PKEY_get1_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1025 | RSA* rsa = EVP_PKEY_get1_RSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1348:16: note: declared here > 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1033:7: warning: âEVP_PKEY_get1_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1033 | DSA* dsa = EVP_PKEY_get1_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1357:16: note: declared here > 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1041:7: warning: âEVP_PKEY_get1_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1041 | DH* dh = EVP_PKEY_get1_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1364:37: note: declared here > 1364 | OSSL_DEPRECATEDIN_3_0 struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1053:7: warning: âEVP_PKEY_get1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1053 | const EC_KEY* ec = EVP_PKEY_get1_EC_KEY(pkey); > | ^~~~~ >/usr/include/openssl/evp.h:1374:19: note: declared here > 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_deriveâ: >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/callback.o src/callback.c >src/pkey.c:1244:3: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1244 | if ( (ptype != EVP_PKEY_DH && EVP_PKEY_get0_DH(pkey)!=NULL) > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1245:8: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1245 | || (ptype != EVP_PKEY_EC && EVP_PKEY_get0_EC_KEY(pkey)!=NULL) ) > | ^~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_set_engineâ: >src/pkey.c:1885:5: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1885 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1885:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1885 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1886:5: warning: âENGINE_get_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1886 | const RSA_METHOD *m = ENGINE_get_RSA(eng); > | ^~~~~ >In file included from src/pkey.c:12: >/usr/include/openssl/engine.h:554:41: note: declared here > 554 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/pkey.c:1888:7: warning: âRSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1888 | ret = RSA_set_method(rsa, m); > | ^~~ >/usr/include/openssl/rsa.h:302:27: note: declared here > 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); > | ^~~~~~~~~~~~~~ >src/pkey.c:1895:5: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1895 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1895:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1895 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1896:5: warning: âENGINE_get_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1896 | const DSA_METHOD *m = ENGINE_get_DSA(eng); > | ^~~~~ >/usr/include/openssl/engine.h:555:41: note: declared here > 555 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/pkey.c:1898:7: warning: âDSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1898 | ret = DSA_set_method(dsa, m); > | ^~~ >/usr/include/openssl/dsa.h:122:27: note: declared here > 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); > | ^~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/srp.o src/srp.c >src/pkey.c:1905:5: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1905 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1905:14: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1905 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1906:5: warning: âENGINE_get_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1906 | const DH_METHOD *m = ENGINE_get_DH(eng); > | ^~~~~ >/usr/include/openssl/engine.h:557:40: note: declared here > 557 | OSSL_DEPRECATEDIN_3_0 const DH_METHOD *ENGINE_get_DH(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/pkey.c:1908:7: warning: âDH_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1908 | ret = DH_set_method(dh, m); > | ^~~ >/usr/include/openssl/dh.h:196:27: note: declared here > 196 | OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth); > | ^~~~~~~~~~~~~ >src/pkey.c:1915:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1915 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:1915:18: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1915 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:1921:5: warning: âENGINE_get_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1921 | const EC_KEY_METHOD *m = ENGINE_get_EC(eng); > | ^~~~~ >/usr/include/openssl/engine.h:556:44: note: declared here > 556 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/pkey.c:1923:7: warning: âEC_KEY_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1923 | ret = EC_KEY_set_method(ec, m); > | ^~~ >/usr/include/openssl/ec.h:1283:27: note: declared here > 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); > | ^~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.3 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o deps/auxiliar/subsidiar.o deps/auxiliar/subsidiar.c >src/x509.c: In function âopenssl_push_general_nameâ: >src/x509.c:377:45: warning: passing argument 2 of âopenssl_push_asn1typeâ from incompatible pointer type [-Wincompatible-pointer-types] > 377 | openssl_push_asn1type(L, general_name->d.x400Address); > | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ > | | > | ASN1_STRING * {aka struct asn1_string_st *} >In file included from src/x509.c:11: >src/private.h:230:58: note: expected âconst ASN1_TYPE *â {aka âconst struct asn1_type_st *â} but argument is of type âASN1_STRING *â {aka âstruct asn1_string_st *â} > 230 | int openssl_push_asn1type(lua_State* L, const ASN1_TYPE* type); > | ~~~~~~~~~~~~~~~~~^~~~ >src/srp.c: In function âopenssl_srp_create_verifierâ: >src/srp.c:15:3: warning: âSRP_create_verifier_BNâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | int ret = SRP_create_verifier_BN(username, servpass, &salt, &verifier, GN->N, GN->g); > | ^~~ >In file included from src/srp.c:5: >/usr/include/openssl/srp.h:202:5: note: declared here > 202 | int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_bâ: >src/srp.c:46:5: warning: âSRP_Calc_Bâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 46 | Bpub = SRP_Calc_B(Brnd, GN->N, GN->g, v); > | ^~~~ >/usr/include/openssl/srp.h:240:9: note: declared here > 240 | BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g, > | ^~~~~~~~~~ >src/srp.c:47:5: warning: âSRP_Verify_B_mod_Nâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | ret = SRP_Verify_B_mod_N(Bpub, GN->N); > | ^~~ >/usr/include/openssl/srp.h:268:5: note: declared here > 268 | int SRP_Verify_B_mod_N(const BIGNUM *B, const BIGNUM *N); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_server_keyâ: >src/srp.c:73:3: warning: âSRP_Calc_server_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 73 | BIGNUM *Kserver = SRP_Calc_server_key(Apub, v, u, Brnd, GN->N); > | ^~~~~~ >/usr/include/openssl/srp.h:234:9: note: declared here > 234 | BIGNUM *SRP_Calc_server_key(const BIGNUM *A, const BIGNUM *v, const BIGNUM *u, > | ^~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_aâ: >src/srp.c:92:5: warning: âSRP_Calc_Aâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 92 | Apub = SRP_Calc_A(Arnd, GN->N, GN->g); > | ^~~~ >/usr/include/openssl/srp.h:259:9: note: declared here > 259 | BIGNUM *SRP_Calc_A(const BIGNUM *a, const BIGNUM *N, const BIGNUM *g); > | ^~~~~~~~~~ >src/srp.c:93:5: warning: âSRP_Verify_A_mod_Nâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 93 | ret = SRP_Verify_A_mod_N(Apub, GN->N); > | ^~~ >/usr/include/openssl/srp.h:244:5: note: declared here > 244 | int SRP_Verify_A_mod_N(const BIGNUM *A, const BIGNUM *N); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_xâ: >src/srp.c:116:3: warning: âSRP_Calc_xâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 116 | BIGNUM *x = SRP_Calc_x(s, username, password); > | ^~~~~~ >/usr/include/openssl/srp.h:257:9: note: declared here > 257 | BIGNUM *SRP_Calc_x(const BIGNUM *s, const char *user, const char *pass); > | ^~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_client_keyâ: >src/srp.c:130:3: warning: âSRP_Calc_client_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 130 | BIGNUM *Kclient = SRP_Calc_client_key(GN->N, Bpub, GN->g, x, Arnd, u); > | ^~~~~~ >/usr/include/openssl/srp.h:265:9: note: declared here > 265 | BIGNUM *SRP_Calc_client_key(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g, > | ^~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_get_default_gNâ: >src/srp.c:139:3: warning: âSRP_get_default_gNâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 139 | SRP_gN *GN = SRP_get_default_gN(id); > | ^~~~~~ >/usr/include/openssl/srp.h:230:9: note: declared here > 230 | SRP_gN *SRP_get_default_gN(const char *id); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_uâ: >src/srp.c:154:3: warning: âSRP_Calc_uâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 154 | BIGNUM *u = SRP_Calc_u(Apub, Bpub, GN->N); > | ^~~~~~ >/usr/include/openssl/srp.h:249:9: note: declared here > 249 | BIGNUM *SRP_Calc_u(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N); > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-ar rcs libopenssl.a src/asn1.o deps/auxiliar/auxiliar.o src/bio.o src/cipher.o src/cms.o src/compat.o src/crl.o src/csr.o src/dh.o src/digest.o src/dsa.o src/ec.o src/engine.o src/hmac.o src/lbn.o src/lhash.o src/misc.o src/ocsp.o src/openssl.o src/ots.o src/pkcs12.o src/pkcs7.o src/pkey.o src/rsa.o src/ssl.o src/th-lock.o src/util.o src/x509.o src/xattrs.o src/xexts.o src/xname.o src/xstore.o src/xalgor.o src/callback.o src/srp.o deps/auxiliar/subsidiar.o >x86_64-pc-linux-gnu-gcc -shared -o openssl.so src/openssl.o -L. -lopenssl -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fPIC -lssl -ldl -pthread -lcrypto -ldl -pthread >Target system: x86_64-pc-linux-gnu >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 > * lua5-4: running lua_src_compile >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-lua5-4 /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 >make -j16 AR=x86_64-pc-linux-gnu-ar CC=x86_64-pc-linux-gnu-gcc LUA= 'LUA_CFLAGS=-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 ' 'LUA_LIBS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' LUA_VERSION=5.4 TARGET_SYS=x86_64-pc-linux-gnu >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/asn1.o src/asn1.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o deps/auxiliar/auxiliar.o deps/auxiliar/auxiliar.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/bio.o src/bio.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/cipher.o src/cipher.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/cms.o src/cms.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/compat.o src/compat.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/crl.o src/crl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/csr.o src/csr.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/dh.o src/dh.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/digest.o src/digest.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/dsa.o src/dsa.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ec.o src/ec.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/engine.o src/engine.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/hmac.o src/hmac.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/lbn.o src/lbn.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/lhash.o src/lhash.c >src/cms.c: In function âluaopen_cmsâ: >src/cms.c:864:3: warning: âERR_load_CMS_stringsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 864 | ERR_load_CMS_strings(); > | ^~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/cryptoerr.h:17, > from /usr/include/openssl/crypto.h:38, > from /usr/include/openssl/bio.h:30, > from /usr/include/openssl/evp.h:30, > from src/openssl.h:19, > from src/cms.c:30: >/usr/include/openssl/cryptoerr_legacy.h:35:27: note: declared here > 35 | OSSL_DEPRECATEDIN_3_0 int ERR_load_CMS_strings(void); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/misc.o src/misc.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ocsp.o src/ocsp.c >src/dh.c: In function âopenssl_dh_freeâ: >src/dh.c:15:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | DH_free(dh); > | ^~~~~~~ >In file included from /usr/include/openssl/dsa.h:51, > from /usr/include/openssl/x509.h:37, > from src/openssl.h:20, > from src/dh.c:7: >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dh.c: In function âopenssl_dh_parseâ: >src/dh.c:25:3: warning: âDH_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 25 | lua_pushinteger(L, DH_size(dh)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:203:27: note: declared here > 203 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); > | ^~~~~~~ >src/dh.c:28:3: warning: âDH_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 28 | lua_pushinteger(L, DH_bits(dh)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dh.h:202:27: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 int DH_bits(const DH *dh); > | ^~~~~~~ >src/dh.c:31:3: warning: âDH_get0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 31 | DH_get0_pqg(dh, &p, &q, &g); > | ^~~~~~~~~~~ >/usr/include/openssl/dh.h:253:28: note: declared here > 253 | OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, > | ^~~~~~~~~~~ >src/dh.c:32:3: warning: âDH_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 32 | DH_get0_key(dh, &pub, &pri); > | ^~~~~~~~~~~ >/usr/include/openssl/dh.h:256:28: note: declared here > 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, > | ^~~~~~~~~~~ >src/dh.c: In function âopenssl_dh_checkâ: >src/dh.c:52:5: warning: âDH_check_pub_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 52 | ret = DH_check_pub_key(dh, pub, &codes); > | ^~~ >/usr/include/openssl/dh.h:221:27: note: declared here > 221 | OSSL_DEPRECATEDIN_3_0 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, > | ^~~~~~~~~~~~~~~~ >src/dh.c:54:5: warning: âDH_checkâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 54 | ret = DH_check(dh, &codes); > | ^~~ >/usr/include/openssl/dh.h:220:27: note: declared here > 220 | OSSL_DEPRECATEDIN_3_0 int DH_check(const DH *dh, int *codes); > | ^~~~~~~~ >src/dh.c: In function âopenssl_dh_generate_parametersâ: >src/dh.c:68:3: warning: âDH_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | DH *dh = eng ? DH_new_method(eng) : DH_new(); > | ^~ >/usr/include/openssl/dh.h:197:27: note: declared here > 197 | OSSL_DEPRECATEDIN_3_0 DH *DH_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~ >src/dh.c:68:3: warning: âDH_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | DH *dh = eng ? DH_new_method(eng) : DH_new(); > | ^~ >/usr/include/openssl/dh.h:199:27: note: declared here > 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); > | ^~~~~~ >src/dh.c:69:3: warning: âDH_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 69 | ret = DH_generate_parameters_ex(dh, bits, generator, NULL); > | ^~~ >/usr/include/openssl/dh.h:212:27: note: declared here > 212 | OSSL_DEPRECATEDIN_3_0 int DH_generate_parameters_ex(DH *dh, int prime_len, > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/dh.c:76:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 76 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/dh.c: In function âopenssl_dh_generate_keyâ: >src/dh.c:83:3: warning: âDHparams_dupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 83 | DH *dh = DHparams_dup(dhparamater); > | ^~ >In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from src/openssl.h:19: >/usr/include/openssl/dh.h:190:1: note: declared here > 190 | DECLARE_ASN1_DUP_FUNCTION_name_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/dh.c:85:3: warning: âDH_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 85 | int ret = DH_generate_key(dh); > | ^~~ >/usr/include/openssl/dh.h:223:27: note: declared here > 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); > | ^~~~~~~~~~~~~~~ >src/dh.c:91:3: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 91 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_infoâ: >src/digest.c:309:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | AUXILIAR_SETOBJECT(L, EVP_MD_CTX_md(ctx), "openssl.evp_digest", -1, "digest"); > | ^~~~~~~~~~~~~~~~~~ >In file included from src/openssl.h:19, > from src/digest.c:8: >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c:309:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | AUXILIAR_SETOBJECT(L, EVP_MD_CTX_md(ctx), "openssl.evp_digest", -1, "digest"); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_resetâ: >src/digest.c:409:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 409 | const EVP_MD *md = EVP_MD_CTX_md(ctx); > | ^~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c: In function âopenssl_digest_ctx_dataâ: >src/digest.c:487:3: warning: âEVP_MD_meth_get_app_datasizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 487 | size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); > | ^~~~~~ >/usr/include/openssl/evp.h:138:27: note: declared here > 138 | OSSL_DEPRECATEDIN_3_0 int EVP_MD_meth_get_app_datasize(const EVP_MD *md); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:487:3: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 487 | size_t ctx_size = EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx)); > | ^~~~~~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/digest.c:495:5: warning: âEVP_MD_meth_get_app_datasizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 495 | if (ctx_size == (size_t)EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx))) > | ^~ >/usr/include/openssl/evp.h:138:27: note: declared here > 138 | OSSL_DEPRECATEDIN_3_0 int EVP_MD_meth_get_app_datasize(const EVP_MD *md); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/digest.c:495:5: warning: âEVP_MD_CTX_mdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 495 | if (ctx_size == (size_t)EVP_MD_meth_get_app_datasize(EVP_MD_CTX_md(ctx))) > | ^~ >/usr/include/openssl/evp.h:555:15: note: declared here > 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); > | ^~~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_freeâ: >src/dsa.c:15:3: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | DSA_free(dsa); > | ^~~~~~~~ >In file included from /usr/include/openssl/x509.h:37, > from src/openssl.h:20, > from src/dsa.c:7: >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/dsa.c: In function âopenssl_dsa_parseâ: >src/dsa.c:25:3: warning: âDSA_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 25 | lua_pushinteger(L, DSA_bits(dsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/dsa.h:131:27: note: declared here > 131 | OSSL_DEPRECATEDIN_3_0 int DSA_bits(const DSA *d); > | ^~~~~~~~ >src/dsa.c:28:3: warning: âDSA_get0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 28 | DSA_get0_pqg(dsa, &p, &q, &g); > | ^~~~~~~~~~~~ >/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, > | ^~~~~~~~~~~~ >src/dsa.c:29:3: warning: âDSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 29 | DSA_get0_key(dsa, &pub, &pri); > | ^~~~~~~~~~~~ >/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, > | ^~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_set_engineâ: >src/dsa.c:44:3: warning: âENGINE_get_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 44 | const DSA_METHOD *m = ENGINE_get_DSA(e); > | ^~~~~ >In file included from src/dsa.c:10: >/usr/include/openssl/engine.h:555:41: note: declared here > 555 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/dsa.c:47:5: warning: âDSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | int r = DSA_set_method(dsa, m); > | ^~~ >/usr/include/openssl/dsa.h:122:27: note: declared here > 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); > | ^~~~~~~~~~~~~~ >src/dsa.c: In function âopenssl_dsa_generate_keyâ: >src/dsa.c:61:3: warning: âDSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 61 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:126:28: note: declared here > 126 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/dsa.c:61:3: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 61 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/dsa.c:62:3: warning: âDSA_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 62 | int ret = DSA_generate_parameters_ex(dsa, bits, (byte*)seed, seed_len, NULL, NULL, NULL); > | ^~~ >/usr/include/openssl/dsa.h:167:27: note: declared here > 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/dsa.c:64:5: warning: âDSA_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 64 | ret = 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); > | ^~~~~~~~~~~~~~~~ >src/dsa.c:70:3: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 70 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/ec.c: In function âopenssl_get_ec_groupâ: >src/ec.c:222:7: warning: âEVP_PKEY_get1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 222 | EC_KEY* ec_key = EVP_PKEY_get1_EC_KEY(pkey); > | ^~~~~~ >In file included from src/openssl.h:19, > from src/ec.c:5: >/usr/include/openssl/evp.h:1374:19: note: declared here > 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:225:9: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 225 | g = (EC_GROUP*)EC_KEY_get0_group(ec_key); > | ^ >In file included from /usr/include/openssl/x509.h:33, > from src/openssl.h:20: >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:226:9: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 226 | EC_KEY_free(ec_key); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c:232:7: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 232 | g = (EC_GROUP*)EC_KEY_get0_group(ec_key); > | ^ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_point_bn2pointâ: >src/ec.c:365:3: warning: âEC_POINT_bn2pointâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 365 | EC_POINT* pnt = EC_POINT_bn2point(group, bn, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/ec.h:774:33: note: declared here > 774 | OSSL_DEPRECATEDIN_3_0 EC_POINT *EC_POINT_bn2point(const EC_GROUP *, > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_point_point2bnâ: >src/ec.c:380:3: warning: âEC_POINT_point2bnâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 380 | BIGNUM *bn = EC_POINT_point2bn(group, point, form, NULL, NULL); > | ^~~~~~ >/usr/include/openssl/ec.h:770:31: note: declared here > 770 | OSSL_DEPRECATEDIN_3_0 BIGNUM *EC_POINT_point2bn(const EC_GROUP *, > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_group_generate_keyâ: >src/ec.c:423:3: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 423 | EC_KEY *ec = EC_KEY_new(); > | ^~~~~~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/ec.c:427:5: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 427 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/ec.c:428:5: warning: âEC_KEY_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 428 | ret = EC_KEY_generate_key(ec); > | ^~~ >/usr/include/openssl/ec.h:1101:27: note: declared here > 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~ >src/ec.c:434:5: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 434 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_do_signâ: >src/ec.c:480:3: warning: âECDSA_do_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 480 | ECDSA_SIG* sig = ECDSA_do_sign((const unsigned char*)sdata, l, ec); > | ^~~~~~~~~ >/usr/include/openssl/ec.h:1365:34: note: declared here > 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, > | ^~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_do_verifyâ: >src/ec.c:522:5: warning: âECDSA_do_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 522 | ret = ECDSA_do_verify((const unsigned char*)dgst, l, sig, ec); > | ^~~ >/usr/include/openssl/ec.h:1391:27: note: declared here > 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, > | ^~~~~~~~~~~~~~~ >src/ec.c:531:5: warning: âECDSA_do_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 531 | ret = ECDSA_do_verify((const unsigned char*)dgst, l, sig, ec); > | ^~~ >/usr/include/openssl/ec.h:1391:27: note: declared here > 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, > | ^~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_signâ: >src/ec.c:557:3: warning: âECDSA_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 557 | int ret = ECDSA_sign(EVP_MD_type(md), dgst, dgstlen, sig, &siglen, eckey); > | ^~~ >/usr/include/openssl/ec.h:1414:27: note: declared here > 1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, > | ^~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_verifyâ: >src/ec.c:588:3: warning: âECDSA_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 588 | int ret = ECDSA_verify(type, dgst, (int)dgstlen, sig, (int)siglen, eckey); > | ^~~ >/usr/include/openssl/ec.h:1447:27: note: declared here > 1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst, > | ^~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_freeâ: >src/ec.c:612:3: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 612 | EC_KEY_free(p); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_parseâ: >src/ec.c:620:3: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 620 | const EC_POINT* point = EC_KEY_get0_public_key(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/ec.c:621:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 621 | const EC_GROUP* group = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:622:3: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 622 | const BIGNUM *priv = EC_KEY_get0_private_key(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/ec.c:625:3: warning: âEC_KEY_get_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 625 | AUXILIAR_SET(L, -1, "enc_flag", EC_KEY_get_enc_flags(ec), integer); > | ^~~~~~~~~~~~ >/usr/include/openssl/ec.h:1072:32: note: declared here > 1072 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:626:3: warning: âEC_KEY_get_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 626 | AUXILIAR_SET(L, -1, "conv_form", EC_KEY_get_conv_form(ec), integer); > | ^~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdh_compute_keyâ: >src/ec.c:683:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 683 | EC_GROUP_get_degree(EC_KEY_get0_group(ec)); > | ^~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c:695:5: warning: âECDH_compute_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 695 | ECDH_compute_key(secret_a, outlen, > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1296:27: note: declared here > 1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, > | ^~~~~~~~~~~~~~~~ >src/ec.c:696:22: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 696 | EC_KEY_get0_public_key(peer), > | ^~~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ecdsa_set_methodâ: >src/ec.c:715:3: warning: âENGINE_get_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 715 | const EC_KEY_METHOD *m = ENGINE_get_EC(e); > | ^~~~~ >In file included from src/ec.c:7: >/usr/include/openssl/engine.h:556:44: note: declared here > 556 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/ec.c:718:5: warning: âEC_KEY_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 718 | int r = EC_KEY_set_method(ec, m); > | ^~~ >/usr/include/openssl/ec.h:1283:27: note: declared here > 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_check_keyâ: >src/ec.c:729:3: warning: âEC_KEY_check_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 729 | lua_pushboolean(L, EC_KEY_check_key(ec)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1107:27: note: declared here > 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_exportâ: >src/ec.c:737:3: warning: âi2d_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 737 | int len = i2d_ECPrivateKey(ec, &der); > | ^~~ >/usr/include/openssl/ec.h:1197:27: note: declared here > 1197 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey(const EC_KEY *key, > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_groupâ: >src/ec.c:753:5: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 753 | int ret = EC_KEY_set_group(ec, g); > | ^~~ >/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); > | ^~~~~~~~~~~~~~~~ >src/ec.c:758:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 758 | const EC_GROUP *g = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_readâ: >src/ec.c:770:3: warning: âd2i_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 770 | EC_KEY* ec = d2i_ECPrivateKey(NULL, &der, len); > | ^~~~~~ >/usr/include/openssl/ec.h:1187:31: note: declared here > 1187 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key, > | ^~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_conv_formâ: >src/ec.c:784:5: warning: âEC_KEY_get_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 784 | cform = EC_KEY_get_conv_form(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:793:3: warning: âEC_KEY_set_conv_formâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 793 | EC_KEY_set_conv_form(ec, cform); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1075:28: note: declared here > 1075 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c: In function âopenssl_ec_key_enc_flagsâ: >src/ec.c:804:5: warning: âEC_KEY_get_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 804 | flags = EC_KEY_get_enc_flags(ec); > | ^~~~~ >/usr/include/openssl/ec.h:1072:32: note: declared here > 1072 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/ec.c:813:3: warning: âEC_KEY_set_enc_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 813 | EC_KEY_set_enc_flags(ec, flags); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:1073:28: note: declared here > 1073 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/openssl.o src/openssl.c >src/hmac.c: In function âopenssl_hmac_ctx_newâ: >src/hmac.c:170:25: warning: pointer targets in passing argument 2 of âEVP_MAC_initâ differ in signedness [-Wpointer-sign] > 170 | ret = EVP_MAC_init(c, k, l, params); > | ^ > | | > | const char * >In file included from src/openssl.h:19, > from src/hmac.c:9: >/usr/include/openssl/evp.h:1220:57: note: expected âconst unsigned char *â but argument is of type âconst char *â > 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > | ~~~~~~~~~~~~~~~~~~~~~^~~ >src/hmac.c: In function âopenssl_hmacâ: >src/hmac.c:258:31: warning: pointer targets in passing argument 2 of âEVP_MAC_initâ differ in signedness [-Wpointer-sign] > 258 | ret = EVP_MAC_init(ctx, k, l, params); > | ^ > | | > | const char * >/usr/include/openssl/evp.h:1220:57: note: expected âconst unsigned char *â but argument is of type âconst char *â > 1220 | int EVP_MAC_init(EVP_MAC_CTX *ctx, const unsigned char *key, size_t keylen, > | ~~~~~~~~~~~~~~~~~~~~~^~~ >src/engine.c: In function âopenssl_engineâ: >src/engine.c:68:5: warning: âENGINE_by_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 68 | eng = ENGINE_by_id(id); > | ^~~ >In file included from src/engine.c:8: >/usr/include/openssl/engine.h:336:31: note: declared here > 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); > | ^~~~~~~~~~~~ >src/engine.c:74:7: warning: âENGINE_get_firstâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 74 | eng = ENGINE_get_first(); > | ^~~ >/usr/include/openssl/engine.h:318:31: note: declared here > 318 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_first(void); > | ^~~~~~~~~~~~~~~~ >src/engine.c:76:7: warning: âENGINE_get_lastâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 76 | eng = ENGINE_get_last(); > | ^~~ >/usr/include/openssl/engine.h:319:31: note: declared here > 319 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_last(void); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_nextâ: >src/engine.c:100:3: warning: âENGINE_up_refâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 100 | ENGINE_up_ref(eng); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:494:27: note: declared here > 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c:101:3: warning: âENGINE_get_nextâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 101 | eng = ENGINE_get_next(eng); > | ^~~ >/usr/include/openssl/engine.h:323:31: note: declared here > 323 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_next(ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_prevâ: >src/engine.c:114:3: warning: âENGINE_up_refâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 114 | ENGINE_up_ref(eng); > | ^~~~~~~~~~~~~ >/usr/include/openssl/engine.h:494:27: note: declared here > 494 | OSSL_DEPRECATEDIN_3_0 int ENGINE_up_ref(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c:115:3: warning: âENGINE_get_prevâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 115 | eng = ENGINE_get_prev(eng); > | ^~~ >/usr/include/openssl/engine.h:324:31: note: declared here > 324 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_get_prev(ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_addâ: >src/engine.c:128:3: warning: âENGINE_addâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 128 | int ret = ENGINE_add(eng); > | ^~~ >/usr/include/openssl/engine.h:328:27: note: declared here > 328 | OSSL_DEPRECATEDIN_3_0 int ENGINE_add(ENGINE *e); > | ^~~~~~~~~~ >src/engine.c: In function âopenssl_engine_removeâ: >src/engine.c:136:3: warning: âENGINE_removeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 136 | int ret = ENGINE_remove(eng); > | ^~~ >/usr/include/openssl/engine.h:332:27: note: declared here > 332 | OSSL_DEPRECATEDIN_3_0 int ENGINE_remove(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_registerâ: >src/engine.c:159:9: warning: âENGINE_unregister_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 159 | ENGINE_unregister_RSA(eng); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:379:28: note: declared here > 379 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:161:9: warning: âENGINE_register_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 161 | ENGINE_register_RSA(eng); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:378:27: note: declared here > 378 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~ >src/engine.c:165:9: warning: âENGINE_unregister_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 165 | ENGINE_unregister_DSA(eng); > | ^~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:382:28: note: declared here > 382 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:167:9: warning: âENGINE_register_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 167 | ENGINE_register_DSA(eng); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:381:27: note: declared here > 381 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~ >src/engine.c:185:9: warning: âENGINE_unregister_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 185 | ENGINE_unregister_EC(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:385:28: note: declared here > 385 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:187:9: warning: âENGINE_register_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 187 | ENGINE_register_EC(eng); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:384:27: note: declared here > 384 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c:192:9: warning: âENGINE_unregister_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 192 | ENGINE_unregister_DH(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:388:28: note: declared here > 388 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:194:9: warning: âENGINE_register_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 194 | ENGINE_register_DH(eng); > | ^~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:387:27: note: declared here > 387 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~ >src/engine.c:198:9: warning: âENGINE_unregister_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 198 | ENGINE_unregister_RAND(eng); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:391:28: note: declared here > 391 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:200:9: warning: âENGINE_register_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 200 | ENGINE_register_RAND(eng); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:390:27: note: declared here > 390 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c:212:9: warning: âENGINE_unregister_pkey_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 212 | ENGINE_unregister_pkey_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:400:28: note: declared here > 400 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_pkey_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:214:9: warning: âENGINE_register_pkey_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 214 | ENGINE_register_pkey_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:399:27: note: declared here > 399 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_pkey_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:218:9: warning: âENGINE_unregister_pkey_asn1_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 218 | ENGINE_unregister_pkey_asn1_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:403:28: note: declared here > 403 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_pkey_asn1_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:220:9: warning: âENGINE_register_pkey_asn1_methsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 220 | ENGINE_register_pkey_asn1_meths(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:402:27: note: declared here > 402 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_pkey_asn1_meths(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:225:9: warning: âENGINE_unregister_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 225 | ENGINE_unregister_ciphers(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:394:28: note: declared here > 394 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:227:9: warning: âENGINE_register_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 227 | ENGINE_register_ciphers(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:393:27: note: declared here > 393 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:231:9: warning: âENGINE_unregister_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 231 | ENGINE_unregister_digests(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:397:28: note: declared here > 397 | OSSL_DEPRECATEDIN_3_0 void ENGINE_unregister_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:233:9: warning: âENGINE_register_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 233 | ENGINE_register_digests(eng); > | ^~~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:396:27: note: declared here > 396 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:237:7: warning: âENGINE_register_completeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 237 | int ret = ENGINE_register_complete(eng); > | ^~~ >/usr/include/openssl/engine.h:414:27: note: declared here > 414 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_complete(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_ctrlâ: >src/engine.c:259:7: warning: âENGINE_cmd_is_executableâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 259 | ret = ENGINE_cmd_is_executable(eng, cmd); > | ^~~ >/usr/include/openssl/engine.h:440:27: note: declared here > 440 | OSSL_DEPRECATEDIN_3_0 int ENGINE_cmd_is_executable(ENGINE *e, int cmd); > | ^~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:268:7: warning: âENGINE_ctrlâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 268 | ret = ENGINE_ctrl(eng, cmd, i, p, arg); > | ^~~ >/usr/include/openssl/engine.h:429:27: note: declared here > 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, > | ^~~~~~~~~~~ >src/engine.c:282:9: warning: âENGINE_ctrl_cmdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 282 | ret = ENGINE_ctrl_cmd(eng, cmd, i, (void*)s, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:450:27: note: declared here > 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, > | ^~~~~~~~~~~~~~~ >src/engine.c:289:9: warning: âENGINE_ctrl_cmdâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 289 | ret = ENGINE_ctrl_cmd(eng, cmd, i, p, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:450:27: note: declared here > 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name, > | ^~~~~~~~~~~~~~~ >src/engine.c:296:7: warning: âENGINE_ctrl_cmd_stringâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 296 | ret = ENGINE_ctrl_cmd_string(eng, cmd, arg, opt); > | ^~~ >/usr/include/openssl/engine.h:479:5: note: declared here > 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_gcâ: >src/engine.c:305:3: warning: âENGINE_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 305 | ENGINE_free(eng); > | ^~~~~~~~~~~ >/usr/include/openssl/engine.h:493:27: note: declared here > 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); > | ^~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_idâ: >src/engine.c:317:5: warning: âENGINE_set_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 317 | ret = ENGINE_set_id(eng, id); > | ^~~ >/usr/include/openssl/engine.h:495:27: note: declared here > 495 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id); > | ^~~~~~~~~~~~~ >src/engine.c:320:5: warning: âENGINE_get_idâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 320 | lua_pushstring(L, ENGINE_get_id(eng)); > | ^~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:552:35: note: declared here > 552 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_id(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_nameâ: >src/engine.c:333:5: warning: âENGINE_set_nameâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 333 | ret = ENGINE_set_name(eng, id); > | ^~~ >/usr/include/openssl/engine.h:496:27: note: declared here > 496 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name); > | ^~~~~~~~~~~~~~~ >src/engine.c:336:5: warning: âENGINE_get_nameâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 336 | lua_pushstring(L, ENGINE_get_name(eng)); > | ^~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:553:35: note: declared here > 553 | OSSL_DEPRECATEDIN_3_0 const char *ENGINE_get_name(const ENGINE *e); > | ^~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_flagsâ: >src/engine.c:347:5: warning: âENGINE_set_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 347 | int ret = ENGINE_set_flags(eng, flags); > | ^~~ >/usr/include/openssl/engine.h:525:27: note: declared here > 525 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_flags(ENGINE *e, int flags); > | ^~~~~~~~~~~~~~~~ >src/engine.c:350:5: warning: âENGINE_get_flagsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 350 | lua_pushinteger(L, ENGINE_get_flags(eng)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/engine.h:598:27: note: declared here > 598 | OSSL_DEPRECATEDIN_3_0 int ENGINE_get_flags(const ENGINE *e); > | ^~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_initâ: >src/engine.c:361:3: warning: âENGINE_initâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 361 | int ret = ENGINE_init(eng); > | ^~~ >/usr/include/openssl/engine.h:620:27: note: declared here > 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); > | ^~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_finishâ: >src/engine.c:369:3: warning: âENGINE_finishâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 369 | int ret = ENGINE_finish(eng); > | ^~~ >/usr/include/openssl/engine.h:628:27: note: declared here > 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); > | ^~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_set_defaultâ: >src/engine.c:387:7: warning: âENGINE_set_default_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 387 | ret = ENGINE_set_default_RSA(eng); > | ^~~ >/usr/include/openssl/engine.h:684:27: note: declared here > 684 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:390:7: warning: âENGINE_set_default_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 390 | ret = ENGINE_set_default_DSA(eng); > | ^~~ >/usr/include/openssl/engine.h:690:27: note: declared here > 690 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_DSA(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:401:7: warning: âENGINE_set_default_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 401 | ret = ENGINE_set_default_EC(eng); > | ^~~ >/usr/include/openssl/engine.h:691:27: note: declared here > 691 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_EC(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:405:7: warning: âENGINE_set_default_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 405 | ret = ENGINE_set_default_DH(eng); > | ^~~ >/usr/include/openssl/engine.h:692:27: note: declared here > 692 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_DH(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~ >src/engine.c:408:7: warning: âENGINE_set_default_RANDâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 408 | ret = ENGINE_set_default_RAND(eng); > | ^~~ >/usr/include/openssl/engine.h:693:27: note: declared here > 693 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_RAND(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:411:7: warning: âENGINE_set_default_ciphersâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 411 | ret = ENGINE_set_default_ciphers(eng); > | ^~~ >/usr/include/openssl/engine.h:694:27: note: declared here > 694 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_ciphers(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c:414:7: warning: âENGINE_set_default_digestsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 414 | ret = ENGINE_set_default_digests(eng); > | ^~~ >/usr/include/openssl/engine.h:695:27: note: declared here > 695 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default_digests(ENGINE *e); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_set_rand_engineâ: >src/engine.c:430:3: warning: âRAND_set_rand_engineâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 430 | int ret = RAND_set_rand_engine(eng); > | ^~~ >In file included from /usr/include/openssl/engine.h:29: >/usr/include/openssl/rand.h:52:27: note: declared here > 52 | OSSL_DEPRECATEDIN_3_0 int RAND_set_rand_engine(ENGINE *engine); > | ^~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_private_keyâ: >src/engine.c:438:3: warning: âENGINE_load_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 438 | EVP_PKEY *pkey = ENGINE_load_private_key(eng, key_id, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/engine.h:638:11: note: declared here > 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_public_keyâ: >src/engine.c:451:3: warning: âENGINE_load_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 451 | EVP_PKEY *pkey = ENGINE_load_public_key(eng, key_id, NULL, NULL); > | ^~~~~~~~ >/usr/include/openssl/engine.h:641:11: note: declared here > 641 | EVP_PKEY *ENGINE_load_public_key(ENGINE *e, const char *key_id, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/engine.c: In function âopenssl_engine_load_ssl_client_certâ: >src/engine.c:470:3: warning: âENGINE_load_ssl_client_certâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 470 | int ret = ENGINE_load_ssl_client_cert(eng, s, ca_dn, > | ^~~ >/usr/include/openssl/engine.h:644:5: note: declared here > 644 | int ENGINE_load_ssl_client_cert(ENGINE *e, SSL *s, STACK_OF(X509_NAME) *ca_dn, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ots.o src/ots.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkcs12.o src/pkcs12.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkcs7.o src/pkcs7.c >src/lbn.c: In function âluaopen_bnâ: >src/lbn.c:486:3: warning: âERR_load_BN_stringsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 486 | ERR_load_BN_strings(); > | ^~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/openssl/cryptoerr.h:17, > from /usr/include/openssl/crypto.h:38, > from /usr/include/openssl/bn.h:26, > from src/lbn.c:12: >/usr/include/openssl/cryptoerr_legacy.h:32:27: note: declared here > 32 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BN_strings(void); > | ^~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/pkey.o src/pkey.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/rsa.o src/rsa.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/ssl.o src/ssl.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/th-lock.o src/th-lock.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/util.o src/util.c >src/ocsp.c: In function âopenssl_ocsp_request_readâ: >src/ocsp.c:124:29: warning: passing argument 1 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 124 | OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char * (*)() >src/openssl.c: In function âluaopen_opensslâ: >In file included from src/openssl.h:23, > from src/ocsp.c:7: >/usr/include/openssl/pem.h:388:38: note: expected âvoid * (*)(void **, const unsigned char **, long int)â but argument is of type âchar * (*)()â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~~~~~~~^~~ >src/ocsp.c:124:29: warning: passing argument 4 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 124 | OCSP_REQUEST *req = pem ? PEM_read_bio_OCSP_REQUEST(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char ** >/usr/include/openssl/pem.h:388:77: note: expected âvoid **â but argument is of type âchar **â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~^ >src/openssl.c:540:5: warning: âENGINE_load_builtin_enginesâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 540 | ENGINE_load_builtin_engines(); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from src/openssl.c:12: >/usr/include/openssl/engine.h:358:28: note: declared here > 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/ocsp.c: In function âopenssl_ocsp_response_readâ: >src/ocsp.c:306:30: warning: passing argument 1 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 306 | OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char * (*)() >/usr/include/openssl/pem.h:388:38: note: expected âvoid * (*)(void **, const unsigned char **, long int)â but argument is of type âchar * (*)()â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~~~~~~~^~~ >src/ocsp.c:306:30: warning: passing argument 4 of âPEM_ASN1_read_bioâ from incompatible pointer type [-Wincompatible-pointer-types] > 306 | OCSP_RESPONSE *res = pem ? PEM_read_bio_OCSP_RESPONSE(bio, NULL, NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | | > | char ** >/usr/include/openssl/pem.h:388:77: note: expected âvoid **â but argument is of type âchar **â > 388 | void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, > | ~~~~~~~^ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/x509.o src/x509.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xattrs.o src/xattrs.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xexts.o src/xexts.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xname.o src/xname.c >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xstore.o src/xstore.c >src/pkey.c: In function âopenssl_pkey_is_privateâ: >src/pkey.c:32:5: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 32 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~ >In file included from src/openssl.h:19, > from src/pkey.c:7: >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:32:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 32 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:35:5: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 35 | RSA_get0_key(rsa, NULL, NULL, &d); > | ^~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:36, > from src/openssl.h:20: >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/pkey.c:43:5: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 43 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:43:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 43 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:45:5: warning: âDSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 45 | DSA_get0_key(dsa, NULL, &p); > | ^~~~~~~~~~~~ >In file included from /usr/include/openssl/x509.h:37: >/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, > | ^~~~~~~~~~~~ >src/pkey.c:53:5: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 53 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:53:14: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 53 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:55:5: warning: âDH_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 55 | DH_get0_key(dh, NULL, &p); > | ^~~~~~~~~~~ >In file included from /usr/include/openssl/dsa.h:51: >/usr/include/openssl/dh.h:256:28: note: declared here > 256 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, > | ^~~~~~~~~~~ >src/pkey.c:63:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 63 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:63:18: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 63 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:64:5: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 64 | const BIGNUM *p = EC_KEY_get0_private_key(ec); > | ^~~~~ >In file included from /usr/include/openssl/x509.h:33: >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_is_sm2â: >src/pkey.c:87:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 87 | const EC_KEY *ec = EVP_PKEY_get0_EC_KEY((EVP_PKEY*)pkey); > | ^~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:88:5: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 88 | const EC_GROUP *grp = EC_KEY_get0_group(ec); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_readâ: >src/pkey.c:128:9: warning: âPEM_read_bio_RSAPublicKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 128 | RSA* rsa = PEM_read_bio_RSAPublicKey(in, NULL, NULL, NULL); > | ^~~ >In file included from src/openssl.h:23: >/usr/include/openssl/pem.h:448:1: note: declared here > 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:132:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 132 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:138:9: warning: âPEM_read_bio_DSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 138 | DSA* dsa = PEM_read_bio_DSA_PUBKEY(in, NULL, NULL, NULL); > | ^~~ >/usr/include/openssl/pem.h:454:1: note: declared here > 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:142:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 142 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:148:9: warning: âPEM_read_bio_EC_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 148 | EC_KEY *ec = PEM_read_bio_EC_PUBKEY(in, NULL, NULL, NULL); > | ^~~~~~ >/usr/include/openssl/pem.h:463:1: note: declared here > 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:152:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 152 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:170:9: warning: âd2i_RSAPublicKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 170 | RSA *rsa = d2i_RSAPublicKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:618:28: note: declared here > 618 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:174:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 174 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:180:9: warning: âd2i_DSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 180 | DSA *dsa = d2i_DSA_PUBKEY_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:625:28: note: declared here > 625 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:184:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 184 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:190:9: warning: âd2i_EC_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 190 | EC_KEY *ec = d2i_EC_PUBKEY_bio(in, NULL); > | ^~~~~~ >/usr/include/openssl/x509.h:634:31: note: declared here > 634 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:194:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 194 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:218:9: warning: âd2i_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 218 | RSA *rsa = d2i_RSAPrivateKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:616:28: note: declared here > 616 | OSSL_DEPRECATEDIN_3_0 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:222:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 222 | EVP_PKEY_assign_RSA(key, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:228:9: warning: âd2i_DSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 228 | DSA *dsa = d2i_DSAPrivateKey_bio(in, NULL); > | ^~~ >/usr/include/openssl/x509.h:627:28: note: declared here > 627 | OSSL_DEPRECATEDIN_3_0 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:232:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 232 | EVP_PKEY_assign_DSA(key, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:238:9: warning: âd2i_ECPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 238 | EC_KEY *ec = d2i_ECPrivateKey_bio(in, NULL); > | ^~~~~~ >/usr/include/openssl/x509.h:636:31: note: declared here > 636 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:242:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 242 | EVP_PKEY_assign_EC_KEY(key, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c: In function âEC_KEY_generate_key_partâ: >src/pkey.c:279:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 279 | group = EC_KEY_get0_group(eckey); > | ^~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:283:3: warning: âEC_KEY_get0_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 283 | priv_key = (BIGNUM*)EC_KEY_get0_private_key(eckey); > | ^~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:295:3: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 295 | pub_key = (EC_POINT *)EC_KEY_get0_public_key(eckey); > | ^~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:302:5: warning: âEC_KEY_set_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 302 | EC_KEY_set_public_key(eckey, 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); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:304:5: warning: âEC_KEY_get0_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 304 | pub_key = (EC_POINT *)EC_KEY_get0_public_key(eckey); > | ^~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:309:3: warning: âEC_POINT_make_affineâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | EC_POINT_make_affine(EC_KEY_get0_group(eckey), > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/ec.h:844:27: note: declared here > 844 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_make_affine(const EC_GROUP *group, > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:309:3: warning: âEC_KEY_get0_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 309 | EC_POINT_make_affine(EC_KEY_get0_group(eckey), > | ^~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_newâ: >src/pkey.c:389:7: warning: âRSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 389 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:202:28: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:389:7: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 389 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/pkey.c:390:7: warning: âRSA_generate_key_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 390 | if (RSA_generate_key_ex(rsa, bits, E, NULL)) > | ^~ >/usr/include/openssl/rsa.h:260:27: note: declared here > 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:393:9: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 393 | EVP_PKEY_assign_RSA(pkey, rsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:396:9: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 396 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:407:7: warning: âDSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 407 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:126:28: note: declared here > 126 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/pkey.c:407:7: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 407 | DSA *dsa = eng ? DSA_new_method(eng) : DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/pkey.c:408:7: warning: âDSA_generate_parameters_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 408 | if (DSA_generate_parameters_ex(dsa, bits, (byte*)seed, seed_len, NULL, NULL, NULL) > | ^~ >/usr/include/openssl/dsa.h:167:27: note: declared here > 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:409:11: warning: âDSA_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 409 | && 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:412:9: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 412 | EVP_PKEY_assign_DSA(pkey, dsa); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:415:9: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 415 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/pkey.c:471:7: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 471 | ec = EC_KEY_new(); > | ^~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/pkey.c:474:9: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 474 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:476:9: warning: âEC_KEY_generate_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 476 | if (EC_KEY_generate_key(ec)) > | ^~ >/usr/include/openssl/ec.h:1101:27: note: declared here > 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:479:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 479 | EVP_PKEY_assign_EC_KEY(pkey, ec); > | ^~~~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:482:11: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 482 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/pkey.c:503:9: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 503 | RSA *rsa = RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/pkey.c:540:11: warning: âRSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 540 | if (RSA_set0_key(rsa, n, e, d) == 1 > | ^~ >/usr/include/openssl/rsa.h:207:27: note: declared here > 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); > | ^~~~~~~~~~~~ >src/pkey.c:541:15: warning: âRSA_set0_factorsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 541 | && (p == NULL || RSA_set0_factors(rsa, p, q) == 1) > | ^~ >/usr/include/openssl/rsa.h:208:27: note: declared here > 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:542:15: warning: âRSA_set0_crt_paramsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 542 | && (dmp1 == NULL || RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp) == 1) ) > | ^~ >/usr/include/openssl/rsa.h:209:27: note: declared here > 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, > | ^~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/xalgor.o src/xalgor.c >src/pkey.c:544:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 544 | if (!EVP_PKEY_assign_RSA(pkey, rsa)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:546:15: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 546 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:554:13: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 554 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/pkey.c:567:9: warning: âDSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 567 | DSA *dsa = DSA_new(); > | ^~~ >/usr/include/openssl/dsa.h:125:28: note: declared here > 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); > | ^~~~~~~ >src/pkey.c:593:11: warning: âDSA_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 593 | if (DSA_set0_key(dsa, pub_key, priv_key) == 1 > | ^~ >/usr/include/openssl/dsa.h:206:27: note: declared here > 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, > | ^~~~~~~~~~~~ >src/pkey.c:594:15: warning: âDSA_set0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 594 | && DSA_set0_pqg(dsa, p, q, g)) > | ^~ >/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); > | ^~~~~~~~~~~~ >src/pkey.c:596:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 596 | if (!EVP_PKEY_assign_DSA(pkey, dsa)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:598:15: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 598 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/pkey.c:605:13: warning: âDSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 605 | DSA_free(dsa); > | ^~~~~~~~ >/usr/include/openssl/dsa.h:127:28: note: declared here > 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); > | ^~~~~~~~ >src/pkey.c:619:9: warning: âDH_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 619 | DH *dh = DH_new(); > | ^~ >/usr/include/openssl/dh.h:199:27: note: declared here > 199 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); > | ^~~~~~ >src/pkey.c:645:11: warning: âDH_set0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 645 | if (DH_set0_key(dh, pub_key, priv_key) == 1 > | ^~ >/usr/include/openssl/dh.h:258:27: note: declared here > 258 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); > | ^~~~~~~~~~~ >src/pkey.c:646:15: warning: âDH_set0_pqgâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 646 | && DH_set0_pqg(dh, p, q, g)) > | ^~ >/usr/include/openssl/dh.h:255:27: note: declared here > 255 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); > | ^~~~~~~~~~~ >src/pkey.c:648:13: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 648 | if (!EVP_PKEY_assign_DH(pkey, dh)) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:650:15: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 650 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/pkey.c:658:13: warning: âDH_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 658 | DH_free(dh); > | ^~~~~~~ >/usr/include/openssl/dh.h:200:28: note: declared here > 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); > | ^~~~~~~ >src/pkey.c:696:9: warning: âEC_KEY_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 696 | EC_KEY *ec = EC_KEY_new(); > | ^~~~~~ >/usr/include/openssl/ec.h:968:31: note: declared here > 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); > | ^~~~~~~~~~ >src/pkey.c:699:11: warning: âEC_KEY_set_groupâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 699 | EC_KEY_set_group(ec, 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); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:701:13: warning: âEC_KEY_set_private_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 701 | EC_KEY_set_private_key(ec, d); > | ^~~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:707:13: warning: âEC_KEY_set_public_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 707 | EC_KEY_set_public_key(ec, pnt); > | ^~~~~~~~~~~~~~~~~~~~~ >/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); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:713:11: warning: âEC_KEY_check_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 713 | if (EC_KEY_check_key(ec) == 0 || EVP_PKEY_assign_EC_KEY(pkey, ec) == 0) > | ^~ >/usr/include/openssl/ec.h:1107:27: note: declared here > 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:713:11: warning: âEVP_PKEY_assignâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 713 | if (EC_KEY_check_key(ec) == 0 || EVP_PKEY_assign_EC_KEY(pkey, ec) == 0) > | ^~ >/usr/include/openssl/evp.h:1328:5: note: declared here > 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); > | ^~~~~~~~~~~~~~~ >src/pkey.c:715:13: warning: âEC_KEY_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 715 | EC_KEY_free(ec); > | ^~~~~~~~~~~ >/usr/include/openssl/ec.h:1003:28: note: declared here > 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); > | ^~~~~~~~~~~ >src/pkey.c:733:5: warning: âEVP_PKEY_set1_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 733 | EVP_PKEY_set1_RSA(pkey, rsa); > | ^~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1344:5: note: declared here > 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:739:5: warning: âEVP_PKEY_set1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 739 | EVP_PKEY_set1_EC_KEY(pkey, ec); > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1370:5: note: declared here > 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:745:5: warning: âEVP_PKEY_set1_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 745 | EVP_PKEY_set1_DH(pkey, dh); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1362:27: note: declared here > 1362 | OSSL_DEPRECATEDIN_3_0 int EVP_PKEY_set1_DH(EVP_PKEY *pkey, struct dh_st *key); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:751:5: warning: âEVP_PKEY_set1_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 751 | EVP_PKEY_set1_DSA(pkey, dsa); > | ^~~~~~~~~~~~~~~~~ >/usr/include/openssl/evp.h:1353:5: note: declared here > 1353 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_exportâ: >src/pkey.c:832:9: warning: âPEM_write_bio_RSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 832 | ret = ispriv ? PEM_write_bio_RSAPrivateKey(bio_out, EVP_PKEY_get0_RSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:447:1: note: declared here > 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:832:9: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 832 | ret = ispriv ? PEM_write_bio_RSAPrivateKey(bio_out, EVP_PKEY_get0_RSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:833:15: warning: âPEM_write_bio_RSAPublicKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 833 | : PEM_write_bio_RSAPublicKey(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/pem.h:448:1: note: declared here > 448 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:833:15: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 833 | : PEM_write_bio_RSAPublicKey(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:837:9: warning: âPEM_write_bio_DSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 837 | ret = ispriv ? PEM_write_bio_DSAPrivateKey(bio_out, EVP_PKEY_get0_DSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:453:1: note: declared here > 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:837:9: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 837 | ret = ispriv ? PEM_write_bio_DSAPrivateKey(bio_out, EVP_PKEY_get0_DSA(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:838:15: warning: âPEM_write_bio_DSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 838 | : PEM_write_bio_DSA_PUBKEY(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/pem.h:454:1: note: declared here > 454 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSA_PUBKEY, DSA) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:838:15: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 838 | : PEM_write_bio_DSA_PUBKEY(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:843:9: warning: âPEM_write_bio_ECPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 843 | ret = ispriv ? PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/pem.h:462:1: note: declared here > 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:843:9: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 843 | ret = ispriv ? PEM_write_bio_ECPrivateKey(bio_out, EVP_PKEY_get0_EC_KEY(key), cipher, (unsigned char *)passphrase, passphrase_len, NULL, NULL) > | ^~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:844:15: warning: âPEM_write_bio_EC_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 844 | : PEM_write_bio_EC_PUBKEY(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/pem.h:463:1: note: declared here > 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) > | ^~~~~~~~~~~~~~~~~~~ >src/pkey.c:844:15: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 844 | : PEM_write_bio_EC_PUBKEY(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:869:9: warning: âi2d_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 869 | ret = ispriv ? i2d_RSAPrivateKey_bio(bio_out, EVP_PKEY_get0_RSA(key)) > | ^~~ >/usr/include/openssl/x509.h:617:27: note: declared here > 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:869:9: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 869 | ret = ispriv ? i2d_RSAPrivateKey_bio(bio_out, EVP_PKEY_get0_RSA(key)) > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:870:15: warning: âi2d_RSAPublicKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 870 | : i2d_RSAPublicKey_bio(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/x509.h:619:27: note: declared here > 619 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPublicKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:870:15: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 870 | : i2d_RSAPublicKey_bio(bio_out, EVP_PKEY_get0_RSA(key)); > | ^ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:874:9: warning: âi2d_DSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 874 | ret = ispriv ? i2d_DSAPrivateKey_bio(bio_out, EVP_PKEY_get0_DSA(key)) > | ^~~ >/usr/include/openssl/x509.h:628:27: note: declared here > 628 | OSSL_DEPRECATEDIN_3_0 int i2d_DSAPrivateKey_bio(BIO *bp, const DSA *dsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/pkey.c:874:9: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 874 | ret = ispriv ? i2d_DSAPrivateKey_bio(bio_out, EVP_PKEY_get0_DSA(key)) > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:875:15: warning: âi2d_DSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 875 | : i2d_DSA_PUBKEY_bio(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/x509.h:626:27: note: declared here > 626 | OSSL_DEPRECATEDIN_3_0 int i2d_DSA_PUBKEY_bio(BIO *bp, const DSA *dsa); > | ^~~~~~~~~~~~~~~~~~ >src/pkey.c:875:15: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 875 | : i2d_DSA_PUBKEY_bio(bio_out, EVP_PKEY_get0_DSA(key)); > | ^ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:880:9: warning: âi2d_ECPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 880 | ret = ispriv ? i2d_ECPrivateKey_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)) > | ^~~ >/usr/include/openssl/x509.h:637:27: note: declared here > 637 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey_bio(BIO *bp, const EC_KEY *eckey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:880:9: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 880 | ret = ispriv ? i2d_ECPrivateKey_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)) > | ^~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/callback.o src/callback.c >src/pkey.c:881:15: warning: âi2d_EC_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 881 | : i2d_EC_PUBKEY_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/x509.h:635:27: note: declared here > 635 | OSSL_DEPRECATEDIN_3_0 int i2d_EC_PUBKEY_bio(BIO *bp, const EC_KEY *eckey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:881:15: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 881 | : i2d_EC_PUBKEY_bio(bio_out, EVP_PKEY_get0_EC_KEY(key)); > | ^ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_parseâ: >src/pkey.c:1025:7: warning: âEVP_PKEY_get1_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1025 | RSA* rsa = EVP_PKEY_get1_RSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1348:16: note: declared here > 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1033:7: warning: âEVP_PKEY_get1_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1033 | DSA* dsa = EVP_PKEY_get1_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1357:16: note: declared here > 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1041:7: warning: âEVP_PKEY_get1_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1041 | DH* dh = EVP_PKEY_get1_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1364:37: note: declared here > 1364 | OSSL_DEPRECATEDIN_3_0 struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1053:7: warning: âEVP_PKEY_get1_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1053 | const EC_KEY* ec = EVP_PKEY_get1_EC_KEY(pkey); > | ^~~~~ >/usr/include/openssl/evp.h:1374:19: note: declared here > 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_deriveâ: >src/pkey.c:1244:3: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1244 | if ( (ptype != EVP_PKEY_DH && EVP_PKEY_get0_DH(pkey)!=NULL) > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1245:8: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1245 | || (ptype != EVP_PKEY_EC && EVP_PKEY_get0_EC_KEY(pkey)!=NULL) ) > | ^~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c: In function âopenssl_pkey_set_engineâ: >src/pkey.c:1885:5: warning: âEVP_PKEY_get0_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1885 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1346:22: note: declared here > 1346 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1885:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1885 | RSA *rsa = EVP_PKEY_get0_RSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1886:5: warning: âENGINE_get_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1886 | const RSA_METHOD *m = ENGINE_get_RSA(eng); > | ^~~~~ >In file included from src/pkey.c:12: >/usr/include/openssl/engine.h:554:41: note: declared here > 554 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/pkey.c:1888:7: warning: âRSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1888 | ret = RSA_set_method(rsa, m); > | ^~~ >/usr/include/openssl/rsa.h:302:27: note: declared here > 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); > | ^~~~~~~~~~~~~~ >src/pkey.c:1895:5: warning: âEVP_PKEY_get0_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1895 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~ >/usr/include/openssl/evp.h:1355:22: note: declared here > 1355 | const struct dsa_st *EVP_PKEY_get0_DSA(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1895:16: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1895 | DSA *dsa = EVP_PKEY_get0_DSA(pkey); > | ^~~~~~~~~~~~~~~~~ >src/pkey.c:1896:5: warning: âENGINE_get_DSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1896 | const DSA_METHOD *m = ENGINE_get_DSA(eng); > | ^~~~~ >/usr/include/openssl/engine.h:555:41: note: declared here > 555 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *ENGINE_get_DSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/pkey.c:1898:7: warning: âDSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1898 | ret = DSA_set_method(dsa, m); > | ^~~ >/usr/include/openssl/dsa.h:122:27: note: declared here > 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); > | ^~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o src/srp.o src/srp.c >src/pkey.c:1905:5: warning: âEVP_PKEY_get0_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1905 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~ >/usr/include/openssl/evp.h:1363:43: note: declared here > 1363 | OSSL_DEPRECATEDIN_3_0 const struct dh_st *EVP_PKEY_get0_DH(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1905:14: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1905 | DH *dh = EVP_PKEY_get0_DH(pkey); > | ^~~~~~~~~~~~~~~~ >src/pkey.c:1906:5: warning: âENGINE_get_DHâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1906 | const DH_METHOD *m = ENGINE_get_DH(eng); > | ^~~~~ >/usr/include/openssl/engine.h:557:40: note: declared here > 557 | OSSL_DEPRECATEDIN_3_0 const DH_METHOD *ENGINE_get_DH(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/pkey.c:1908:7: warning: âDH_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1908 | ret = DH_set_method(dh, m); > | ^~~ >/usr/include/openssl/dh.h:196:27: note: declared here > 196 | OSSL_DEPRECATEDIN_3_0 int DH_set_method(DH *dh, const DH_METHOD *meth); > | ^~~~~~~~~~~~~ >src/pkey.c:1915:5: warning: âEVP_PKEY_get0_EC_KEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1915 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~ >/usr/include/openssl/evp.h:1372:25: note: declared here > 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:1915:18: warning: initialization discards âconstâ qualifier from pointer target type [-Wdiscarded-qualifiers] > 1915 | EC_KEY *ec = EVP_PKEY_get0_EC_KEY(pkey); > | ^~~~~~~~~~~~~~~~~~~~ >src/pkey.c:1921:5: warning: âENGINE_get_ECâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1921 | const EC_KEY_METHOD *m = ENGINE_get_EC(eng); > | ^~~~~ >/usr/include/openssl/engine.h:556:44: note: declared here > 556 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *ENGINE_get_EC(const ENGINE *e); > | ^~~~~~~~~~~~~ >src/pkey.c:1923:7: warning: âEC_KEY_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 1923 | ret = EC_KEY_set_method(ec, m); > | ^~~ >/usr/include/openssl/ec.h:1283:27: note: declared here > 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); > | ^~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_freeâ: >src/rsa.c:15:3: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | RSA_free(rsa); > | ^~~~~~~~ >x86_64-pc-linux-gnu-gcc -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -fPIC -O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -I/usr/include/lua5.4 -Wall -Wno-unused-value -Wno-unused-function -DPTHREADS -Ideps -Ideps/lua-compat/c-api -Ideps/auxiliar -c -o deps/auxiliar/subsidiar.o deps/auxiliar/subsidiar.c >In file included from /usr/include/openssl/x509.h:36, > from src/openssl.h:20, > from src/rsa.c:7: >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/rsa.c: In function âis_privateâ: >src/rsa.c:22:3: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 22 | RSA_get0_key(rsa, NULL, NULL, &d); > | ^~~~~~~~~~~~ >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_sizeâ: >src/rsa.c:36:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 36 | lua_pushinteger(L, RSA_size(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_encryptâ: >src/rsa.c:47:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | unsigned char* to = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:51:10: warning: âRSA_private_encryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 51 | ? RSA_private_encrypt(flen, from, to, rsa, padding) > | ^ >/usr/include/openssl/rsa.h:285:5: note: declared here > 285 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:52:10: warning: âRSA_public_encryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 52 | : RSA_public_encrypt(flen, from, to, rsa, padding); > | ^ >/usr/include/openssl/rsa.h:282:5: note: declared here > 282 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_decryptâ: >src/rsa.c:70:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 70 | unsigned char* to = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:74:10: warning: âRSA_private_decryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 74 | ? RSA_private_decrypt(flen, from, to, rsa, padding) > | ^ >/usr/include/openssl/rsa.h:291:5: note: declared here > 291 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:75:10: warning: âRSA_public_decryptâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 75 | : RSA_public_decrypt(flen, from, to, rsa, padding); > | ^ >/usr/include/openssl/rsa.h:288:5: note: declared here > 288 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, > | ^~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_signâ: >src/rsa.c:92:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 92 | unsigned char* sig = OPENSSL_malloc(RSA_size(rsa)); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:94:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 94 | unsigned int slen = RSA_size(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:96:3: warning: âRSA_signâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 96 | int ret = RSA_sign(EVP_MD_type(md), msg, flen, sig, &slen, rsa); > | ^~~ >/usr/include/openssl/rsa.h:348:27: note: declared here > 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_verifyâ: >src/rsa.c:118:3: warning: âRSA_verifyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 118 | int ret = RSA_verify(EVP_MD_type(md), from, flen, sig, slen, rsa); > | ^~~ >/usr/include/openssl/rsa.h:351:27: note: declared here > 351 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, > | ^~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_parseâ: >src/rsa.c:129:3: warning: âRSA_get0_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 129 | RSA_get0_key(rsa, &n, &e, &d); > | ^~~~~~~~~~~~ >/usr/include/openssl/rsa.h:217:28: note: declared here > 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, > | ^~~~~~~~~~~~ >src/rsa.c:130:3: warning: âRSA_get0_factorsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 130 | RSA_get0_factors(rsa, &p, &q); > | ^~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:220:28: note: declared here > 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, > | ^~~~~~~~~~~~~~~~ >src/rsa.c:131:3: warning: âRSA_get0_crt_paramsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 131 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); > | ^~~~~~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:225:28: note: declared here > 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:135:3: warning: âRSA_sizeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 135 | lua_pushinteger(L, RSA_size(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:204:27: note: declared here > 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c:137:3: warning: âRSA_bitsâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 137 | lua_pushinteger(L, RSA_bits(rsa)); > | ^~~~~~~~~~~~~~~ >/usr/include/openssl/rsa.h:203:27: note: declared here > 203 | OSSL_DEPRECATEDIN_3_0 int RSA_bits(const RSA *rsa); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_rsa_readâ: >src/rsa.c:156:3: warning: âd2i_RSAPrivateKeyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 156 | RSA *rsa = ispriv ? d2i_RSAPrivateKey(NULL, &in, l) > | ^~~ >In file included from /usr/include/openssl/objects.h:21, > from /usr/include/openssl/evp.h:43, > from src/openssl.h:19: >/usr/include/openssl/rsa.h:309:1: note: declared here > 309 | DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:157:14: warning: âd2i_RSA_PUBKEYâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 157 | : d2i_RSA_PUBKEY(NULL, &in, l); > | ^ >/usr/include/openssl/x509.h:710:1: note: declared here > 710 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0,RSA, RSA_PUBKEY) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_exportâ: >src/rsa.c:173:3: warning: âi2d_RSAPrivateKey_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 173 | int len = ispriv ? i2d_RSAPrivateKey_bio(out, rsa) > | ^~~ >/usr/include/openssl/x509.h:617:27: note: declared here > 617 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:174:13: warning: âi2d_RSA_PUBKEY_bioâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 174 | : i2d_RSA_PUBKEY_bio(out, rsa); > | ^ >/usr/include/openssl/x509.h:621:27: note: declared here > 621 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); > | ^~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_set_engineâ: >src/rsa.c:195:3: warning: âENGINE_get_RSAâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 195 | const RSA_METHOD *m = ENGINE_get_RSA(e); > | ^~~~~ >In file included from src/rsa.c:10: >/usr/include/openssl/engine.h:554:41: note: declared here > 554 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *ENGINE_get_RSA(const ENGINE *e); > | ^~~~~~~~~~~~~~ >src/rsa.c:198:5: warning: âRSA_set_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 198 | int r = RSA_set_method(rsa, m); > | ^~~ >/usr/include/openssl/rsa.h:302:27: note: declared here > 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); > | ^~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_rsa_generate_keyâ: >src/rsa.c:213:3: warning: âRSA_new_methodâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 213 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:202:28: note: declared here > 202 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new_method(ENGINE *engine); > | ^~~~~~~~~~~~~~ >src/rsa.c:213:3: warning: âRSA_newâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 213 | RSA *rsa = eng ? RSA_new_method(eng) : RSA_new(); > | ^~~ >/usr/include/openssl/rsa.h:201:28: note: declared here > 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); > | ^~~~~~~ >src/rsa.c:216:3: warning: âRSA_generate_key_exâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 216 | ret = RSA_generate_key_ex(rsa, bits, E, NULL); > | ^~~ >/usr/include/openssl/rsa.h:260:27: note: declared here > 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, > | ^~~~~~~~~~~~~~~~~~~ >src/rsa.c:223:5: warning: âRSA_freeâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 223 | RSA_free(rsa); > | ^~~~~~~~ >/usr/include/openssl/rsa.h:293:28: note: declared here > 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); > | ^~~~~~~~ >src/rsa.c: In function âopenssl_padding_addâ: >src/rsa.c:267:7: warning: âRSA_padding_add_PKCS1_type_1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 267 | ret = RSA_padding_add_PKCS1_type_1(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:376:5: note: declared here > 376 | int RSA_padding_add_PKCS1_type_1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:271:7: warning: âRSA_padding_add_PKCS1_type_2â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 271 | ret = RSA_padding_add_PKCS1_type_2(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:383:5: note: declared here > 383 | int RSA_padding_add_PKCS1_type_2(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:284:5: warning: âRSA_padding_add_noneâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 284 | ret = RSA_padding_add_none(to, sz,from, l); > | ^~~ >/usr/include/openssl/rsa.h:411:27: note: declared here > 411 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_add_none(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~ >src/rsa.c:292:7: warning: âRSA_padding_add_PKCS1_OAEPâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 292 | ret = RSA_padding_add_PKCS1_OAEP(to, sz,from, l, p, pl); > | ^~~ >/usr/include/openssl/rsa.h:393:5: note: declared here > 393 | int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:298:7: warning: âRSA_padding_add_PKCS1_OAEP_mgf1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 298 | ret = RSA_padding_add_PKCS1_OAEP_mgf1(to, sz,from, l, p, pl, md, mgf1md); > | ^~~ >/usr/include/openssl/rsa.h:401:5: note: declared here > 401 | int RSA_padding_add_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c: In function âopenssl_padding_checkâ: >src/rsa.c:341:7: warning: âRSA_padding_check_PKCS1_type_1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 341 | ret = RSA_padding_check_PKCS1_type_1(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:379:5: note: declared here > 379 | int RSA_padding_check_PKCS1_type_1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:345:7: warning: âRSA_padding_check_PKCS1_type_2â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 345 | ret = RSA_padding_check_PKCS1_type_2(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:386:5: note: declared here > 386 | int RSA_padding_check_PKCS1_type_2(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:362:7: warning: âRSA_padding_check_PKCS1_OAEPâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 362 | ret = RSA_padding_check_PKCS1_OAEP(to, sz,from, l, sz, p, pl); > | ^~~ >/usr/include/openssl/rsa.h:397:5: note: declared here > 397 | int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:368:7: warning: âRSA_padding_check_PKCS1_OAEP_mgf1â is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 368 | ret = RSA_padding_check_PKCS1_OAEP_mgf1(to, sz,from, l, sz, p, pl, md, mgf1md); > | ^~~ >/usr/include/openssl/rsa.h:406:5: note: declared here > 406 | int RSA_padding_check_PKCS1_OAEP_mgf1(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/rsa.c:373:5: warning: âRSA_padding_check_noneâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 373 | ret = RSA_padding_check_none(to, sz, from, l, sz); > | ^~~ >/usr/include/openssl/rsa.h:413:27: note: declared here > 413 | OSSL_DEPRECATEDIN_3_0 int RSA_padding_check_none(unsigned char *to, int tlen, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/x509.c: In function âopenssl_push_general_nameâ: >src/x509.c:377:45: warning: passing argument 2 of âopenssl_push_asn1typeâ from incompatible pointer type [-Wincompatible-pointer-types] > 377 | openssl_push_asn1type(L, general_name->d.x400Address); > | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ > | | > | ASN1_STRING * {aka struct asn1_string_st *} >In file included from src/x509.c:11: >src/private.h:230:58: note: expected âconst ASN1_TYPE *â {aka âconst struct asn1_type_st *â} but argument is of type âASN1_STRING *â {aka âstruct asn1_string_st *â} > 230 | int openssl_push_asn1type(lua_State* L, const ASN1_TYPE* type); > | ~~~~~~~~~~~~~~~~~^~~~ >src/srp.c: In function âopenssl_srp_create_verifierâ: >src/srp.c:15:3: warning: âSRP_create_verifier_BNâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 15 | int ret = SRP_create_verifier_BN(username, servpass, &salt, &verifier, GN->N, GN->g); > | ^~~ >In file included from src/srp.c:5: >/usr/include/openssl/srp.h:202:5: note: declared here > 202 | int SRP_create_verifier_BN(const char *user, const char *pass, BIGNUM **salt, > | ^~~~~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_bâ: >src/srp.c:46:5: warning: âSRP_Calc_Bâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 46 | Bpub = SRP_Calc_B(Brnd, GN->N, GN->g, v); > | ^~~~ >/usr/include/openssl/srp.h:240:9: note: declared here > 240 | BIGNUM *SRP_Calc_B(const BIGNUM *b, const BIGNUM *N, const BIGNUM *g, > | ^~~~~~~~~~ >src/srp.c:47:5: warning: âSRP_Verify_B_mod_Nâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 47 | ret = SRP_Verify_B_mod_N(Bpub, GN->N); > | ^~~ >/usr/include/openssl/srp.h:268:5: note: declared here > 268 | int SRP_Verify_B_mod_N(const BIGNUM *B, const BIGNUM *N); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_server_keyâ: >src/srp.c:73:3: warning: âSRP_Calc_server_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 73 | BIGNUM *Kserver = SRP_Calc_server_key(Apub, v, u, Brnd, GN->N); > | ^~~~~~ >/usr/include/openssl/srp.h:234:9: note: declared here > 234 | BIGNUM *SRP_Calc_server_key(const BIGNUM *A, const BIGNUM *v, const BIGNUM *u, > | ^~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_aâ: >src/srp.c:92:5: warning: âSRP_Calc_Aâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 92 | Apub = SRP_Calc_A(Arnd, GN->N, GN->g); > | ^~~~ >/usr/include/openssl/srp.h:259:9: note: declared here > 259 | BIGNUM *SRP_Calc_A(const BIGNUM *a, const BIGNUM *N, const BIGNUM *g); > | ^~~~~~~~~~ >src/srp.c:93:5: warning: âSRP_Verify_A_mod_Nâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 93 | ret = SRP_Verify_A_mod_N(Apub, GN->N); > | ^~~ >/usr/include/openssl/srp.h:244:5: note: declared here > 244 | int SRP_Verify_A_mod_N(const BIGNUM *A, const BIGNUM *N); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_xâ: >src/srp.c:116:3: warning: âSRP_Calc_xâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 116 | BIGNUM *x = SRP_Calc_x(s, username, password); > | ^~~~~~ >/usr/include/openssl/srp.h:257:9: note: declared here > 257 | BIGNUM *SRP_Calc_x(const BIGNUM *s, const char *user, const char *pass); > | ^~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_client_keyâ: >src/srp.c:130:3: warning: âSRP_Calc_client_keyâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 130 | BIGNUM *Kclient = SRP_Calc_client_key(GN->N, Bpub, GN->g, x, Arnd, u); > | ^~~~~~ >/usr/include/openssl/srp.h:265:9: note: declared here > 265 | BIGNUM *SRP_Calc_client_key(const BIGNUM *N, const BIGNUM *B, const BIGNUM *g, > | ^~~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_get_default_gNâ: >src/srp.c:139:3: warning: âSRP_get_default_gNâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 139 | SRP_gN *GN = SRP_get_default_gN(id); > | ^~~~~~ >/usr/include/openssl/srp.h:230:9: note: declared here > 230 | SRP_gN *SRP_get_default_gN(const char *id); > | ^~~~~~~~~~~~~~~~~~ >src/srp.c: In function âopenssl_srp_calc_uâ: >src/srp.c:154:3: warning: âSRP_Calc_uâ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 154 | BIGNUM *u = SRP_Calc_u(Apub, Bpub, GN->N); > | ^~~~~~ >/usr/include/openssl/srp.h:249:9: note: declared here > 249 | BIGNUM *SRP_Calc_u(const BIGNUM *A, const BIGNUM *B, const BIGNUM *N); > | ^~~~~~~~~~ >x86_64-pc-linux-gnu-ar rcs libopenssl.a src/asn1.o deps/auxiliar/auxiliar.o src/bio.o src/cipher.o src/cms.o src/compat.o src/crl.o src/csr.o src/dh.o src/digest.o src/dsa.o src/ec.o src/engine.o src/hmac.o src/lbn.o src/lhash.o src/misc.o src/ocsp.o src/openssl.o src/ots.o src/pkcs12.o src/pkcs7.o src/pkey.o src/rsa.o src/ssl.o src/th-lock.o src/util.o src/x509.o src/xattrs.o src/xexts.o src/xname.o src/xstore.o src/xalgor.o src/callback.o src/srp.o deps/auxiliar/subsidiar.o >x86_64-pc-linux-gnu-gcc -shared -o openssl.so src/openssl.o -L. -lopenssl -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fPIC -lssl -ldl -pthread -lcrypto -ldl -pthread >Target system: x86_64-pc-linux-gnu >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 >>>> Source compiled. >>>> Test phase: dev-lua/lua-openssl-0.8.2_p1 > * luajit: running lua_src_test >/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-luajit /var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1 >make -j16 LUA=luajit LUA_CFLAGS= LUA_LIBS= LUA_VERSION=2.1 TARGET_SYS=x86_64-pc-linux-gnu test >Target system: x86_64-pc-linux-gnu >cd test && LUA_CPATH=/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-luajit/?.so /usr/bin/luajit test.lua && cd .. >(TEST_ENG_OPENSSL_PKEY)Loading Private key private_key >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >(TEST_ENG_OPENSSL_RC4) test_init_key() called >VERSION: 0.8.2 Lua 5.1 OpenSSL 3.0.8 7 Feb 2023 >skip SSL, bacause luv not avalible >Support SM2, but bugs, skip >1..87 ># Started on Wed Feb 22 11:01:47 2023 ># Starting class: TestAsn1_2 >ok 1 TestAsn1_2.testParse ># Starting class: TestBIO >ok 2 TestBIO.testFile >ok 3 TestBIO.testFilter >ok 4 TestBIO.testMem >ok 5 TestBIO.testNetwork >ok 6 TestBIO.testNull >ok 7 TestBIO.testSocket ># Starting class: TestCRL >ok 8 TestCRL.testNew >ok 9 TestCRL.testRead >ok 10 TestCRL.testReason ># Starting class: TestCSR >ok 11 TestCSR.testIO >ok 12 TestCSR.testNew ># Starting class: TestCipherCompat >ok 13 TestCipherCompat.testCipher >ok 14 TestCipherCompat.testObject ># Starting class: TestCipherMY >ok 15 TestCipherMY.testAesCTR >ok 16 TestCipherMY.testList ># Starting class: TestDH >ok 17 TestDH.testDH ># Starting class: TestDSA >ok 18 TestDSA.Testdsa ># Starting class: TestDigestCompat >ok 19 TestDigestCompat.testDigest >ok 20 TestDigestCompat.testObject ># Starting class: TestDigestMY >ok 21 TestDigestMY.testList ># Starting class: TestDigestSignVry >ok 22 TestDigestSignVry.testSignVry >ok 23 TestDigestSignVry.testSignVry1 ># Starting class: TestEC >ok 24 TestEC.TestConversionForm >ok 25 TestEC.TestEC >ok 26 TestEC.TestPrime256v1 >ok 27 TestEC.testCompat ># Starting class: TestEngine >ok 28 TestEngine.testAll >ok 29 TestEngine.testLoop ># Starting class: TestHMACCompat >ok 30 TestHMACCompat.testDigest ># Starting class: TestIssuer >ok 31 TestIssuer.test141 >ok 32 TestIssuer.test166 >ok 33 TestIssuer.test75 ># Starting class: TestNumber >ok 34 TestNumber.testBasic ># Starting class: TestOCSP >ok 35 TestOCSP.testAll ># Starting class: TestObject >ok 36 TestObject.testAll ># Starting class: TestPKCS12 >ok 37 TestPKCS12.testNew ># Starting class: TestPKCS7 >ok 38 TestPKCS7.testNew ># Starting class: TestPKEYMY >ok 39 TestPKEYMY.testBasic ># Starting class: TestPKEYSignVry >ok 40 TestPKEYSignVry.testSignVry >ok 41 TestPKEYSignVry.testSignVry1 ># Starting class: TestRSA >ok 42 TestRSA.TestOAEP_encrypt >ok 43 TestRSA.TestPad_none >ok 44 TestRSA.TestPad_oaep >ok 45 TestRSA.TestPad_pkcs1 >ok 46 TestRSA.TestRSA ># Starting class: TestSRP >ok 47 TestSRP.test_1_SRV_CreateVerifier >ok 48 TestSRP.test_2_SRV_Calc_b >ok 49 TestSRP.test_3_CLI_Calc_a >ok 50 TestSRP.test_4_Calc_u >ok 51 TestSRP.test_5_cli_key >ok 52 TestSRP.test_6_srv_key >ok 53 TestSRP.test_7_cli_key >ok 54 TestSRP.test_8_srv_key ># Starting class: TestSSL >openssl.ssl_session: 0x7f07cbde5438 >ok 55 TestSSL.testSNI ># Starting class: TestSSLOptions >ok 56 TestSSLOptions.testClear >ok 57 TestSSLOptions.testSet ># Starting class: TestStore >ok 58 TestStore.testAll ># Starting class: TestString >ok 59 TestString.testAll ># Starting class: TestTS >ok 60 TestTS.testAccuracy >ok 61 TestTS.testBasic >ok 62 TestTS.testCertReq >ok 63 TestTS.testExtensions >ok 64 TestTS.testNonce >ok 65 TestTS.testPloicyId >ok 66 TestTS.testSerialCallback >ok 67 TestTS.testTimeCallback ># Starting class: TestTime >ok 68 TestTime.testGENERALIZEDTime >ok 69 TestTime.testUTCTime ># Starting class: TestType >ok 70 TestType.testBasic ># Starting class: TestX509 >not ok 71 TestX509.testIO ># 5.x509.lua:170: assertion failed! >ok 72 TestX509.testNew >ok 73 TestX509.testX509 ># Starting class: TestX509Algor >ok 74 TestX509Algor.testAll ># Starting class: TestX509Name >ok 75 TestX509Name.testAll ># Starting class: TestX509attr >ok 76 TestX509attr.testAll ># Starting class: TestX509ext >ok 77 TestX509ext.testAll >ok 78 TestX509ext.testSupport >ok 79 testAESMode >ok 80 testAll >ok 81 testBase64 >ok 82 testDSA >ok 83 testHex >ok 84 testIssue185 >ok 85 testKeyFmt >ok 86 testOpenSSL_BIGNUM >ok 87 testRSA ># Ran 87 tests in 9.732 seconds, 86 successes, 1 error >40B448CC077F0000:error:068000DE:asn1 encoding routines:asn1_template_ex_i2d:illegal zero content:crypto/asn1/tasn_enc.c:374: >40B448CC077F0000:error:068C0100:asn1 encoding routines:ASN1_item_dup:malloc failure:crypto/asn1/a_dup.c:81: > >make: *** [Makefile:152: test] Error 1 > * ERROR: dev-lua/lua-openssl-0.8.2_p1::gentoo failed (test phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=dev-lua/lua-openssl-0.8.2_p1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-lua/lua-openssl-0.8.2_p1::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-lua/lua-openssl-0.8.2_p1:20230222-100142.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1-luajit' > * S: '/var/tmp/portage/dev-lua/lua-openssl-0.8.2_p1/work/lua-openssl-0.8.2-1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 895864
: 853866