<86>Nov 16 02:19:57 userdel[605302]: delete user 'rooter'
<86>Nov 16 02:19:57 userdel[605302]: removed group 'rooter' owned by 'rooter'
<86>Nov 16 02:19:57 userdel[605302]: removed shadow group 'rooter' owned by 'rooter'
<86>Nov 16 02:19:57 groupadd[605332]: group added to /etc/group: name=rooter, GID=1265
<86>Nov 16 02:19:57 groupadd[605332]: group added to /etc/gshadow: name=rooter
<86>Nov 16 02:19:57 groupadd[605332]: new group: name=rooter, GID=1265
<86>Nov 16 02:19:57 useradd[605352]: new user: name=rooter, UID=1265, GID=1265, home=/root, shell=/bin/bash, from=none
<86>Nov 16 02:19:57 userdel[605379]: delete user 'builder'
<86>Nov 16 02:19:57 userdel[605379]: removed group 'builder' owned by 'builder'
<86>Nov 16 02:19:57 userdel[605379]: removed shadow group 'builder' owned by 'builder'
<86>Nov 16 02:19:57 groupadd[605400]: group added to /etc/group: name=builder, GID=1266
<86>Nov 16 02:19:57 groupadd[605400]: group added to /etc/gshadow: name=builder
<86>Nov 16 02:19:57 groupadd[605400]: new group: name=builder, GID=1266
<86>Nov 16 02:19:57 useradd[605424]: new user: name=builder, UID=1266, GID=1266, home=/usr/src, shell=/bin/bash, from=none
/usr/src/in/srpm/nxssh-7.5-alt13.src.rpm: bad symbols in the license tag: ,/
<13>Nov 16 02:20:04 rpmi: libpng16-1.6.40-alt1 sisyphus+323732.100.1.1 1687771851 installed
<13>Nov 16 02:20:04 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed
<13>Nov 16 02:20:04 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Nov 16 02:20:04 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233857 installed
<13>Nov 16 02:20:04 rpmi: libX11-locales-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400315 installed
<13>Nov 16 02:20:04 rpmi: libcom_err-devel-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Nov 16 02:20:04 rpmi: libverto-devel-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed
<13>Nov 16 02:20:04 rpmi: xorg-proto-devel-2023.2-alt1.1 sisyphus+330960.100.2.1 1696609218 installed
<13>Nov 16 02:20:04 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed
<13>Nov 16 02:20:04 rpmi: libpng-devel-1.6.40-alt1 sisyphus+323732.100.1.1 1687771851 installed
<13>Nov 16 02:20:04 rpmi: openldap-common-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed
<13>Nov 16 02:20:04 rpmi: liblmdb-0.9.31-alt1 sisyphus+330946.40.2.1 1696431544 installed
<13>Nov 16 02:20:04 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed
<13>Nov 16 02:20:04 rpmi: libjpeg-2:2.1.5.1-alt2 sisyphus+334304.100.1.1 1699893670 installed
<13>Nov 16 02:20:04 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed
<13>Nov 16 02:20:04 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed
<13>Nov 16 02:20:04 rpmi: libxcb-1.16-alt1 sisyphus+327325.200.1.1 1692276261 installed
<13>Nov 16 02:20:04 rpmi: libX11-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400315 installed
<13>Nov 16 02:20:04 rpmi: libXext-1.3.5-alt1 sisyphus+309285.100.1.1 1667212412 installed
<13>Nov 16 02:20:04 rpmi: libXtst-1.2.4-alt1 sisyphus+308663.1300.1.1 1666168495 installed
<13>Nov 16 02:20:04 rpmi: libXdamage-1.1.6-alt1 sisyphus+311188.300.1.1 1670233711 installed
<13>Nov 16 02:20:04 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed
<13>Nov 16 02:20:04 rpmi: libXrandr-1.5.4-alt1 sisyphus+330992.100.1.1 1696485400 installed
<13>Nov 16 02:20:04 rpmi: nx-libs-3.5.99.26.1-alt3.1 sisyphus+332869.100.1.1 1698402200 installed
<13>Nov 16 02:20:05 rpmi: libp11-kit-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063190 installed
<13>Nov 16 02:20:05 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed
<13>Nov 16 02:20:05 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Nov 16 02:20:05 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Nov 16 02:20:05 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed
<13>Nov 16 02:20:05 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed
<13>Nov 16 02:20:05 rpmi: p11-kit-trust-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063190 installed
<13>Nov 16 02:20:05 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed
<13>Nov 16 02:20:05 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed
<86>Nov 16 02:20:05 groupadd[619221]: group added to /etc/group: name=_keytab, GID=999
<86>Nov 16 02:20:05 groupadd[619221]: group added to /etc/gshadow: name=_keytab
<86>Nov 16 02:20:05 groupadd[619221]: new group: name=_keytab, GID=999
<13>Nov 16 02:20:05 rpmi: libkrb5-1.21.2-alt1 sisyphus+327265.100.1.1 1692185462 installed
<86>Nov 16 02:20:05 groupadd[619426]: group added to /etc/group: name=sasl, GID=998
<86>Nov 16 02:20:05 groupadd[619426]: group added to /etc/gshadow: name=sasl
<86>Nov 16 02:20:05 groupadd[619426]: new group: name=sasl, GID=998
<13>Nov 16 02:20:05 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+324359.6000.12.1 1689392001 installed
<13>Nov 16 02:20:05 rpmi: libldap2-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed
<13>Nov 16 02:20:05 rpmi: libkrb5-ldap-1.21.2-alt1 sisyphus+327265.100.1.1 1692185462 installed
<13>Nov 16 02:20:05 rpmi: openssh-common-9.5p1-alt1 sisyphus+330957.100.3.1 1696924051 installed
<13>Nov 16 02:20:05 rpmi: rpm-macros-pam0-1.5.3-alt1 sisyphus+320140.100.1.1 1683581440 installed
<13>Nov 16 02:20:05 rpmi: libpam0-devel-1.5.3-alt1 sisyphus+320140.100.1.1 1683581440 installed
<86>Nov 16 02:20:05 groupadd[619547]: group added to /etc/group: name=sshagent, GID=997
<86>Nov 16 02:20:05 groupadd[619547]: group added to /etc/gshadow: name=sshagent
<86>Nov 16 02:20:05 groupadd[619547]: new group: name=sshagent, GID=997
<13>Nov 16 02:20:05 rpmi: openssh-clients-9.5p1-alt1 sisyphus+330957.100.3.1 1696924051 installed
<13>Nov 16 02:20:05 rpmi: libkrb5-devel-1.21.2-alt1 sisyphus+327265.100.1.1 1692185462 installed
<13>Nov 16 02:20:05 rpmi: libssl-devel-3.1.4-alt1 sisyphus+332632.100.2.1 1698241041 installed
<13>Nov 16 02:20:05 rpmi: nx-libs-devel-3.5.99.26.1-alt3.1 sisyphus+332869.100.1.1 1698402200 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/nxssh-7.5-alt13.nosrc.rpm (w1.gzdio)
Installing nxssh-7.5-alt13.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.42300
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf nxssh-7.5
+ echo 'Source #0 (nxssh-7.5.tar):'
Source #0 (nxssh-7.5.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/nxssh-7.5.tar
+ cd nxssh-7.5
+ /bin/chmod -c -Rf u+rwX,go-w .
+ '[' -s /usr/lib64/libssl.so.1.1 ']'
+ '[' -s /lib64/libssl.so.1.1 ']'
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.42300
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd nxssh-7.5
+ confdir=
+ '[' -r /etc/openssh/ssh_config ']'
+ confdir=/openssh
+ '[' -r /etc/ssh/ssh_config ']'
+ '[' -r /etc/ssh_config ']'
+ /usr/bin/subst 's|-DSSHDIR=\\"$(sysconfdir)\\"|-DSSHDIR=\\"$(sysconfdir)/openssh\\"|g' Makefile.in
+ autoreconf -fisv
autoreconf-default: export WARNINGS=
autoreconf-default: Entering directory '.'
autoreconf-default: configure.ac: not using Gettext
autoreconf-default: configure.ac: not using aclocal
autoreconf-default: configure.ac: tracing
autoreconf-default: configure.ac: not using Libtool
autoreconf-default: configure.ac: not using Intltool
autoreconf-default: configure.ac: not using Gtkdoc
autoreconf-default: running: /usr/bin/autoconf-2.71 --force
configure.ac:22: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:22: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:22: the top level
configure.ac:3629: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:3629: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/types.m4:149: _AC_CHECK_TYPE_NEW is expanded from...
./lib/autoconf/types.m4:233: AC_CHECK_TYPE is expanded from...
aclocal.m4:143: TYPE_SOCKLEN_T is expanded from...
configure.ac:3629: the top level
autoreconf-default: running: /usr/bin/autoheader-2.71 --force
autoreconf-default: configure.ac: not using Automake
autoreconf-default: linking ./config.sub to /usr/share/autoconf-2.71/build-aux/config.sub
autoreconf-default: linking ./config.guess to /usr/share/autoconf-2.71/build-aux/config.guess
autoreconf-default: linking ./install-sh to /usr/share/autoconf-2.71/build-aux/install-sh
autoreconf-default: Leaving directory '.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ configure_runstatedir_flags=
+ grep -qF runstatedir=DIR ./configure
+ configure_runstatedir_flags=--runstatedir=/var/run
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --without-zlib-version-check --with-kerberos5
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to enable C11 features... none needed
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for gawk... gawk
checking how to run the C preprocessor... x86_64-alt-linux-gcc -E
checking for x86_64-alt-linux-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /bin/install -c
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for x86_64-alt-linux-ar... no
checking for ar... ar
checking for cat... /bin/cat
checking for kill... /bin/kill
checking for perl5... /usr/bin/perl5
checking for sed... /bin/sed
checking for ent... no
checking for bash... /bin/bash
checking for ksh... (cached) /bin/bash
checking for sh... (cached) /bin/bash
checking for sh... /bin/sh
checking for groff... no
checking for nroff... no
checking for mandoc... no
configure: WARNING: no manpage formatted found
checking for groupadd... /usr/sbin/groupadd
checking for useradd... /usr/sbin/useradd
checking for pkgmk... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for passwd... no
checking for inline... inline
checking for x86_64-alt-linux-gcc options needed to detect all undeclared functions... none needed
checking whether LLONG_MAX is declared... yes
checking whether SYSTR_POLICY_KILL is declared... no
checking whether RLIMIT_NPROC is declared... yes
checking whether PR_SET_NO_NEW_PRIVS is declared... yes
checking whether OpenSSL will be used for cryptography... yes
checking whether SSH protocol 1 support is enabled... no
checking if x86_64-alt-linux-gcc supports -Werror... yes
checking if x86_64-alt-linux-gcc supports compile flag -Qunused-arguments... no
checking if x86_64-alt-linux-gcc supports compile flag -Wunknown-warning-option... no
checking if x86_64-alt-linux-gcc supports compile flag -Wall... yes
checking if x86_64-alt-linux-gcc supports compile flag -Wpointer-arith... yes
checking if x86_64-alt-linux-gcc supports compile flag -Wuninitialized... yes
checking if x86_64-alt-linux-gcc supports compile flag -Wsign-compare... yes
checking if x86_64-alt-linux-gcc supports compile flag -Wformat-security... yes
checking if x86_64-alt-linux-gcc supports compile flag -Wsizeof-pointer-memaccess... yes
checking if x86_64-alt-linux-gcc supports compile flag -Wpointer-sign... yes
checking if x86_64-alt-linux-gcc supports compile flag -Wunused-result... yes
checking if x86_64-alt-linux-gcc supports compile flag -fno-strict-aliasing... yes
checking if x86_64-alt-linux-gcc supports compile flag -D_FORTIFY_SOURCE=2... no
checking if x86_64-alt-linux-gcc supports link flag -Wl,-z,relro... yes
checking if x86_64-alt-linux-gcc supports link flag -Wl,-z,now... yes
checking if x86_64-alt-linux-gcc supports link flag -Wl,-z,noexecstack... yes
checking if x86_64-alt-linux-gcc supports compile flag -ftrapv and linking succeeds... yes
checking gcc version... 13.2.1
checking if x86_64-alt-linux-gcc accepts -fno-builtin-memset... yes
checking if x86_64-alt-linux-gcc supports -fstack-protector-strong... yes
checking if -fstack-protector-strong works... yes
checking if compiler allows __attribute__ on return types... yes
checking for blf.h... no
checking for bstring.h... no
checking for crypt.h... yes
checking for crypto/sha2.h... no
checking for dirent.h... yes
checking for endian.h... yes
checking for elf.h... yes
checking for err.h... yes
checking for features.h... yes
checking for fcntl.h... yes
checking for floatingpoint.h... no
checking for getopt.h... yes
checking for glob.h... yes
checking for ia.h... no
checking for iaf.h... no
checking for inttypes.h... (cached) yes
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for login.h... no
checking for maillock.h... no
checking for ndir.h... no
checking for net/if_tun.h... no
checking for netdb.h... yes
checking for netgroup.h... no
checking for pam/pam_appl.h... no
checking for paths.h... yes
checking for poll.h... yes
checking for pty.h... yes
checking for readpassphrase.h... no
checking for rpc/types.h... no
checking for security/pam_appl.h... yes
checking for sha2.h... no
checking for shadow.h... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/audit.h... no
checking for sys/bitypes.h... yes
checking for sys/bsdtty.h... no
checking for sys/capability.h... no
checking for sys/cdefs.h... yes
checking for sys/dir.h... yes
checking for sys/mman.h... yes
checking for sys/ndir.h... no
checking for sys/poll.h... yes
checking for sys/prctl.h... yes
checking for sys/pstat.h... no
checking for sys/ptrace.h... yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/stream.h... no
checking for sys/stropts.h... no
checking for sys/strtio.h... no
checking for sys/statvfs.h... yes
checking for sys/sysmacros.h... yes
checking for sys/time.h... yes
checking for sys/timers.h... no
checking for time.h... yes
checking for tmpdir.h... no
checking for ttyent.h... yes
checking for ucred.h... no
checking for unistd.h... (cached) yes
checking for usersec.h... no
checking for util.h... no
checking for utime.h... yes
checking for utmp.h... yes
checking for utmpx.h... yes
checking for vis.h... no
checking for wchar.h... yes
checking for lastlog.h... yes
checking for sys/ptms.h... no
checking for login_cap.h... no
checking for sys/mount.h... yes
checking for sys/un.h... yes
checking for linux/if_tun.h... yes
checking for linux/seccomp.h... yes
checking for linux/filter.h... yes
checking for linux/audit.h... yes
checking for seccomp architecture... "AUDIT_ARCH_X86_64"
checking compiler and flags for sanity... yes
checking for setsockopt... yes
checking for dirname... yes
checking for libgen.h... yes
checking for getspnam... yes
checking for library containing basename... none required
checking for zlib.h... yes
checking for deflate in -lz... yes
checking for possibly buggy zlib... no
checking for strcasecmp... yes
checking for utimes... yes
checking for bsd/libutil.h... no
checking for libutil.h... no
checking for library containing fmt_scaled... no
checking for library containing scan_scaled... no
checking for library containing login... none required
checking for library containing logout... none required
checking for library containing logwtmp... none required
checking for library containing openpty... none required
checking for library containing updwtmp... none required
checking for fmt_scaled... no
checking for scan_scaled... no
checking for login... yes
checking for logout... yes
checking for openpty... yes
checking for updwtmp... yes
checking for logwtmp... yes
checking for library containing inet_ntop... none required
checking for library containing gethostbyname... none required
checking for strftime... yes
checking for GLOB_ALTDIRFUNC support... yes
checking for gl_matchc field in glob_t... no
checking for gl_statv and GLOB_KEEPSTAT extensions for glob... no
checking whether GLOB_NOMATCH is declared... yes
checking whether VIS_ALL is declared... no
checking whether struct dirent allocates space for d_name... yes
checking for /proc/pid/fd directory... no
checking for gcc >= 4.x... yes
checking if x86_64-alt-linux-gcc supports compile flag -fPIE... yes
checking if x86_64-alt-linux-gcc supports link flag -pie... yes
checking whether both -fPIE and -pie are supported... yes
checking for Blowfish_initstate... no
checking for Blowfish_expandstate... no
checking for Blowfish_expand0state... no
checking for Blowfish_stream2word... no
checking for asprintf... yes
checking for b64_ntop... no
checking for __b64_ntop... no
checking for b64_pton... no
checking for __b64_pton... no
checking for bcopy... yes
checking for bcrypt_pbkdf... no
checking for bindresvport_sa... no
checking for blf_enc... no
checking for cap_rights_limit... no
checking for clock... yes
checking for closefrom... yes
checking for dirfd... yes
checking for endgrent... yes
checking for err... yes
checking for errx... yes
checking for explicit_bzero... yes
checking for fchmod... yes
checking for fchown... yes
checking for freeaddrinfo... yes
checking for fstatfs... yes
checking for fstatvfs... yes
checking for futimes... yes
checking for getaddrinfo... yes
checking for getcwd... yes
checking for getgrouplist... yes
checking for getnameinfo... yes
checking for getopt... yes
checking for getpeereid... no
checking for getpeerucred... no
checking for getpgid... yes
checking for getpgrp... yes
checking for _getpty... no
checking for getrlimit... yes
checking for getttyent... yes
checking for glob... yes
checking for group_from_gid... no
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for innetgr... yes
checking for llabs... yes
checking for login_getcapbool... no
checking for md5_crypt... no
checking for memmove... yes
checking for memset_s... no
checking for mkdtemp... yes
checking for ngetaddrinfo... no
checking for nsleep... no
checking for ogetaddrinfo... no
checking for openlog_r... no
checking for pledge... no
checking for poll... yes
checking for prctl... yes
checking for pstat... no
checking for readpassphrase... no
checking for reallocarray... yes
checking for recvmsg... yes
checking for rresvport_af... yes
checking for sendmsg... yes
checking for setdtablesize... no
checking for setegid... yes
checking for setenv... yes
checking for seteuid... yes
checking for setgroupent... no
checking for setgroups... yes
checking for setlinebuf... yes
checking for setlogin... no
checking for setpassent... no
checking for setpcred... no
checking for setproctitle... no
checking for setregid... yes
checking for setreuid... yes
checking for setrlimit... yes
checking for setsid... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... no
checking for snprintf... yes
checking for socketpair... yes
checking for statfs... yes
checking for statvfs... yes
checking for strcasestr... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strmode... no
checking for strnlen... yes
checking for strnvis... no
checking for strptime... yes
checking for strtonum... no
checking for strtoll... yes
checking for strtoul... yes
checking for strtoull... yes
checking for swap32... no
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for timingsafe_bcmp... no
checking for truncate... yes
checking for unsetenv... yes
checking for updwtmpx... yes
checking for user_from_uid... no
checking for usleep... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking for warn... yes
checking for mblen... yes
checking for mbtowc... yes
checking for nl_langinfo... yes
checking for wcwidth... yes
checking for utf8 locale support... yes
checking for library containing dlopen... none required
checking for gai_strerror... yes
checking for library containing nanosleep... none required
checking for library containing clock_gettime... none required
checking whether getrusage is declared... no
checking whether strsep is declared... yes
checking for strsep... yes
checking whether tcsendbreak is declared... yes
checking whether h_errno is declared... yes
checking whether SHUT_RD is declared... yes
checking whether O_NONBLOCK is declared... yes
checking whether writev is declared... yes
checking whether MAXSYMLINKS is declared... yes
checking whether offsetof is declared... yes
checking whether howmany is declared... yes
checking whether NFDBITS is declared... yes
checking for fd_mask... yes
checking for setresuid... yes
checking if setresuid seems to work... yes
checking for setresgid... yes
checking if setresgid seems to work... yes
checking for realpath... yes
checking if realpath works with non-existent files... no
checking for gettimeofday... yes
checking for time... yes
checking for endutent... yes
checking for getutent... yes
checking for getutid... yes
checking for getutline... yes
checking for pututline... yes
checking for setutent... yes
checking for utmpname... yes
checking for endutxent... yes
checking for getutxent... yes
checking for getutxid... yes
checking for getutxline... yes
checking for getutxuser... no
checking for pututxline... yes
checking for setutxdb... no
checking for setutxent... yes
checking for utmpxname... yes
checking for getlastlogxbyname... no
checking for daemon... yes
checking for getpagesize... yes
checking whether snprintf correctly terminates long strings... yes
checking whether vsnprintf returns correct values on overflow... yes
checking whether snprintf can declare const char *fmt... yes
checking whether system supports SO_PEERCRED getsockopt... yes
checking for (overly) strict mkstemp... yes
checking if openpty correctly handles controlling tty... yes
checking whether AI_NUMERICSERV is declared... yes
checking whether getpgrp requires zero arguments... yes
checking OpenSSL header version... 30100040 (OpenSSL 3.1.4 24 Oct 2023)
checking OpenSSL library version... 30100040 (OpenSSL 3.1.4 24 Oct 2023)
checking whether OpenSSL's headers match the library... yes
checking if programs using OpenSSL functions will link... no
checking if programs using OpenSSL need -ldl... no
checking for BN_is_prime_ex... yes
checking for DSA_generate_parameters_ex... yes
checking for EVP_DigestInit_ex... yes
checking for EVP_DigestFinal_ex... yes
checking for EVP_MD_CTX_init... no
checking for EVP_MD_CTX_cleanup... no
checking for EVP_MD_CTX_copy_ex... yes
checking for HMAC_CTX_init... no
checking for RSA_generate_key_ex... yes
checking for RSA_get_default_method... yes
checking whether OpenSSL has crippled AES support... no
checking whether OpenSSL has AES CTR via EVP... yes
checking whether OpenSSL has AES GCM via EVP... yes
checking for library containing EVP_CIPHER_CTX_ctrl... none required
checking if EVP_DigestUpdate returns an int... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking for DES_crypt... yes
checking for SHA256_Update... yes
checking for EVP_sha256... yes
checking for EVP_ripemd160... yes
checking whether OpenSSL has NID_X9_62_prime256v1... yes
checking whether OpenSSL has NID_secp384r1... yes
checking whether OpenSSL has NID_secp521r1... yes
checking if OpenSSL's NID_secp521r1 is functional... yes
checking for arc4random... yes
checking for arc4random_buf... yes
checking for arc4random_stir... no
checking for arc4random_uniform... yes
checking for ia_openinfo in -liaf... no
checking whether OpenSSL's PRNG is internally seeded... yes
checking whether SECCOMP_MODE_FILTER is declared... yes
checking kernel for seccomp_filter support... yes
checking if select works with descriptor rlimit... yes
checking if setrlimit(RLIMIT_NOFILE,{0,0}) works... yes
checking if setrlimit RLIMIT_FSIZE works... yes
checking for long long... yes
checking for unsigned long long... yes
checking for long double... yes
checking size of short int... 2
checking size of int... 4
checking size of long int... 8
checking size of long long int... 8
checking for u_int type... yes
checking for intXX_t types... yes
checking for int64_t type... yes
checking for u_intXX_t types... yes
checking for u_int64_t types... yes
checking for uintXX_t types in stdint.h... yes
checking for uintXX_t types in inttypes.h... yes
checking for u_char... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for socklen_t... yes
checking for sig_atomic_t... yes
checking for fsblkcnt_t... yes
checking for fsfilcnt_t... yes
checking for in_addr_t... yes
checking for in_port_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for clock_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct addrinfo... yes
checking for struct timeval... yes
checking for struct timespec... yes
checking for ut_host field in utmp.h... yes
checking for ut_host field in utmpx.h... yes
checking for syslen field in utmpx.h... no
checking for ut_pid field in utmp.h... yes
checking for ut_type field in utmp.h... yes
checking for ut_type field in utmpx.h... yes
checking for ut_tv field in utmp.h... yes
checking for ut_id field in utmp.h... yes
checking for ut_id field in utmpx.h... yes
checking for ut_addr field in utmp.h... yes
checking for ut_addr field in utmpx.h... yes
checking for ut_addr_v6 field in utmp.h... yes
checking for ut_addr_v6 field in utmpx.h... yes
checking for ut_exit field in utmp.h... yes
checking for ut_time field in utmp.h... no
checking for ut_time field in utmpx.h... no
checking for ut_tv field in utmpx.h... yes
checking for struct stat.st_blksize... yes
checking for struct passwd.pw_gecos... yes
checking for struct passwd.pw_class... no
checking for struct passwd.pw_change... no
checking for struct passwd.pw_expire... no
checking for struct __res_state.retrans... yes
checking for ss_family field in struct sockaddr_storage... yes
checking for __ss_family field in struct sockaddr_storage... no
checking for msg_accrights field in struct msghdr... no
checking if struct statvfs.f_fsid is integral type... yes
checking for msg_control field in struct msghdr... yes
checking if libc defines __progname... yes
checking whether x86_64-alt-linux-gcc implements __FUNCTION__... yes
checking whether x86_64-alt-linux-gcc implements __func__... yes
checking whether va_copy exists... yes
checking whether __va_copy exists... yes
checking whether getopt has optreset support... no
checking if libc defines sys_errlist... no
checking if libc defines sys_nerr... no
checking for library containing getrrsetbyname... no
checking for library containing res_query... none required
checking for library containing dn_expand... none required
checking if res_query will link... yes
checking for _getshort... no
checking for _getlong... no
checking whether _getshort is declared... no
checking whether _getlong is declared... no
checking for HEADER.ad... yes
checking if struct __res_state _res is an extern... yes
checking for x86_64-alt-linux-krb5-config... no
checking for krb5-config... /usr/bin/krb5-config
checking for gssapi support... yes
checking whether we are using Heimdal... no
checking for gssapi.h... yes
checking for gssapi/gssapi.h... yes
checking for gssapi_krb5.h... no
checking for gssapi/gssapi_krb5.h... yes
checking for gssapi_generic.h... no
checking for gssapi/gssapi_generic.h... yes
checking for library containing k_hasafs... no
checking whether GSS_C_NT_HOSTBASED_SERVICE is declared... yes
checking for krb5_cc_new_unique... yes
checking for krb5_get_error_message... yes
checking for krb5_free_error_message... yes
checking for xauth... no
checking Discovering system mail directory... Using: /var/mail from _PATH_MAILDIR
checking for "/dev/ptc"... no
checking for nroff... no
checking for awf... no
checking if the systems has expire shadow information... yes
checking for "/etc/default/login"... no
checking if we need to convert IPv4 in IPv6-mapped addresses... yes (default)
checking if your system defines LASTLOG_FILE... no
checking if your system defines _PATH_LASTLOG... yes
checking if your system defines UTMP_FILE... yes
checking if your system defines WTMP_FILE... yes
checking if your system defines WTMPX_FILE... no
checking for struct lastlog.ll_line... yes
checking for struct utmp.ut_line... yes
checking whether BROKEN_GETADDRINFO is declared... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating buildpkg.sh
config.status: creating opensshd.init
config.status: creating openssh.xml
config.status: creating openbsd-compat/Makefile
config.status: creating openbsd-compat/regress/Makefile
config.status: creating survey.sh
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext

OpenSSH has been configured with the following options:
                     User binaries: /usr/bin
                   System binaries: /usr/sbin
               Configuration files: /etc
                   Askpass program: /usr/lib/ssh-askpass
                      Manual pages: /usr/share/man/catX
                          PID file: /var/run
  Privilege separation chroot path: /var/empty
            sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin
                    Manpage format: cat
                       PAM support: no
                   OSF SIA support: no
                 KerberosV support: yes
                   SELinux support: no
                 Smartcard support: 
                     S/KEY support: no
              MD5 password support: no
                   libedit support: no
                   libldns support: no
  Solaris process contract support: no
           Solaris project support: no
         Solaris privilege support: no
       IP address in $DISPLAY hack: no
           Translate v4 in v6 hack: yes
                  BSD Auth support: no
              Random number source: OpenSSL internal ONLY
             Privsep sandbox style: seccomp_filter

              Host: x86_64-alt-linux-gnu
          Compiler: x86_64-alt-linux-gcc
    Compiler flags: -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE 
Preprocessor flags:  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE  
      Linker flags:  -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -fstack-protector-strong -pie
         Libraries: -lcrypto -lz  -lcrypt

+ make -j8
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp moduli.5 moduli.5.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp scp.1 scp.1.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp ssh-add.1 ssh-add.1.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp ssh-agent.1 ssh-agent.1.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
conffile=`echo ssh_config.out | sed 's/.out$//'`; \
/bin/sed -e 's|/etc/ssh/ssh_config|/etc/ssh_config|g' -e 's|/etc/ssh/ssh_known_hosts|/etc/ssh_known_hosts|g' -e 's|/etc/ssh/sshd_config|/etc/sshd_config|g' -e 's|/usr/libexec|/usr/lib|g' -e 's|/etc/shosts.equiv|/etc/shosts.equiv|g' -e 's|/etc/ssh/ssh_host_key|/etc/ssh_host_key|g' -e 's|/etc/ssh/ssh_host_ecdsa_key|/etc/ssh_host_ecdsa_key|g' -e 's|/etc/ssh/ssh_host_dsa_key|/etc/ssh_host_dsa_key|g' -e 's|/etc/ssh/ssh_host_rsa_key|/etc/ssh_host_rsa_key|g' -e 's|/etc/ssh/ssh_host_ed25519_key|/etc/ssh_host_ed25519_key|g' -e 's|/var/run/sshd.pid|/var/run/sshd.pid|g' -e 's|/etc/moduli|/etc/moduli|g' -e 's|/etc/ssh/moduli|/etc/moduli|g' -e 's|/etc/ssh/sshrc|/etc/sshrc|g' -e 's|/usr/X11R6/bin/xauth|undefined|g' -e 's|/var/empty|/var/empty|g' -e 's|/usr/bin:/bin:/usr/sbin:/sbin|/usr/bin:/bin:/usr/sbin:/sbin|g' ./${conffile} > ssh_config.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
conffile=`echo sshd_config.out | sed 's/.out$//'`; \
/bin/sed -e 's|/etc/ssh/ssh_config|/etc/ssh_config|g' -e 's|/etc/ssh/ssh_known_hosts|/etc/ssh_known_hosts|g' -e 's|/etc/ssh/sshd_config|/etc/sshd_config|g' -e 's|/usr/libexec|/usr/lib|g' -e 's|/etc/shosts.equiv|/etc/shosts.equiv|g' -e 's|/etc/ssh/ssh_host_key|/etc/ssh_host_key|g' -e 's|/etc/ssh/ssh_host_ecdsa_key|/etc/ssh_host_ecdsa_key|g' -e 's|/etc/ssh/ssh_host_dsa_key|/etc/ssh_host_dsa_key|g' -e 's|/etc/ssh/ssh_host_rsa_key|/etc/ssh_host_rsa_key|g' -e 's|/etc/ssh/ssh_host_ed25519_key|/etc/ssh_host_ed25519_key|g' -e 's|/var/run/sshd.pid|/var/run/sshd.pid|g' -e 's|/etc/moduli|/etc/moduli|g' -e 's|/etc/ssh/moduli|/etc/moduli|g' -e 's|/etc/ssh/sshrc|/etc/sshrc|g' -e 's|/usr/X11R6/bin/xauth|undefined|g' -e 's|/var/empty|/var/empty|g' -e 's|/usr/bin:/bin:/usr/sbin:/sbin|/usr/bin:/bin:/usr/sbin:/sbin|g' ./${conffile} > sshd_config.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp ssh-keygen.1 ssh-keygen.1.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp ssh-keyscan.1 ssh-keyscan.1.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp ssh.1 ssh.1.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp sshd.8 sshd.8.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp sftp-server.8 sftp-server.8.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp sftp.1 sftp.1.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp ssh-keysign.8 ssh-keysign.8.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp ssh-pkcs11-helper.8 ssh-pkcs11-helper.8.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
(cd openbsd-compat && make)
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp sshd_config.5 sshd_config.5.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
cp ssh_config.5 ssh_config.5.out
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c ssherr.c -o ssherr.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c arc4random.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c sshbuf-getput-crypto.c -o sshbuf-getput-crypto.o
sshbuf-getput-crypto.c: In function 'sshbuf_get_eckey':
sshbuf-getput-crypto.c:113:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  113 |         EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v));
      |         ^~~~~~~~
In file included from sshbuf.h:27,
                 from buffer.h:24,
                 from entropy.h:28,
                 from includes.h:174,
                 from sshbuf-getput-crypto.c:19:
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshbuf-getput-crypto.c:126:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  126 |         if ((r = get_ec(d, len, pt, EC_KEY_get0_group(v))) != 0) {
      |         ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshbuf-getput-crypto.c:130:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  130 |         if (EC_KEY_set_public_key(v, pt) != 1) {
      |         ^~
/usr/include/openssl/ec.h:1073:27: note: declared here
 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
sshbuf-getput-crypto.c: In function 'sshbuf_put_eckey':
sshbuf-getput-crypto.c:220:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  220 |         return sshbuf_put_ec(buf, EC_KEY_get0_public_key(v),
      |         ^~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshbuf-getput-crypto.c:221:13: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  221 |             EC_KEY_get0_group(v));
      |             ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c sshbuf-misc.c -o sshbuf-misc.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c sshbuf-getput-basic.c -o sshbuf-getput-basic.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c sshbuf.c -o sshbuf.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c ssh_api.c -o ssh_api.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-asprintf.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c bitmap.c -o bitmap.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c bufaux.c -o bufaux.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c krl.c -o krl.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c bufbn.c -o bufbn.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c authfd.c -o authfd.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c authfile.c -o authfile.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c bufec.c -o bufec.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-closefrom.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c sshkey.c -o sshkey.o
sshkey.c: In function 'sshkey_size':
sshkey.c:278:42: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  278 |                 return BN_num_bits(k->rsa->n);
      |                                          ^~
sshkey.c:281:42: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  281 |                 return BN_num_bits(k->dsa->p);
      |                                          ^~
sshkey.c: In function 'sshkey_new':
sshkey.c:481:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  481 |                 if ((rsa = RSA_new()) == NULL ||
      |                 ^~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from sshkey.c:36:
/usr/include/openssl/rsa.h:207:28: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
sshkey.c:482:25: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  482 |                     (rsa->n = BN_new()) == NULL ||
      |                         ^~
sshkey.c:483:25: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  483 |                     (rsa->e = BN_new()) == NULL) {
      |                         ^~
sshkey.c:485:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  485 |                                 RSA_free(rsa);
      |                                 ^~~~~~~~
/usr/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
sshkey.c:493:17: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  493 |                 if ((dsa = DSA_new()) == NULL ||
      |                 ^~
In file included from /usr/include/openssl/x509.h:37:
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
sshkey.c:494:25: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  494 |                     (dsa->p = BN_new()) == NULL ||
      |                         ^~
sshkey.c:495:25: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  495 |                     (dsa->q = BN_new()) == NULL ||
      |                         ^~
sshkey.c:496:25: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  496 |                     (dsa->g = BN_new()) == NULL ||
      |                         ^~
sshkey.c:497:25: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  497 |                     (dsa->pub_key = BN_new()) == NULL) {
      |                         ^~
sshkey.c:499:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  499 |                                 DSA_free(dsa);
      |                                 ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
sshkey.c: In function 'sshkey_add_private':
sshkey.c:540:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  540 |                 if (bn_maybe_alloc_failed(k->rsa->d) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:540:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  540 |                 if (bn_maybe_alloc_failed(k->rsa->d) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:541:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  541 |                     bn_maybe_alloc_failed(k->rsa->iqmp) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:541:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  541 |                     bn_maybe_alloc_failed(k->rsa->iqmp) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:542:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  542 |                     bn_maybe_alloc_failed(k->rsa->q) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:542:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  542 |                     bn_maybe_alloc_failed(k->rsa->q) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:543:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  543 |                     bn_maybe_alloc_failed(k->rsa->p) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:543:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  543 |                     bn_maybe_alloc_failed(k->rsa->p) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:544:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  544 |                     bn_maybe_alloc_failed(k->rsa->dmq1) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:544:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  544 |                     bn_maybe_alloc_failed(k->rsa->dmq1) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:545:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  545 |                     bn_maybe_alloc_failed(k->rsa->dmp1))
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:545:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  545 |                     bn_maybe_alloc_failed(k->rsa->dmp1))
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:550:49: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  550 |                 if (bn_maybe_alloc_failed(k->dsa->priv_key))
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:550:49: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  550 |                 if (bn_maybe_alloc_failed(k->dsa->priv_key))
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c: In function 'sshkey_free':
sshkey.c:596:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  596 |                         RSA_free(k->rsa);
      |                         ^~~~~~~~
/usr/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
sshkey.c:602:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  602 |                         DSA_free(k->dsa);
      |                         ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
sshkey.c:609:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  609 |                         EC_KEY_free(k->ecdsa);
      |                         ^~~~~~~~~~~
In file included from sshbuf.h:27,
                 from buffer.h:24,
                 from entropy.h:28,
                 from includes.h:174,
                 from sshkey.c:28:
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
sshkey.c: In function 'sshkey_equal_public':
sshkey.c:674:34: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  674 |                     BN_cmp(a->rsa->e, b->rsa->e) == 0 &&
      |                                  ^~
sshkey.c:674:45: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  674 |                     BN_cmp(a->rsa->e, b->rsa->e) == 0 &&
      |                                             ^~
sshkey.c:675:34: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  675 |                     BN_cmp(a->rsa->n, b->rsa->n) == 0;
      |                                  ^~
sshkey.c:675:45: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  675 |                     BN_cmp(a->rsa->n, b->rsa->n) == 0;
      |                                             ^~
sshkey.c:679:34: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  679 |                     BN_cmp(a->dsa->p, b->dsa->p) == 0 &&
      |                                  ^~
sshkey.c:679:45: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  679 |                     BN_cmp(a->dsa->p, b->dsa->p) == 0 &&
      |                                             ^~
sshkey.c:680:34: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  680 |                     BN_cmp(a->dsa->q, b->dsa->q) == 0 &&
      |                                  ^~
sshkey.c:680:45: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  680 |                     BN_cmp(a->dsa->q, b->dsa->q) == 0 &&
      |                                             ^~
sshkey.c:681:34: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  681 |                     BN_cmp(a->dsa->g, b->dsa->g) == 0 &&
      |                                  ^~
sshkey.c:681:45: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  681 |                     BN_cmp(a->dsa->g, b->dsa->g) == 0 &&
      |                                             ^~
sshkey.c:682:34: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  682 |                     BN_cmp(a->dsa->pub_key, b->dsa->pub_key) == 0;
      |                                  ^~
sshkey.c:682:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  682 |                     BN_cmp(a->dsa->pub_key, b->dsa->pub_key) == 0;
      |                                                   ^~
sshkey.c:687:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  687 |                     EC_KEY_get0_public_key(a->ecdsa) == NULL ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:688:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  688 |                     EC_KEY_get0_public_key(b->ecdsa) == NULL)
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:692:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  692 |                 if (EC_GROUP_cmp(EC_KEY_get0_group(a->ecdsa),
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:693:21: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  693 |                     EC_KEY_get0_group(b->ecdsa), bnctx) != 0 ||
      |                     ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:694:21: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  694 |                     EC_POINT_cmp(EC_KEY_get0_group(a->ecdsa),
      |                     ^~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:695:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  695 |                     EC_KEY_get0_public_key(a->ecdsa),
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:696:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  696 |                     EC_KEY_get0_public_key(b->ecdsa), bnctx) != 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'to_blob_buf':
sshkey.c:761:58: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  761 |                     (ret = sshbuf_put_bignum2(b, key->dsa->p)) != 0 ||
      |                                                          ^~
sshkey.c:762:58: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  762 |                     (ret = sshbuf_put_bignum2(b, key->dsa->q)) != 0 ||
      |                                                          ^~
sshkey.c:763:58: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  763 |                     (ret = sshbuf_put_bignum2(b, key->dsa->g)) != 0 ||
      |                                                          ^~
sshkey.c:764:58: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  764 |                     (ret = sshbuf_put_bignum2(b, key->dsa->pub_key)) != 0)
      |                                                          ^~
sshkey.c:782:58: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  782 |                     (ret = sshbuf_put_bignum2(b, key->rsa->e)) != 0 ||
      |                                                          ^~
sshkey.c:783:58: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  783 |                     (ret = sshbuf_put_bignum2(b, key->rsa->n)) != 0)
      |                                                          ^~
In file included from sshbuf.h:25:
sshkey.c: In function 'sshkey_fingerprint_raw':
sshkey.c:890:47: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  890 |                 int nlen = BN_num_bytes(k->rsa->n);
      |                                               ^~
sshkey.c:891:47: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  891 |                 int elen = BN_num_bytes(k->rsa->e);
      |                                               ^~
sshkey.c:902:33: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  902 |                 BN_bn2bin(k->rsa->n, blob);
      |                                 ^~
sshkey.c:903:33: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  903 |                 BN_bn2bin(k->rsa->e, blob + nlen);
      |                                 ^~
sshkey.c: In function 'sshkey_read':
sshkey.c:1340:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1340 |                                 RSA_free(ret->rsa);
      |                                 ^~~~~~~~
/usr/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
sshkey.c:1349:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1349 |                                 DSA_free(ret->dsa);
      |                                 ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
sshkey.c:1359:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1359 |                                 EC_KEY_free(ret->ecdsa);
      |                                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
sshkey.c: In function 'rsa_generate_private_key':
sshkey.c:1531:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1531 |         if ((private = RSA_new()) == NULL || (f4 = BN_new()) == NULL) {
      |         ^~
/usr/include/openssl/rsa.h:207:28: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
sshkey.c:1536:13: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1536 |             !RSA_generate_key_ex(private, bits, f4, NULL)) {
      |             ^
/usr/include/openssl/rsa.h:266:27: note: declared here
  266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
sshkey.c:1545:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1545 |                 RSA_free(private);
      |                 ^~~~~~~~
/usr/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
sshkey.c: In function 'dsa_generate_private_key':
sshkey.c:1559:9: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1559 |         if ((private = DSA_new()) == NULL) {
      |         ^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
sshkey.c:1564:9: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1564 |         if (!DSA_generate_parameters_ex(private, bits, NULL, 0, NULL,
      |         ^~
/usr/include/openssl/dsa.h:172:27: note: declared here
  172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:1565:13: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1565 |             NULL, NULL) || !DSA_generate_key(private)) {
      |             ^~~~
/usr/include/openssl/dsa.h:179:27: note: declared here
  179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
      |                           ^~~~~~~~~~~~~~~~
sshkey.c:1574:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1574 |                 DSA_free(private);
      |                 ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
sshkey.c: In function 'sshkey_ecdsa_key_to_nid':
sshkey.c:1594:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1594 |         const EC_GROUP *g = EC_KEY_get0_group(k);
      |         ^~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:1621:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1621 |                 if (EC_KEY_set_group(k, eg) != 1) {
      |                 ^~
/usr/include/openssl/ec.h:1045:27: note: declared here
 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
      |                           ^~~~~~~~~~~~~~~~
sshkey.c: In function 'ecdsa_generate_private_key':
sshkey.c:1639:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1639 |         if ((private = EC_KEY_new_by_curve_name(*nid)) == NULL) {
      |         ^~
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:1643:9: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1643 |         if (EC_KEY_generate_key(private) != 1) {
      |         ^~
/usr/include/openssl/ec.h:1104:27: note: declared here
 1104 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
      |                           ^~~~~~~~~~~~~~~~~~~
sshkey.c:1647:9: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1647 |         EC_KEY_set_asn1_flag(private, OPENSSL_EC_NAMED_CURVE);
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1090:28: note: declared here
 1090 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
      |                            ^~~~~~~~~~~~~~~~~~~~
sshkey.c:1653:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1653 |                 EC_KEY_free(private);
      |                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
sshkey.c: In function 'sshkey_from_private':
sshkey.c:1775:36: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1775 |                 if ((BN_copy(n->dsa->p, k->dsa->p) == NULL) ||
      |                                    ^~
sshkey.c:1775:47: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1775 |                 if ((BN_copy(n->dsa->p, k->dsa->p) == NULL) ||
      |                                               ^~
sshkey.c:1776:36: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1776 |                     (BN_copy(n->dsa->q, k->dsa->q) == NULL) ||
      |                                    ^~
sshkey.c:1776:47: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1776 |                     (BN_copy(n->dsa->q, k->dsa->q) == NULL) ||
      |                                               ^~
sshkey.c:1777:36: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1777 |                     (BN_copy(n->dsa->g, k->dsa->g) == NULL) ||
      |                                    ^~
sshkey.c:1777:47: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1777 |                     (BN_copy(n->dsa->g, k->dsa->g) == NULL) ||
      |                                               ^~
sshkey.c:1778:36: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1778 |                     (BN_copy(n->dsa->pub_key, k->dsa->pub_key) == NULL)) {
      |                                    ^~
sshkey.c:1778:53: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1778 |                     (BN_copy(n->dsa->pub_key, k->dsa->pub_key) == NULL)) {
      |                                                     ^~
sshkey.c:1789:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1789 |                 n->ecdsa = EC_KEY_new_by_curve_name(k->ecdsa_nid);
      |                 ^
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:1794:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1794 |                 if (EC_KEY_set_public_key(n->ecdsa,
      |                 ^~
/usr/include/openssl/ec.h:1073:27: note: declared here
 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
sshkey.c:1795:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1795 |                     EC_KEY_get0_public_key(k->ecdsa)) != 1) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:1806:36: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 1806 |                 if ((BN_copy(n->rsa->n, k->rsa->n) == NULL) ||
      |                                    ^~
sshkey.c:1806:47: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 1806 |                 if ((BN_copy(n->rsa->n, k->rsa->n) == NULL) ||
      |                                               ^~
sshkey.c:1807:36: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 1807 |                     (BN_copy(n->rsa->e, k->rsa->e) == NULL)) {
      |                                    ^~
sshkey.c:1807:47: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 1807 |                     (BN_copy(n->rsa->e, k->rsa->e) == NULL)) {
      |                                               ^~
sshkey.c: In function 'sshkey_from_blob_internal':
sshkey.c:2007:51: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2007 |                 if (sshbuf_get_bignum2(b, key->rsa->e) != 0 ||
      |                                                   ^~
sshkey.c:2008:51: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2008 |                     sshbuf_get_bignum2(b, key->rsa->n) != 0) {
      |                                                   ^~
sshkey.c:2028:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2028 |                 if (sshbuf_get_bignum2(b, key->dsa->p) != 0 ||
      |                                                   ^~
sshkey.c:2029:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2029 |                     sshbuf_get_bignum2(b, key->dsa->q) != 0 ||
      |                                                   ^~
sshkey.c:2030:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2030 |                     sshbuf_get_bignum2(b, key->dsa->g) != 0 ||
      |                                                   ^~
sshkey.c:2031:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2031 |                     sshbuf_get_bignum2(b, key->dsa->pub_key) != 0) {
      |                                                   ^~
sshkey.c:2062:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2062 |                         EC_KEY_free(key->ecdsa);
      |                         ^~~~~~~~~~~
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
sshkey.c:2063:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2063 |                 if ((key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid))
      |                 ^~
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2068:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2068 |                 if ((q = EC_POINT_new(EC_KEY_get0_group(key->ecdsa))) == NULL) {
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2072:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2072 |                 if (sshbuf_get_ec(b, q, EC_KEY_get0_group(key->ecdsa)) != 0) {
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2076:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2076 |                 if (sshkey_ec_validate_public(EC_KEY_get0_group(key->ecdsa),
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2081:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2081 |                 if (EC_KEY_set_public_key(key->ecdsa, q) != 1) {
      |                 ^~
/usr/include/openssl/ec.h:1073:27: note: declared here
 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_demote':
sshkey.c:2274:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2274 |                 if ((pk->rsa = RSA_new()) == NULL ||
      |                 ^~
/usr/include/openssl/rsa.h:207:28: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
sshkey.c:2275:29: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2275 |                     (pk->rsa->e = BN_dup(k->rsa->e)) == NULL ||
      |                             ^~
sshkey.c:2275:48: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2275 |                     (pk->rsa->e = BN_dup(k->rsa->e)) == NULL ||
      |                                                ^~
sshkey.c:2276:29: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2276 |                     (pk->rsa->n = BN_dup(k->rsa->n)) == NULL) {
      |                             ^~
sshkey.c:2276:48: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2276 |                     (pk->rsa->n = BN_dup(k->rsa->n)) == NULL) {
      |                                                ^~
sshkey.c:2286:17: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2286 |                 if ((pk->dsa = DSA_new()) == NULL ||
      |                 ^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
sshkey.c:2287:29: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2287 |                     (pk->dsa->p = BN_dup(k->dsa->p)) == NULL ||
      |                             ^~
sshkey.c:2287:48: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2287 |                     (pk->dsa->p = BN_dup(k->dsa->p)) == NULL ||
      |                                                ^~
sshkey.c:2288:29: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2288 |                     (pk->dsa->q = BN_dup(k->dsa->q)) == NULL ||
      |                             ^~
sshkey.c:2288:48: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2288 |                     (pk->dsa->q = BN_dup(k->dsa->q)) == NULL ||
      |                                                ^~
sshkey.c:2289:29: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2289 |                     (pk->dsa->g = BN_dup(k->dsa->g)) == NULL ||
      |                             ^~
sshkey.c:2289:48: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2289 |                     (pk->dsa->g = BN_dup(k->dsa->g)) == NULL ||
      |                                                ^~
sshkey.c:2290:29: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2290 |                     (pk->dsa->pub_key = BN_dup(k->dsa->pub_key)) == NULL) {
      |                             ^~
sshkey.c:2290:54: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2290 |                     (pk->dsa->pub_key = BN_dup(k->dsa->pub_key)) == NULL) {
      |                                                      ^~
sshkey.c:2301:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2301 |                 pk->ecdsa = EC_KEY_new_by_curve_name(pk->ecdsa_nid);
      |                 ^~
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2306:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2306 |                 if (EC_KEY_set_public_key(pk->ecdsa,
      |                 ^~
/usr/include/openssl/ec.h:1073:27: note: declared here
 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
sshkey.c:2307:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2307 |                     EC_KEY_get0_public_key(k->ecdsa)) != 1) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_certify':
sshkey.c:2414:59: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2414 |                 if ((ret = sshbuf_put_bignum2(cert, k->dsa->p)) != 0 ||
      |                                                           ^~
sshkey.c:2415:59: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2415 |                     (ret = sshbuf_put_bignum2(cert, k->dsa->q)) != 0 ||
      |                                                           ^~
sshkey.c:2416:59: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2416 |                     (ret = sshbuf_put_bignum2(cert, k->dsa->g)) != 0 ||
      |                                                           ^~
sshkey.c:2417:59: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2417 |                     (ret = sshbuf_put_bignum2(cert, k->dsa->pub_key)) != 0)
      |                                                           ^~
sshkey.c:2425:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2425 |                     EC_KEY_get0_public_key(k->ecdsa),
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2426:21: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2426 |                     EC_KEY_get0_group(k->ecdsa))) != 0)
      |                     ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2431:59: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2431 |                 if ((ret = sshbuf_put_bignum2(cert, k->rsa->e)) != 0 ||
      |                                                           ^~
sshkey.c:2432:59: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2432 |                     (ret = sshbuf_put_bignum2(cert, k->rsa->n)) != 0)
      |                                                           ^~
sshkey.c: In function 'sshkey_private_serialize':
sshkey.c:2591:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2591 |                 if ((r = sshbuf_put_bignum2(b, key->rsa->n)) != 0 ||
      |                                                        ^~
sshkey.c:2592:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2592 |                     (r = sshbuf_put_bignum2(b, key->rsa->e)) != 0 ||
      |                                                        ^~
sshkey.c:2593:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2593 |                     (r = sshbuf_put_bignum2(b, key->rsa->d)) != 0 ||
      |                                                        ^~
sshkey.c:2594:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2594 |                     (r = sshbuf_put_bignum2(b, key->rsa->iqmp)) != 0 ||
      |                                                        ^~
sshkey.c:2595:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2595 |                     (r = sshbuf_put_bignum2(b, key->rsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2596:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2596 |                     (r = sshbuf_put_bignum2(b, key->rsa->q)) != 0)
      |                                                        ^~
sshkey.c:2605:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2605 |                     (r = sshbuf_put_bignum2(b, key->rsa->d)) != 0 ||
      |                                                        ^~
sshkey.c:2606:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2606 |                     (r = sshbuf_put_bignum2(b, key->rsa->iqmp)) != 0 ||
      |                                                        ^~
sshkey.c:2607:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2607 |                     (r = sshbuf_put_bignum2(b, key->rsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2608:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2608 |                     (r = sshbuf_put_bignum2(b, key->rsa->q)) != 0)
      |                                                        ^~
sshkey.c:2612:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2612 |                 if ((r = sshbuf_put_bignum2(b, key->dsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2613:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2613 |                     (r = sshbuf_put_bignum2(b, key->dsa->q)) != 0 ||
      |                                                        ^~
sshkey.c:2614:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2614 |                     (r = sshbuf_put_bignum2(b, key->dsa->g)) != 0 ||
      |                                                        ^~
sshkey.c:2615:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2615 |                     (r = sshbuf_put_bignum2(b, key->dsa->pub_key)) != 0 ||
      |                                                        ^~
sshkey.c:2616:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2616 |                     (r = sshbuf_put_bignum2(b, key->dsa->priv_key)) != 0)
      |                                                        ^~
sshkey.c:2625:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2625 |                     (r = sshbuf_put_bignum2(b, key->dsa->priv_key)) != 0)
      |                                                        ^~
sshkey.c:2634:21: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2634 |                     EC_KEY_get0_private_key(key->ecdsa))) != 0)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2644:21: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2644 |                     EC_KEY_get0_private_key(key->ecdsa))) != 0)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_private_deserialize':
sshkey.c:2702:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2702 |                 if ((r = sshbuf_get_bignum2(buf, k->dsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2703:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2703 |                     (r = sshbuf_get_bignum2(buf, k->dsa->q)) != 0 ||
      |                                                        ^~
sshkey.c:2704:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2704 |                     (r = sshbuf_get_bignum2(buf, k->dsa->g)) != 0 ||
      |                                                        ^~
sshkey.c:2705:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2705 |                     (r = sshbuf_get_bignum2(buf, k->dsa->pub_key)) != 0 ||
      |                                                        ^~
sshkey.c:2706:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2706 |                     (r = sshbuf_get_bignum2(buf, k->dsa->priv_key)) != 0)
      |                                                        ^~
sshkey.c:2712:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2712 |                     (r = sshbuf_get_bignum2(buf, k->dsa->priv_key)) != 0)
      |                                                        ^~
sshkey.c:2731:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2731 |                 k->ecdsa = EC_KEY_new_by_curve_name(k->ecdsa_nid);
      |                 ^
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2739:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2739 |                 if (EC_KEY_set_private_key(k->ecdsa, exponent) != 1) {
      |                 ^~
/usr/include/openssl/ec.h:1059:27: note: declared here
 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2743:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2743 |                 if ((r = sshkey_ec_validate_public(EC_KEY_get0_group(k->ecdsa),
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2744:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2744 |                     EC_KEY_get0_public_key(k->ecdsa))) != 0 ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2757:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2757 |                 if (EC_KEY_set_private_key(k->ecdsa, exponent) != 1) {
      |                 ^~
/usr/include/openssl/ec.h:1059:27: note: declared here
 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2761:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2761 |                 if ((r = sshkey_ec_validate_public(EC_KEY_get0_group(k->ecdsa),
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2762:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2762 |                     EC_KEY_get0_public_key(k->ecdsa))) != 0 ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2772:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2772 |                 if ((r = sshbuf_get_bignum2(buf, k->rsa->n)) != 0 ||
      |                                                        ^~
sshkey.c:2773:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2773 |                     (r = sshbuf_get_bignum2(buf, k->rsa->e)) != 0 ||
      |                                                        ^~
sshkey.c:2774:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2774 |                     (r = sshbuf_get_bignum2(buf, k->rsa->d)) != 0 ||
      |                                                        ^~
sshkey.c:2775:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2775 |                     (r = sshbuf_get_bignum2(buf, k->rsa->iqmp)) != 0 ||
      |                                                        ^~
sshkey.c:2776:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2776 |                     (r = sshbuf_get_bignum2(buf, k->rsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2777:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2777 |                     (r = sshbuf_get_bignum2(buf, k->rsa->q)) != 0 ||
      |                                                        ^~
sshkey.c:2784:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2784 |                     (r = sshbuf_get_bignum2(buf, k->rsa->d)) != 0 ||
      |                                                        ^~
sshkey.c:2785:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2785 |                     (r = sshbuf_get_bignum2(buf, k->rsa->iqmp)) != 0 ||
      |                                                        ^~
sshkey.c:2786:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2786 |                     (r = sshbuf_get_bignum2(buf, k->rsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2787:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2787 |                     (r = sshbuf_get_bignum2(buf, k->rsa->q)) != 0 ||
      |                                                        ^~
sshkey.c:2832:17: warning: 'RSA_blinding_on' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2832 |                 if (RSA_blinding_on(k->rsa, NULL) != 1) {
      |                 ^~
/usr/include/openssl/rsa.h:377:27: note: declared here
  377 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
      |                           ^~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_ec_validate_public':
sshkey.c:2889:9: warning: 'EC_METHOD_get_field_type' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2889 |         if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
      |         ^~
/usr/include/openssl/ec.h:191:27: note: declared here
  191 | OSSL_DEPRECATEDIN_3_0 int EC_METHOD_get_field_type(const EC_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2889:9: warning: 'EC_GROUP_method_of' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2889 |         if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
      |         ^~
/usr/include/openssl/ec.h:185:40: note: declared here
  185 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
      |                                        ^~~~~~~~~~~~~~~~~~
sshkey.c:2907:13: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2907 |             EC_POINT_get_affine_coordinates_GFp(group, public,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:662:27: note: declared here
  662 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_ec_validate_private':
sshkey.c:2961:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2961 |         if (EC_GROUP_get_order(EC_KEY_get0_group(key), order, bnctx) != 1) {
      |         ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2965:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2965 |         if (BN_num_bits(EC_KEY_get0_private_key(key)) <=
      |         ^~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2974:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2974 |         if (BN_cmp(EC_KEY_get0_private_key(key), tmp) >= 0)
      |         ^~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_dump_ec_point':
sshkey.c:3002:9: warning: 'EC_METHOD_get_field_type' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3002 |         if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
      |         ^~
/usr/include/openssl/ec.h:191:27: note: declared here
  191 | OSSL_DEPRECATEDIN_3_0 int EC_METHOD_get_field_type(const EC_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3002:9: warning: 'EC_GROUP_method_of' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3002 |         if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
      |         ^~
/usr/include/openssl/ec.h:185:40: note: declared here
  185 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
      |                                        ^~~~~~~~~~~~~~~~~~
sshkey.c:3007:9: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3007 |         if (EC_POINT_get_affine_coordinates_GFp(group, point, x, y,
      |         ^~
/usr/include/openssl/ec.h:662:27: note: declared here
  662 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_dump_ec_key':
sshkey.c:3026:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3026 |         sshkey_dump_ec_point(EC_KEY_get0_group(key),
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:3027:13: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3027 |             EC_KEY_get0_public_key(key));
      |             ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3029:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3029 |         if ((exponent = EC_KEY_get0_private_key(key)) == NULL)
      |         ^~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3032:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3032 |                 BN_print_fp(stderr, EC_KEY_get0_private_key(key));
      |                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_private_pem_to_blob':
sshkey.c:3531:17: warning: 'PEM_write_bio_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3531 |                 success = PEM_write_bio_DSAPrivateKey(bio, key->dsa,
      |                 ^~~~~~~
/usr/include/openssl/pem.h:456:1: note: declared here
  456 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3536:17: warning: 'PEM_write_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3536 |                 success = PEM_write_bio_ECPrivateKey(bio, key->ecdsa,
      |                 ^~~~~~~
/usr/include/openssl/pem.h:465:1: note: declared here
  465 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
      | ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3541:17: warning: 'PEM_write_bio_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3541 |                 success = PEM_write_bio_RSAPrivateKey(bio, key->rsa,
      |                 ^~~~~~~
/usr/include/openssl/pem.h:450:1: note: declared here
  450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_parse_private_pem_fileblob':
sshkey.c:3820:30: error: 'EVP_R_BN_DECODE_ERROR' undeclared (first use in this function); did you mean 'DH_R_BN_DECODE_ERROR'?
 3820 |                         case EVP_R_BN_DECODE_ERROR:
      |                              ^~~~~~~~~~~~~~~~~~~~~
      |                              DH_R_BN_DECODE_ERROR
sshkey.c:3820:30: note: each undeclared identifier is reported only once for each function it appears in
sshkey.c:3838:15: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
 3838 |         if (pk->type == EVP_PKEY_RSA &&
      |               ^~
sshkey.c:3844:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3844 |                 prv->rsa = EVP_PKEY_get1_RSA(pk);
      |                 ^~~
In file included from sshkey.c:34:
/usr/include/openssl/evp.h:1353:16: note: declared here
 1353 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
sshkey.c:3849:17: warning: 'RSA_blinding_on' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3849 |                 if (RSA_blinding_on(prv->rsa, NULL) != 1) {
      |                 ^~
/usr/include/openssl/rsa.h:377:27: note: declared here
  377 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
      |                           ^~~~~~~~~~~~~~~
sshkey.c:3853:22: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
 3853 |         } else if (pk->type == EVP_PKEY_DSA &&
      |                      ^~
sshkey.c:3859:17: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3859 |                 prv->dsa = EVP_PKEY_get1_DSA(pk);
      |                 ^~~
/usr/include/openssl/evp.h:1362:16: note: declared here
 1362 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
sshkey.c:3865:22: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
 3865 |         } else if (pk->type == EVP_PKEY_EC &&
      |                      ^~
sshkey.c:3871:17: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3871 |                 prv->ecdsa = EVP_PKEY_get1_EC_KEY(pk);
      |                 ^~~
/usr/include/openssl/evp.h:1379:19: note: declared here
 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
sshkey.c:3876:21: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3876 |                     sshkey_ec_validate_public(EC_KEY_get0_group(prv->ecdsa),
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:3877:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3877 |                     EC_KEY_get0_public_key(prv->ecdsa)) != 0 ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:155: sshkey.o] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: *** Waiting for unfinished jobs....
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-cray.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c buffer.c -o buffer.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c canohost.c -o canohost.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c cipher-aes.c -o cipher-aes.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c cipher-aesctr.c -o cipher-aesctr.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c cipher.c -o cipher.o
cipher.c: In function 'cipher_get_keyiv':
cipher.c:628:43: error: invalid use of incomplete typedef 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'}
  628 |                         memcpy(iv, cc->evp->iv, len);
      |                                           ^~
cipher.c: In function 'cipher_set_keyiv':
cipher.c:674:39: error: invalid use of incomplete typedef 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'}
  674 |                         memcpy(cc->evp->iv, iv, evplen);
      |                                       ^~
cipher.c: In function 'cipher_get_keycontext':
cipher.c:689:38: error: invalid use of incomplete typedef 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'}
  689 | #define EVP_X_STATE_LEN(evp)    (evp)->cipher->ctx_size
      |                                      ^~
cipher.c:700:24: note: in expansion of macro 'EVP_X_STATE_LEN'
  700 |                 plen = EVP_X_STATE_LEN(cc->evp);
      |                        ^~~~~~~~~~~~~~~
cipher.c:688:38: error: invalid use of incomplete typedef 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'}
  688 | #define EVP_X_STATE(evp)        (evp)->cipher_data
      |                                      ^~
cipher.c:703:29: note: in expansion of macro 'EVP_X_STATE'
  703 |                 memcpy(dat, EVP_X_STATE(cc->evp), plen);
      |                             ^~~~~~~~~~~
cipher.c: In function 'cipher_set_keycontext':
cipher.c:689:38: error: invalid use of incomplete typedef 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'}
  689 | #define EVP_X_STATE_LEN(evp)    (evp)->cipher->ctx_size
      |                                      ^~
cipher.c:719:24: note: in expansion of macro 'EVP_X_STATE_LEN'
  719 |                 plen = EVP_X_STATE_LEN(cc->evp);
      |                        ^~~~~~~~~~~~~~~
cipher.c:688:38: error: invalid use of incomplete typedef 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'}
  688 | #define EVP_X_STATE(evp)        (evp)->cipher_data
      |                                      ^~
cipher.c:720:24: note: in expansion of macro 'EVP_X_STATE'
  720 |                 memcpy(EVP_X_STATE(cc->evp), dat, plen);
      |                        ^~~~~~~~~~~
make: *** [Makefile:155: cipher.o] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-cygwin_util.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-getpeereid.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c getrrsetbyname-ldns.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-err.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-misc.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-nextstep.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-openpty.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-poll.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-setres_id.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-statvfs.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-snprintf.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c kludge-fd_set.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bsd-waitpid.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c fake-rfc2553.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c openssl-compat.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c channels.c -o channels.o
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c xcrypt.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c base64.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c basename.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bcrypt_pbkdf.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c bindresvport.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c daemon.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c dirname.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c blowfish.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c getcwd.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c fmt_scaled.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c getgrouplist.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c getopt_long.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c getrrsetbyname.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c inet_aton.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c inet_ntoa.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c inet_ntop.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c glob.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c mktemp.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c pwcache.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c readpassphrase.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c reallocarray.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c rresvport.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c realpath.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c setenv.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c sha1.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c setproctitle.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c sha2.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c md5.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c sigact.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strnlen.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c rmd160.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strcasestr.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strlcat.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strlcpy.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strmode.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strsep.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strtoll.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strptime.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strtonum.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strtoul.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c strtoull.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c timingsafe_bcmp.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c explicit_bzero.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c vis.c
vis.c: In function 'stravis':
vis.c:229:23: warning: pointer 'buf_15' may be used after 'realloc' [-Wuse-after-free]
  229 |                 *outp = buf;
      |                 ~~~~~~^~~~~
vis.c:227:17: note: call to 'realloc' here
  227 |         *outp = realloc(buf, len + 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c port-irix.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c port-solaris.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c port-aix.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c port-linux.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c port-tun.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.. -I. -I./..  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DHAVE_CONFIG_H -c port-uw.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
ar rv libopenbsd-compat.a arc4random.o bsd-asprintf.o bsd-closefrom.o bsd-cray.o bsd-cygwin_util.o bsd-getpeereid.o getrrsetbyname-ldns.o bsd-err.o bsd-misc.o bsd-nextstep.o bsd-openpty.o bsd-poll.o bsd-setres_id.o bsd-snprintf.o bsd-statvfs.o bsd-waitpid.o fake-rfc2553.o openssl-compat.o xcrypt.o kludge-fd_set.o base64.o basename.o bcrypt_pbkdf.o bindresvport.o blowfish.o daemon.o dirname.o fmt_scaled.o getcwd.o getgrouplist.o getopt_long.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o pwcache.o readpassphrase.o reallocarray.o realpath.o rresvport.o setenv.o setproctitle.o sha1.o sha2.o rmd160.o md5.o sigact.o strcasestr.o strlcat.o strlcpy.o strmode.o strnlen.o strptime.o strsep.o strtonum.o strtoll.o strtoul.o strtoull.o timingsafe_bcmp.o vis.o blowfish.o bcrypt_pbkdf.o explicit_bzero.o port-aix.o port-irix.o port-linux.o port-solaris.o port-tun.o port-uw.o
ar: creating libopenbsd-compat.a
a - arc4random.o
a - bsd-asprintf.o
a - bsd-closefrom.o
a - bsd-cray.o
a - bsd-cygwin_util.o
a - bsd-getpeereid.o
a - getrrsetbyname-ldns.o
a - bsd-err.o
a - bsd-misc.o
a - bsd-nextstep.o
a - bsd-openpty.o
a - bsd-poll.o
a - bsd-setres_id.o
a - bsd-snprintf.o
a - bsd-statvfs.o
a - bsd-waitpid.o
a - fake-rfc2553.o
a - openssl-compat.o
a - xcrypt.o
a - kludge-fd_set.o
a - base64.o
a - basename.o
a - bcrypt_pbkdf.o
a - bindresvport.o
a - blowfish.o
a - daemon.o
a - dirname.o
a - fmt_scaled.o
a - getcwd.o
a - getgrouplist.o
a - getopt_long.o
a - getrrsetbyname.o
a - glob.o
a - inet_aton.o
a - inet_ntoa.o
a - inet_ntop.o
a - mktemp.o
a - pwcache.o
a - readpassphrase.o
a - reallocarray.o
a - realpath.o
a - rresvport.o
a - setenv.o
a - setproctitle.o
a - sha1.o
a - sha2.o
a - rmd160.o
a - md5.o
a - sigact.o
a - strcasestr.o
a - strlcat.o
a - strlcpy.o
a - strmode.o
a - strnlen.o
a - strptime.o
a - strsep.o
a - strtonum.o
a - strtoll.o
a - strtoul.o
a - strtoull.o
a - timingsafe_bcmp.o
a - vis.o
a - blowfish.o
a - bcrypt_pbkdf.o
a - explicit_bzero.o
a - port-aix.o
a - port-irix.o
a - port-linux.o
a - port-solaris.o
a - port-tun.o
a - port-uw.o
ranlib libopenbsd-compat.a
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
+ make
make: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5'
(cd openbsd-compat && make)
make[1]: Entering directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5/openbsd-compat'
x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE   -DSSHDIR=\"/etc/openssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -I/usr/include/nx -c sshkey.c -o sshkey.o
sshkey.c: In function 'sshkey_size':
sshkey.c:278:42: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  278 |                 return BN_num_bits(k->rsa->n);
      |                                          ^~
sshkey.c:281:42: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  281 |                 return BN_num_bits(k->dsa->p);
      |                                          ^~
sshkey.c: In function 'sshkey_new':
sshkey.c:481:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  481 |                 if ((rsa = RSA_new()) == NULL ||
      |                 ^~
In file included from /usr/include/openssl/x509.h:36,
                 from /usr/include/openssl/pem.h:23,
                 from sshkey.c:36:
/usr/include/openssl/rsa.h:207:28: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
sshkey.c:482:25: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  482 |                     (rsa->n = BN_new()) == NULL ||
      |                         ^~
sshkey.c:483:25: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  483 |                     (rsa->e = BN_new()) == NULL) {
      |                         ^~
sshkey.c:485:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  485 |                                 RSA_free(rsa);
      |                                 ^~~~~~~~
/usr/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
sshkey.c:493:17: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  493 |                 if ((dsa = DSA_new()) == NULL ||
      |                 ^~
In file included from /usr/include/openssl/x509.h:37:
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
sshkey.c:494:25: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  494 |                     (dsa->p = BN_new()) == NULL ||
      |                         ^~
sshkey.c:495:25: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  495 |                     (dsa->q = BN_new()) == NULL ||
      |                         ^~
sshkey.c:496:25: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  496 |                     (dsa->g = BN_new()) == NULL ||
      |                         ^~
sshkey.c:497:25: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  497 |                     (dsa->pub_key = BN_new()) == NULL) {
      |                         ^~
sshkey.c:499:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  499 |                                 DSA_free(dsa);
      |                                 ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
sshkey.c: In function 'sshkey_add_private':
sshkey.c:540:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  540 |                 if (bn_maybe_alloc_failed(k->rsa->d) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:540:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  540 |                 if (bn_maybe_alloc_failed(k->rsa->d) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:541:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  541 |                     bn_maybe_alloc_failed(k->rsa->iqmp) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:541:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  541 |                     bn_maybe_alloc_failed(k->rsa->iqmp) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:542:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  542 |                     bn_maybe_alloc_failed(k->rsa->q) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:542:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  542 |                     bn_maybe_alloc_failed(k->rsa->q) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:543:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  543 |                     bn_maybe_alloc_failed(k->rsa->p) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:543:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  543 |                     bn_maybe_alloc_failed(k->rsa->p) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:544:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  544 |                     bn_maybe_alloc_failed(k->rsa->dmq1) ||
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:544:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  544 |                     bn_maybe_alloc_failed(k->rsa->dmq1) ||
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:545:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  545 |                     bn_maybe_alloc_failed(k->rsa->dmp1))
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:545:49: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  545 |                     bn_maybe_alloc_failed(k->rsa->dmp1))
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c:550:49: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  550 |                 if (bn_maybe_alloc_failed(k->dsa->priv_key))
      |                                                 ^~
sshkey.c:539:35: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                   ^
sshkey.c:550:49: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  550 |                 if (bn_maybe_alloc_failed(k->dsa->priv_key))
      |                                                 ^~
sshkey.c:539:49: note: in definition of macro 'bn_maybe_alloc_failed'
  539 | #define bn_maybe_alloc_failed(p) (p == NULL && (p = BN_new()) == NULL)
      |                                                 ^
sshkey.c: In function 'sshkey_free':
sshkey.c:596:25: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  596 |                         RSA_free(k->rsa);
      |                         ^~~~~~~~
/usr/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
sshkey.c:602:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  602 |                         DSA_free(k->dsa);
      |                         ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
sshkey.c:609:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  609 |                         EC_KEY_free(k->ecdsa);
      |                         ^~~~~~~~~~~
In file included from sshbuf.h:27,
                 from buffer.h:24,
                 from entropy.h:28,
                 from includes.h:174,
                 from sshkey.c:28:
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
sshkey.c: In function 'sshkey_equal_public':
sshkey.c:674:34: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  674 |                     BN_cmp(a->rsa->e, b->rsa->e) == 0 &&
      |                                  ^~
sshkey.c:674:45: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  674 |                     BN_cmp(a->rsa->e, b->rsa->e) == 0 &&
      |                                             ^~
sshkey.c:675:34: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  675 |                     BN_cmp(a->rsa->n, b->rsa->n) == 0;
      |                                  ^~
sshkey.c:675:45: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  675 |                     BN_cmp(a->rsa->n, b->rsa->n) == 0;
      |                                             ^~
sshkey.c:679:34: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  679 |                     BN_cmp(a->dsa->p, b->dsa->p) == 0 &&
      |                                  ^~
sshkey.c:679:45: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  679 |                     BN_cmp(a->dsa->p, b->dsa->p) == 0 &&
      |                                             ^~
sshkey.c:680:34: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  680 |                     BN_cmp(a->dsa->q, b->dsa->q) == 0 &&
      |                                  ^~
sshkey.c:680:45: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  680 |                     BN_cmp(a->dsa->q, b->dsa->q) == 0 &&
      |                                             ^~
sshkey.c:681:34: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  681 |                     BN_cmp(a->dsa->g, b->dsa->g) == 0 &&
      |                                  ^~
sshkey.c:681:45: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  681 |                     BN_cmp(a->dsa->g, b->dsa->g) == 0 &&
      |                                             ^~
sshkey.c:682:34: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  682 |                     BN_cmp(a->dsa->pub_key, b->dsa->pub_key) == 0;
      |                                  ^~
sshkey.c:682:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  682 |                     BN_cmp(a->dsa->pub_key, b->dsa->pub_key) == 0;
      |                                                   ^~
sshkey.c:687:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  687 |                     EC_KEY_get0_public_key(a->ecdsa) == NULL ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:688:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  688 |                     EC_KEY_get0_public_key(b->ecdsa) == NULL)
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:692:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  692 |                 if (EC_GROUP_cmp(EC_KEY_get0_group(a->ecdsa),
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:693:21: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  693 |                     EC_KEY_get0_group(b->ecdsa), bnctx) != 0 ||
      |                     ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:694:21: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  694 |                     EC_POINT_cmp(EC_KEY_get0_group(a->ecdsa),
      |                     ^~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:695:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  695 |                     EC_KEY_get0_public_key(a->ecdsa),
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:696:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  696 |                     EC_KEY_get0_public_key(b->ecdsa), bnctx) != 0) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'to_blob_buf':
sshkey.c:761:58: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  761 |                     (ret = sshbuf_put_bignum2(b, key->dsa->p)) != 0 ||
      |                                                          ^~
sshkey.c:762:58: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  762 |                     (ret = sshbuf_put_bignum2(b, key->dsa->q)) != 0 ||
      |                                                          ^~
sshkey.c:763:58: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  763 |                     (ret = sshbuf_put_bignum2(b, key->dsa->g)) != 0 ||
      |                                                          ^~
sshkey.c:764:58: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
  764 |                     (ret = sshbuf_put_bignum2(b, key->dsa->pub_key)) != 0)
      |                                                          ^~
sshkey.c:782:58: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  782 |                     (ret = sshbuf_put_bignum2(b, key->rsa->e)) != 0 ||
      |                                                          ^~
sshkey.c:783:58: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  783 |                     (ret = sshbuf_put_bignum2(b, key->rsa->n)) != 0)
      |                                                          ^~
In file included from sshbuf.h:25:
sshkey.c: In function 'sshkey_fingerprint_raw':
sshkey.c:890:47: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  890 |                 int nlen = BN_num_bytes(k->rsa->n);
      |                                               ^~
sshkey.c:891:47: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  891 |                 int elen = BN_num_bytes(k->rsa->e);
      |                                               ^~
sshkey.c:902:33: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  902 |                 BN_bn2bin(k->rsa->n, blob);
      |                                 ^~
sshkey.c:903:33: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
  903 |                 BN_bn2bin(k->rsa->e, blob + nlen);
      |                                 ^~
sshkey.c: In function 'sshkey_read':
sshkey.c:1340:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1340 |                                 RSA_free(ret->rsa);
      |                                 ^~~~~~~~
/usr/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
sshkey.c:1349:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1349 |                                 DSA_free(ret->dsa);
      |                                 ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
sshkey.c:1359:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1359 |                                 EC_KEY_free(ret->ecdsa);
      |                                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
sshkey.c: In function 'rsa_generate_private_key':
sshkey.c:1531:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1531 |         if ((private = RSA_new()) == NULL || (f4 = BN_new()) == NULL) {
      |         ^~
/usr/include/openssl/rsa.h:207:28: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
sshkey.c:1536:13: warning: 'RSA_generate_key_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1536 |             !RSA_generate_key_ex(private, bits, f4, NULL)) {
      |             ^
/usr/include/openssl/rsa.h:266:27: note: declared here
  266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,
      |                           ^~~~~~~~~~~~~~~~~~~
sshkey.c:1545:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1545 |                 RSA_free(private);
      |                 ^~~~~~~~
/usr/include/openssl/rsa.h:299:28: note: declared here
  299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
      |                            ^~~~~~~~
sshkey.c: In function 'dsa_generate_private_key':
sshkey.c:1559:9: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1559 |         if ((private = DSA_new()) == NULL) {
      |         ^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
sshkey.c:1564:9: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1564 |         if (!DSA_generate_parameters_ex(private, bits, NULL, 0, NULL,
      |         ^~
/usr/include/openssl/dsa.h:172:27: note: declared here
  172 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:1565:13: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1565 |             NULL, NULL) || !DSA_generate_key(private)) {
      |             ^~~~
/usr/include/openssl/dsa.h:179:27: note: declared here
  179 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a);
      |                           ^~~~~~~~~~~~~~~~
sshkey.c:1574:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1574 |                 DSA_free(private);
      |                 ^~~~~~~~
/usr/include/openssl/dsa.h:132:28: note: declared here
  132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
      |                            ^~~~~~~~
sshkey.c: In function 'sshkey_ecdsa_key_to_nid':
sshkey.c:1594:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1594 |         const EC_GROUP *g = EC_KEY_get0_group(k);
      |         ^~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:1621:17: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1621 |                 if (EC_KEY_set_group(k, eg) != 1) {
      |                 ^~
/usr/include/openssl/ec.h:1045:27: note: declared here
 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group);
      |                           ^~~~~~~~~~~~~~~~
sshkey.c: In function 'ecdsa_generate_private_key':
sshkey.c:1639:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1639 |         if ((private = EC_KEY_new_by_curve_name(*nid)) == NULL) {
      |         ^~
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:1643:9: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1643 |         if (EC_KEY_generate_key(private) != 1) {
      |         ^~
/usr/include/openssl/ec.h:1104:27: note: declared here
 1104 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
      |                           ^~~~~~~~~~~~~~~~~~~
sshkey.c:1647:9: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1647 |         EC_KEY_set_asn1_flag(private, OPENSSL_EC_NAMED_CURVE);
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1090:28: note: declared here
 1090 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag);
      |                            ^~~~~~~~~~~~~~~~~~~~
sshkey.c:1653:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1653 |                 EC_KEY_free(private);
      |                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
sshkey.c: In function 'sshkey_from_private':
sshkey.c:1775:36: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1775 |                 if ((BN_copy(n->dsa->p, k->dsa->p) == NULL) ||
      |                                    ^~
sshkey.c:1775:47: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1775 |                 if ((BN_copy(n->dsa->p, k->dsa->p) == NULL) ||
      |                                               ^~
sshkey.c:1776:36: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1776 |                     (BN_copy(n->dsa->q, k->dsa->q) == NULL) ||
      |                                    ^~
sshkey.c:1776:47: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1776 |                     (BN_copy(n->dsa->q, k->dsa->q) == NULL) ||
      |                                               ^~
sshkey.c:1777:36: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1777 |                     (BN_copy(n->dsa->g, k->dsa->g) == NULL) ||
      |                                    ^~
sshkey.c:1777:47: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1777 |                     (BN_copy(n->dsa->g, k->dsa->g) == NULL) ||
      |                                               ^~
sshkey.c:1778:36: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1778 |                     (BN_copy(n->dsa->pub_key, k->dsa->pub_key) == NULL)) {
      |                                    ^~
sshkey.c:1778:53: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 1778 |                     (BN_copy(n->dsa->pub_key, k->dsa->pub_key) == NULL)) {
      |                                                     ^~
sshkey.c:1789:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1789 |                 n->ecdsa = EC_KEY_new_by_curve_name(k->ecdsa_nid);
      |                 ^
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:1794:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1794 |                 if (EC_KEY_set_public_key(n->ecdsa,
      |                 ^~
/usr/include/openssl/ec.h:1073:27: note: declared here
 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
sshkey.c:1795:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1795 |                     EC_KEY_get0_public_key(k->ecdsa)) != 1) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:1806:36: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 1806 |                 if ((BN_copy(n->rsa->n, k->rsa->n) == NULL) ||
      |                                    ^~
sshkey.c:1806:47: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 1806 |                 if ((BN_copy(n->rsa->n, k->rsa->n) == NULL) ||
      |                                               ^~
sshkey.c:1807:36: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 1807 |                     (BN_copy(n->rsa->e, k->rsa->e) == NULL)) {
      |                                    ^~
sshkey.c:1807:47: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 1807 |                     (BN_copy(n->rsa->e, k->rsa->e) == NULL)) {
      |                                               ^~
sshkey.c: In function 'sshkey_from_blob_internal':
sshkey.c:2007:51: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2007 |                 if (sshbuf_get_bignum2(b, key->rsa->e) != 0 ||
      |                                                   ^~
sshkey.c:2008:51: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2008 |                     sshbuf_get_bignum2(b, key->rsa->n) != 0) {
      |                                                   ^~
sshkey.c:2028:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2028 |                 if (sshbuf_get_bignum2(b, key->dsa->p) != 0 ||
      |                                                   ^~
sshkey.c:2029:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2029 |                     sshbuf_get_bignum2(b, key->dsa->q) != 0 ||
      |                                                   ^~
sshkey.c:2030:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2030 |                     sshbuf_get_bignum2(b, key->dsa->g) != 0 ||
      |                                                   ^~
sshkey.c:2031:51: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2031 |                     sshbuf_get_bignum2(b, key->dsa->pub_key) != 0) {
      |                                                   ^~
sshkey.c:2062:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2062 |                         EC_KEY_free(key->ecdsa);
      |                         ^~~~~~~~~~~
/usr/include/openssl/ec.h:1006:28: note: declared here
 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
sshkey.c:2063:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2063 |                 if ((key->ecdsa = EC_KEY_new_by_curve_name(key->ecdsa_nid))
      |                 ^~
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2068:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2068 |                 if ((q = EC_POINT_new(EC_KEY_get0_group(key->ecdsa))) == NULL) {
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2072:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2072 |                 if (sshbuf_get_ec(b, q, EC_KEY_get0_group(key->ecdsa)) != 0) {
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2076:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2076 |                 if (sshkey_ec_validate_public(EC_KEY_get0_group(key->ecdsa),
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2081:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2081 |                 if (EC_KEY_set_public_key(key->ecdsa, q) != 1) {
      |                 ^~
/usr/include/openssl/ec.h:1073:27: note: declared here
 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_demote':
sshkey.c:2274:17: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2274 |                 if ((pk->rsa = RSA_new()) == NULL ||
      |                 ^~
/usr/include/openssl/rsa.h:207:28: note: declared here
  207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
      |                            ^~~~~~~
sshkey.c:2275:29: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2275 |                     (pk->rsa->e = BN_dup(k->rsa->e)) == NULL ||
      |                             ^~
sshkey.c:2275:48: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2275 |                     (pk->rsa->e = BN_dup(k->rsa->e)) == NULL ||
      |                                                ^~
sshkey.c:2276:29: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2276 |                     (pk->rsa->n = BN_dup(k->rsa->n)) == NULL) {
      |                             ^~
sshkey.c:2276:48: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2276 |                     (pk->rsa->n = BN_dup(k->rsa->n)) == NULL) {
      |                                                ^~
sshkey.c:2286:17: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2286 |                 if ((pk->dsa = DSA_new()) == NULL ||
      |                 ^~
/usr/include/openssl/dsa.h:130:28: note: declared here
  130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
      |                            ^~~~~~~
sshkey.c:2287:29: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2287 |                     (pk->dsa->p = BN_dup(k->dsa->p)) == NULL ||
      |                             ^~
sshkey.c:2287:48: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2287 |                     (pk->dsa->p = BN_dup(k->dsa->p)) == NULL ||
      |                                                ^~
sshkey.c:2288:29: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2288 |                     (pk->dsa->q = BN_dup(k->dsa->q)) == NULL ||
      |                             ^~
sshkey.c:2288:48: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2288 |                     (pk->dsa->q = BN_dup(k->dsa->q)) == NULL ||
      |                                                ^~
sshkey.c:2289:29: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2289 |                     (pk->dsa->g = BN_dup(k->dsa->g)) == NULL ||
      |                             ^~
sshkey.c:2289:48: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2289 |                     (pk->dsa->g = BN_dup(k->dsa->g)) == NULL ||
      |                                                ^~
sshkey.c:2290:29: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2290 |                     (pk->dsa->pub_key = BN_dup(k->dsa->pub_key)) == NULL) {
      |                             ^~
sshkey.c:2290:54: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2290 |                     (pk->dsa->pub_key = BN_dup(k->dsa->pub_key)) == NULL) {
      |                                                      ^~
sshkey.c:2301:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2301 |                 pk->ecdsa = EC_KEY_new_by_curve_name(pk->ecdsa_nid);
      |                 ^~
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2306:17: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2306 |                 if (EC_KEY_set_public_key(pk->ecdsa,
      |                 ^~
/usr/include/openssl/ec.h:1073:27: note: declared here
 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub);
      |                           ^~~~~~~~~~~~~~~~~~~~~
sshkey.c:2307:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2307 |                     EC_KEY_get0_public_key(k->ecdsa)) != 1) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_certify':
sshkey.c:2414:59: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2414 |                 if ((ret = sshbuf_put_bignum2(cert, k->dsa->p)) != 0 ||
      |                                                           ^~
sshkey.c:2415:59: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2415 |                     (ret = sshbuf_put_bignum2(cert, k->dsa->q)) != 0 ||
      |                                                           ^~
sshkey.c:2416:59: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2416 |                     (ret = sshbuf_put_bignum2(cert, k->dsa->g)) != 0 ||
      |                                                           ^~
sshkey.c:2417:59: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2417 |                     (ret = sshbuf_put_bignum2(cert, k->dsa->pub_key)) != 0)
      |                                                           ^~
sshkey.c:2425:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2425 |                     EC_KEY_get0_public_key(k->ecdsa),
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2426:21: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2426 |                     EC_KEY_get0_group(k->ecdsa))) != 0)
      |                     ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2431:59: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2431 |                 if ((ret = sshbuf_put_bignum2(cert, k->rsa->e)) != 0 ||
      |                                                           ^~
sshkey.c:2432:59: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2432 |                     (ret = sshbuf_put_bignum2(cert, k->rsa->n)) != 0)
      |                                                           ^~
sshkey.c: In function 'sshkey_private_serialize':
sshkey.c:2591:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2591 |                 if ((r = sshbuf_put_bignum2(b, key->rsa->n)) != 0 ||
      |                                                        ^~
sshkey.c:2592:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2592 |                     (r = sshbuf_put_bignum2(b, key->rsa->e)) != 0 ||
      |                                                        ^~
sshkey.c:2593:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2593 |                     (r = sshbuf_put_bignum2(b, key->rsa->d)) != 0 ||
      |                                                        ^~
sshkey.c:2594:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2594 |                     (r = sshbuf_put_bignum2(b, key->rsa->iqmp)) != 0 ||
      |                                                        ^~
sshkey.c:2595:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2595 |                     (r = sshbuf_put_bignum2(b, key->rsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2596:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2596 |                     (r = sshbuf_put_bignum2(b, key->rsa->q)) != 0)
      |                                                        ^~
sshkey.c:2605:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2605 |                     (r = sshbuf_put_bignum2(b, key->rsa->d)) != 0 ||
      |                                                        ^~
sshkey.c:2606:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2606 |                     (r = sshbuf_put_bignum2(b, key->rsa->iqmp)) != 0 ||
      |                                                        ^~
sshkey.c:2607:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2607 |                     (r = sshbuf_put_bignum2(b, key->rsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2608:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2608 |                     (r = sshbuf_put_bignum2(b, key->rsa->q)) != 0)
      |                                                        ^~
sshkey.c:2612:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2612 |                 if ((r = sshbuf_put_bignum2(b, key->dsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2613:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2613 |                     (r = sshbuf_put_bignum2(b, key->dsa->q)) != 0 ||
      |                                                        ^~
sshkey.c:2614:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2614 |                     (r = sshbuf_put_bignum2(b, key->dsa->g)) != 0 ||
      |                                                        ^~
sshkey.c:2615:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2615 |                     (r = sshbuf_put_bignum2(b, key->dsa->pub_key)) != 0 ||
      |                                                        ^~
sshkey.c:2616:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2616 |                     (r = sshbuf_put_bignum2(b, key->dsa->priv_key)) != 0)
      |                                                        ^~
sshkey.c:2625:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2625 |                     (r = sshbuf_put_bignum2(b, key->dsa->priv_key)) != 0)
      |                                                        ^~
sshkey.c:2634:21: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2634 |                     EC_KEY_get0_private_key(key->ecdsa))) != 0)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2644:21: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2644 |                     EC_KEY_get0_private_key(key->ecdsa))) != 0)
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_private_deserialize':
sshkey.c:2702:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2702 |                 if ((r = sshbuf_get_bignum2(buf, k->dsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2703:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2703 |                     (r = sshbuf_get_bignum2(buf, k->dsa->q)) != 0 ||
      |                                                        ^~
sshkey.c:2704:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2704 |                     (r = sshbuf_get_bignum2(buf, k->dsa->g)) != 0 ||
      |                                                        ^~
sshkey.c:2705:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2705 |                     (r = sshbuf_get_bignum2(buf, k->dsa->pub_key)) != 0 ||
      |                                                        ^~
sshkey.c:2706:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2706 |                     (r = sshbuf_get_bignum2(buf, k->dsa->priv_key)) != 0)
      |                                                        ^~
sshkey.c:2712:56: error: invalid use of incomplete typedef 'DSA' {aka 'struct dsa_st'}
 2712 |                     (r = sshbuf_get_bignum2(buf, k->dsa->priv_key)) != 0)
      |                                                        ^~
sshkey.c:2731:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2731 |                 k->ecdsa = EC_KEY_new_by_curve_name(k->ecdsa_nid);
      |                 ^
/usr/include/openssl/ec.h:1001:31: note: declared here
 1001 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2739:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2739 |                 if (EC_KEY_set_private_key(k->ecdsa, exponent) != 1) {
      |                 ^~
/usr/include/openssl/ec.h:1059:27: note: declared here
 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2743:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2743 |                 if ((r = sshkey_ec_validate_public(EC_KEY_get0_group(k->ecdsa),
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2744:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2744 |                     EC_KEY_get0_public_key(k->ecdsa))) != 0 ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2757:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2757 |                 if (EC_KEY_set_private_key(k->ecdsa, exponent) != 1) {
      |                 ^~
/usr/include/openssl/ec.h:1059:27: note: declared here
 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv);
      |                           ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2761:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2761 |                 if ((r = sshkey_ec_validate_public(EC_KEY_get0_group(k->ecdsa),
      |                 ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2762:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2762 |                     EC_KEY_get0_public_key(k->ecdsa))) != 0 ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2772:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2772 |                 if ((r = sshbuf_get_bignum2(buf, k->rsa->n)) != 0 ||
      |                                                        ^~
sshkey.c:2773:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2773 |                     (r = sshbuf_get_bignum2(buf, k->rsa->e)) != 0 ||
      |                                                        ^~
sshkey.c:2774:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2774 |                     (r = sshbuf_get_bignum2(buf, k->rsa->d)) != 0 ||
      |                                                        ^~
sshkey.c:2775:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2775 |                     (r = sshbuf_get_bignum2(buf, k->rsa->iqmp)) != 0 ||
      |                                                        ^~
sshkey.c:2776:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2776 |                     (r = sshbuf_get_bignum2(buf, k->rsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2777:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2777 |                     (r = sshbuf_get_bignum2(buf, k->rsa->q)) != 0 ||
      |                                                        ^~
sshkey.c:2784:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2784 |                     (r = sshbuf_get_bignum2(buf, k->rsa->d)) != 0 ||
      |                                                        ^~
sshkey.c:2785:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2785 |                     (r = sshbuf_get_bignum2(buf, k->rsa->iqmp)) != 0 ||
      |                                                        ^~
sshkey.c:2786:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2786 |                     (r = sshbuf_get_bignum2(buf, k->rsa->p)) != 0 ||
      |                                                        ^~
sshkey.c:2787:56: error: invalid use of incomplete typedef 'RSA' {aka 'struct rsa_st'}
 2787 |                     (r = sshbuf_get_bignum2(buf, k->rsa->q)) != 0 ||
      |                                                        ^~
sshkey.c:2832:17: warning: 'RSA_blinding_on' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2832 |                 if (RSA_blinding_on(k->rsa, NULL) != 1) {
      |                 ^~
/usr/include/openssl/rsa.h:377:27: note: declared here
  377 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
      |                           ^~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_ec_validate_public':
sshkey.c:2889:9: warning: 'EC_METHOD_get_field_type' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2889 |         if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
      |         ^~
/usr/include/openssl/ec.h:191:27: note: declared here
  191 | OSSL_DEPRECATEDIN_3_0 int EC_METHOD_get_field_type(const EC_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2889:9: warning: 'EC_GROUP_method_of' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2889 |         if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
      |         ^~
/usr/include/openssl/ec.h:185:40: note: declared here
  185 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
      |                                        ^~~~~~~~~~~~~~~~~~
sshkey.c:2907:13: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2907 |             EC_POINT_get_affine_coordinates_GFp(group, public,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:662:27: note: declared here
  662 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_ec_validate_private':
sshkey.c:2961:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2961 |         if (EC_GROUP_get_order(EC_KEY_get0_group(key), order, bnctx) != 1) {
      |         ^~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:2965:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2965 |         if (BN_num_bits(EC_KEY_get0_private_key(key)) <=
      |         ^~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:2974:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 2974 |         if (BN_cmp(EC_KEY_get0_private_key(key), tmp) >= 0)
      |         ^~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_dump_ec_point':
sshkey.c:3002:9: warning: 'EC_METHOD_get_field_type' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3002 |         if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
      |         ^~
/usr/include/openssl/ec.h:191:27: note: declared here
  191 | OSSL_DEPRECATEDIN_3_0 int EC_METHOD_get_field_type(const EC_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3002:9: warning: 'EC_GROUP_method_of' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3002 |         if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
      |         ^~
/usr/include/openssl/ec.h:185:40: note: declared here
  185 | OSSL_DEPRECATEDIN_3_0 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
      |                                        ^~~~~~~~~~~~~~~~~~
sshkey.c:3007:9: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3007 |         if (EC_POINT_get_affine_coordinates_GFp(group, point, x, y,
      |         ^~
/usr/include/openssl/ec.h:662:27: note: declared here
  662 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_dump_ec_key':
sshkey.c:3026:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3026 |         sshkey_dump_ec_point(EC_KEY_get0_group(key),
      |         ^~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:3027:13: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3027 |             EC_KEY_get0_public_key(key));
      |             ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3029:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3029 |         if ((exponent = EC_KEY_get0_private_key(key)) == NULL)
      |         ^~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3032:17: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3032 |                 BN_print_fp(stderr, EC_KEY_get0_private_key(key));
      |                 ^~~~~~~~~~~
/usr/include/openssl/ec.h:1051:37: note: declared here
 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_private_pem_to_blob':
sshkey.c:3531:17: warning: 'PEM_write_bio_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3531 |                 success = PEM_write_bio_DSAPrivateKey(bio, key->dsa,
      |                 ^~~~~~~
/usr/include/openssl/pem.h:456:1: note: declared here
  456 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3536:17: warning: 'PEM_write_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3536 |                 success = PEM_write_bio_ECPrivateKey(bio, key->ecdsa,
      |                 ^~~~~~~
/usr/include/openssl/pem.h:465:1: note: declared here
  465 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
      | ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c:3541:17: warning: 'PEM_write_bio_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3541 |                 success = PEM_write_bio_RSAPrivateKey(bio, key->rsa,
      |                 ^~~~~~~
/usr/include/openssl/pem.h:450:1: note: declared here
  450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA)
      | ^~~~~~~~~~~~~~~~~~~~~~
sshkey.c: In function 'sshkey_parse_private_pem_fileblob':
sshkey.c:3820:30: error: 'EVP_R_BN_DECODE_ERROR' undeclared (first use in this function); did you mean 'DH_R_BN_DECODE_ERROR'?
 3820 |                         case EVP_R_BN_DECODE_ERROR:
      |                              ^~~~~~~~~~~~~~~~~~~~~
      |                              DH_R_BN_DECODE_ERROR
sshkey.c:3820:30: note: each undeclared identifier is reported only once for each function it appears in
sshkey.c:3838:15: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
 3838 |         if (pk->type == EVP_PKEY_RSA &&
      |               ^~
sshkey.c:3844:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3844 |                 prv->rsa = EVP_PKEY_get1_RSA(pk);
      |                 ^~~
In file included from sshkey.c:34:
/usr/include/openssl/evp.h:1353:16: note: declared here
 1353 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
sshkey.c:3849:17: warning: 'RSA_blinding_on' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3849 |                 if (RSA_blinding_on(prv->rsa, NULL) != 1) {
      |                 ^~
/usr/include/openssl/rsa.h:377:27: note: declared here
  377 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
      |                           ^~~~~~~~~~~~~~~
sshkey.c:3853:22: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
 3853 |         } else if (pk->type == EVP_PKEY_DSA &&
      |                      ^~
sshkey.c:3859:17: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3859 |                 prv->dsa = EVP_PKEY_get1_DSA(pk);
      |                 ^~~
/usr/include/openssl/evp.h:1362:16: note: declared here
 1362 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
sshkey.c:3865:22: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'}
 3865 |         } else if (pk->type == EVP_PKEY_EC &&
      |                      ^~
sshkey.c:3871:17: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3871 |                 prv->ecdsa = EVP_PKEY_get1_EC_KEY(pk);
      |                 ^~~
/usr/include/openssl/evp.h:1379:19: note: declared here
 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
sshkey.c:3876:21: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3876 |                     sshkey_ec_validate_public(EC_KEY_get0_group(prv->ecdsa),
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1037:39: note: declared here
 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~
sshkey.c:3877:21: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 3877 |                     EC_KEY_get0_public_key(prv->ecdsa)) != 0 ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ec.h:1065:39: note: declared here
 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key);
      |                                       ^~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:155: sshkey.o] Error 1
make: Leaving directory '/usr/src/RPM/BUILD/nxssh-7.5'
error: Bad exit status from /usr/src/tmp/rpm-tmp.42300 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.42300 (%build)
Command exited with non-zero status 1
46.26user 24.36system 0:59.87elapsed 117%CPU (0avgtext+0avgdata 43868maxresident)k
0inputs+0outputs (0major+4083478minor)pagefaults 0swaps
hsh-rebuild: rebuild of `nxssh-7.5-alt13.src.rpm' failed.
Command exited with non-zero status 1
7.46user 2.77system 1:14.97elapsed 13%CPU (0avgtext+0avgdata 127404maxresident)k
2984inputs+0outputs (0major+202560minor)pagefaults 0swaps