* Package: sys-auth/pam_ssh_agent_auth-0.10.4-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pam_ssh_agent_auth-0.10.4.tar.gz to /var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work >>> Unpacking pam_ssh_agent_auth-ed25519-donna.tar.gz to /var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work >>> Source unpacked in /var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work >>> Preparing source in /var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4 ... * Applying pam_ssh_agent_auth-0.10.4-0001-Fix-function-prototypes-in-configure.patch ... [ ok ] * Applying pam_ssh_agent_auth-0.10.4-0002-Add-missing-includes-implicit-function-declarations.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4' ... * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running elibtoolize in: pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4 ... * econf: updating pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/pam_ssh_agent_auth-0.10.4-r1 --htmldir=/usr/share/doc/pam_ssh_agent_auth-0.10.4-r1/html --libdir=/usr/lib64 --without-openssl-header-check --libexecdir=/lib64/security configure: loading site script /usr/share/config.site configure: loading site script /usr/share/config.site.d/80crossdev.conf checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed 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 for wchar.h... yes checking for minix/config.h... no checking for vfork.h... no checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for utime.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... (cached) none needed checking for inline... inline checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether byte ordering is bigendian... no checking for gawk... gawk checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ar... /usr/bin/x86_64-pc-linux-gnu-ar checking for cat... /bin/cat checking for kill... /bin/kill checking for perl5... no checking for perl... /usr/bin/perl 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 groupadd... /usr/sbin/groupadd checking for useradd... /usr/sbin/useradd checking for pkgmk... no checking for uid_t in sys/types.h... yes checking for working chown... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether closedir returns void... no checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for getpagesize... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking whether lstat correctly handles trailing slash... yes checking whether lstat accepts an empty string... no checking whether lstat correctly handles trailing slash... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for working mmap... yes checking for GNU libc compatible realloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether stat accepts an empty string... no checking for working strnlen... yes checking whether utime accepts a null argument... yes checking for dup2... yes checking for endgrent... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyaddr... yes checking for gethostbyname... yes checking for getpass... yes checking for getspnam... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for isascii... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for realpath... yes checking for rmdir... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strpbrk... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for uname... yes checking for utime... yes checking for strnlen... yes checking for gethostname... yes checking for openpty... yes checking for forkpty... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for login... /bin/login checking for passwd... /usr/bin/passwd checking for x86_64-pc-linux-gnu-gcc options needed to detect all undeclared functions... (cached) none needed checking whether LLONG_MAX is declared... yes checking if x86_64-pc-linux-gnu-gcc supports -fstack-protector-all... yes checking if -fstack-protector-all works... yes 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 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 limits.h... yes checking for login.h... no checking for maillock.h... yes 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... yes 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/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/select.h... (cached) 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/sysmacros.h... yes checking for sys/time.h... yes checking for sys/timers.h... no checking for sys/un.h... yes 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... (cached) yes checking for utmp.h... yes checking for utmpx.h... yes checking for vis.h... no checking for time.h... (cached) yes checking for unistd.h... (cached) yes checking for strnvis... no checking for lastlog.h... yes checking for sys/ptms.h... no checking for login_cap.h... no checking for linux/if_tun.h... yes checking compiler and flags for sanity... yes checking for setsockopt... yes checking for dirname... yes checking for libgen.h... yes checking for /proc/pid/fd directory... yes checking for getspnam... (cached) yes checking for library containing basename... none required checking for dlopen in -ldl... yes checking for pam_set_item in -lpam... yes checking for pam_getenvlist... yes checking for pam_putenv... yes checking for pam_get_item... yes checking for strcasecmp... (cached) yes checking for utimes... yes checking for logout... yes checking for updwtmp... yes checking for logwtmp... yes checking for strftime... yes checking for GLOB_ALTDIRFUNC support... yes checking for gl_matchc field in glob_t... no checking whether GLOB_NOMATCH is declared... yes checking whether struct dirent allocates space for d_name... yes checking for /proc/pid/fd directory... yes checking for arc4random... yes 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 bindresvport_sa... no checking for clock... yes checking for closefrom... yes checking for dirfd... yes checking for fchmod... yes checking for fchown... yes checking for freeaddrinfo... yes checking for futimes... yes checking for getaddrinfo... yes checking for getcwd... (cached) yes checking for getgrouplist... yes checking for getnameinfo... yes checking for getopt... yes checking for getpeereid... no checking for getpeerucred... no checking for _getpty... no checking for getrlimit... yes checking for getttyent... yes checking for glob... yes checking for inet_aton... yes checking for inet_ntoa... (cached) yes checking for inet_ntop... yes checking for innetgr... yes checking for login_getcapbool... no checking for md5_crypt... no checking for memmove... (cached) yes checking for mkdtemp... yes checking for mmap... yes checking for ngetaddrinfo... no checking for nsleep... no checking for ogetaddrinfo... no checking for openlog_r... no checking for poll... yes checking for prctl... yes checking for pstat... no checking for readpassphrase... no checking for realpath... (cached) 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... (cached) yes checking for seteuid... yes checking for setgroups... yes checking for setlogin... 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 strdup... (cached) yes checking for strerror... (cached) yes checking for strlcat... yes checking for strlcpy... yes checking for strmode... no checking for strnvis... (cached) no checking for strtonum... no checking for strtoll... yes checking for strtoul... (cached) yes checking for swap32... no checking for sysconf... yes checking for tcgetpgrp... yes checking for truncate... yes checking for unsetenv... yes checking for updwtmpx... yes checking for vasprintf... yes checking for vhangup... yes checking for vsnprintf... yes checking for waitpid... yes checking for gai_strerror... yes checking for library containing nanosleep... 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 for setresuid... yes checking if setresuid seems to work... not implemented checking for setresgid... yes checking if setresgid seems to work... not implemented checking for gettimeofday... (cached) 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 pututxline... yes checking for setutxent... yes checking for utmpxname... yes checking for daemon... yes checking for getpagesize... (cached) yes checking whether snprintf correctly terminates long strings... 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... no 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 whether OpenSSL has crippled AES support... no checking for crypt in -lcrypt... yes checking for SHA256_Update... yes checking for EVP_sha256... yes checking for ia_openinfo in -liaf... no checking whether OpenSSL's PRNG is internally seeded... yes checking whether pam_strerror takes only one argument... no checking for ls... /bin/ls checking for netstat... /bin/netstat checking for arp... /sbin/arp checking for ifconfig... /bin/ifconfig checking for jstat... /usr/bin/jstat checking for ps... /bin/ps checking for sar... no checking for w... /usr/bin/w checking for who... /usr/bin/who checking for last... /usr/bin/last checking for lastlog... /usr/bin/lastlog checking for df... /bin/df checking for vmstat... /usr/bin/vmstat checking for uptime... /usr/bin/uptime checking for ipcs... /usr/bin/ipcs checking for tail... /bin/tail checking for long long... yes checking for unsigned long long... yes checking for long double... yes checking size of char... 1 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 u_char... yes checking for socklen_t... yes checking for sig_atomic_t... yes checking for in_addr_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 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 __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 pw_class field in struct passwd... no checking for pw_expire field in struct passwd... no checking for pw_change field in struct passwd... no checking for msg_accrights field in struct msghdr... no checking for msg_control field in struct msghdr... yes checking if libc defines __progname... yes checking whether x86_64-pc-linux-gnu-gcc implements __FUNCTION__... yes checking whether x86_64-pc-linux-gnu-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 "/dev/ptc"... no checking for nroff... /usr/bin/nroff configure: creating ./config.status config.status: creating Makefile config.status: creating openbsd-compat/Makefile config.status: creating openbsd-compat/regress/Makefile config.status: creating config.h Manpage format: cat SELinux support: no Host: x86_64-pc-linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compiler flags: -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all Preprocessor flags: Linker flags: -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--version-script=/var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/temp/pam-eclass-pam_symbols.ver -fstack-protector-all Libraries: -lcrypto -lpam -lcrypt >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4 ... make -j4 pod2man --section=8 --release=v0.10.3 --name=pam_ssh_agent_auth --official --center "PAM" pam_ssh_agent_auth.pod > pam_ssh_agent_auth.8 (cd openbsd-compat && make) x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c xmalloc.c -o xmalloc.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c atomicio.c -o atomicio.o make[1]: Entering directory '/var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4/openbsd-compat' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-arc4random.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-asprintf.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c authfd.c -o authfd.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-closefrom.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c bufaux.c -o bufaux.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-cray.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c bufbn.c -o bufbn.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-cygwin_util.c authfd.c: In function ‘ssh_get_authentication_socket’: authfd.c:149:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 149 | if (seteuid(uid) < 0) | ^~ authfd.c:152:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 152 | if (connect(sock, (struct sockaddr *)&sunaddr, sizeof sunaddr) < 0) { | ^~ authfd.c:160:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 160 | if (seteuid(0) < 0) | ^~ authfd.c:163:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 163 | agent_present = 1; | ^~~~~~~~~~~~~ authfd.c: In function ‘ssh_get_next_identity’: authfd.c:384:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 384 | pamsshagentauth_buffer_get_bignum(&auth->identities, RSA_get0_e(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from rsa.h:20, from authfd.c:63: /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authfd.c:384:70: warning: passing argument 2 of ‘pamsshagentauth_buffer_get_bignum’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 384 | pamsshagentauth_buffer_get_bignum(&auth->identities, RSA_get0_e(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~ In file included from entropy.h:30, from includes.h:174, from authfd.c:42: buffer.h:53:53: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 53 | void pamsshagentauth_buffer_get_bignum(Buffer *, BIGNUM *); | ^~~~~~~~ authfd.c:385:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 385 | pamsshagentauth_buffer_get_bignum(&auth->identities, RSA_get0_n(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c:385:70: warning: passing argument 2 of ‘pamsshagentauth_buffer_get_bignum’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 385 | pamsshagentauth_buffer_get_bignum(&auth->identities, RSA_get0_n(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~ buffer.h:53:53: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 53 | void pamsshagentauth_buffer_get_bignum(Buffer *, BIGNUM *); | ^~~~~~~~ authfd.c:387:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 387 | keybits = BN_num_bits(RSA_get0_n(key->rsa)); | ^~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c:390:29: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 390 | BN_num_bits(RSA_get0_n(key->rsa)), bits); | ^~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c: In function ‘ssh_decrypt_challenge’: authfd.c:440:9: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 440 | pamsshagentauth_buffer_put_int(&buffer, BN_num_bits(RSA_get0_n(key->rsa))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c:441:9: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 441 | pamsshagentauth_buffer_put_bignum(&buffer, RSA_get0_e(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authfd.c:442:9: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 442 | pamsshagentauth_buffer_put_bignum(&buffer, RSA_get0_n(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c: In function ‘ssh_encode_identity_rsa1’: authfd.c:530:9: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 530 | pamsshagentauth_buffer_put_int(b, BN_num_bits(RSA_get0_n(key))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c:531:9: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 531 | pamsshagentauth_buffer_put_bignum(b, RSA_get0_n(key)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c:532:9: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | pamsshagentauth_buffer_put_bignum(b, RSA_get0_e(key)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authfd.c:533:9: warning: ‘RSA_get0_d’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | pamsshagentauth_buffer_put_bignum(b, RSA_get0_d(key)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:240:37: note: declared here 240 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authfd.c:535:9: warning: ‘RSA_get0_iqmp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 535 | pamsshagentauth_buffer_put_bignum(b, RSA_get0_iqmp(key)); /* ssh key->u */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:245:37: note: declared here 245 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_iqmp(const RSA *r); | ^~~~~~~~~~~~~ authfd.c:536:9: warning: ‘RSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | pamsshagentauth_buffer_put_bignum(b, RSA_get0_q(key)); /* ssh key->p, SSL key->q */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:242:37: note: declared here 242 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_q(const RSA *d); | ^~~~~~~~~~ authfd.c:537:9: warning: ‘RSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 537 | pamsshagentauth_buffer_put_bignum(b, RSA_get0_p(key)); /* ssh key->q, SSL key->p */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:241:37: note: declared here 241 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_p(const RSA *d); | ^~~~~~~~~~ authfd.c: In function ‘ssh_encode_identity_ssh2’: authfd.c:556:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 556 | pamsshagentauth_buffer_put_bignum2(b, RSA_get0_n(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c:557:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 557 | pamsshagentauth_buffer_put_bignum2(b, RSA_get0_e(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authfd.c:558:17: warning: ‘RSA_get0_d’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 558 | pamsshagentauth_buffer_put_bignum2(b, RSA_get0_d(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:240:37: note: declared here 240 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_d(const RSA *d); | ^~~~~~~~~~ authfd.c:559:17: warning: ‘RSA_get0_iqmp’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 559 | pamsshagentauth_buffer_put_bignum2(b, RSA_get0_iqmp(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:245:37: note: declared here 245 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_iqmp(const RSA *r); | ^~~~~~~~~~~~~ authfd.c:560:17: warning: ‘RSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 560 | pamsshagentauth_buffer_put_bignum2(b, RSA_get0_p(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:241:37: note: declared here 241 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_p(const RSA *d); | ^~~~~~~~~~ authfd.c:561:17: warning: ‘RSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 561 | pamsshagentauth_buffer_put_bignum2(b, RSA_get0_q(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:242:37: note: declared here 242 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_q(const RSA *d); | ^~~~~~~~~~ authfd.c:572:17: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 572 | pamsshagentauth_buffer_put_bignum2(b, DSA_get0_p(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from key.h:30, from authfd.c:65: /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ authfd.c:573:17: warning: ‘DSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 573 | pamsshagentauth_buffer_put_bignum2(b, DSA_get0_q(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:214:37: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d); | ^~~~~~~~~~ authfd.c:574:17: warning: ‘DSA_get0_g’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 574 | pamsshagentauth_buffer_put_bignum2(b, DSA_get0_g(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:215:37: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d); | ^~~~~~~~~~ authfd.c:575:17: warning: ‘DSA_get0_pub_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 575 | pamsshagentauth_buffer_put_bignum2(b, DSA_get0_pub_key(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:216:37: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d); | ^~~~~~~~~~~~~~~~ authfd.c:576:17: warning: ‘DSA_get0_priv_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 576 | pamsshagentauth_buffer_put_bignum2(b, DSA_get0_priv_key(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:217:37: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_priv_key(const DSA *d); | ^~~~~~~~~~~~~~~~~ authfd.c: In function ‘ssh_remove_identity’: authfd.c:662:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 662 | pamsshagentauth_buffer_put_int(&msg, BN_num_bits(RSA_get0_n(key->rsa))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ authfd.c:663:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 663 | pamsshagentauth_buffer_put_bignum(&msg, RSA_get0_e(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ authfd.c:664:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 664 | pamsshagentauth_buffer_put_bignum(&msg, RSA_get0_n(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c buffer.c -o buffer.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-getpeereid.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c cleanup.c -o cleanup.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-misc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c entropy.c -o entropy.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-nextstep.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-openpty.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c fatal.c -o fatal.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-poll.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c key.c -o key.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-snprintf.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c log.c -o log.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c bsd-waitpid.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c misc.c -o misc.o key.c: In function ‘pamsshagentauth_key_new’: key.c:78:17: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 78 | if ((rsa = RSA_new()) == NULL) | ^~ In file included from key.h:29, from key.c:54: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ key.c:86:17: warning: ‘RSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 86 | if (RSA_set0_key(rsa, BN_new(), BN_new(), NULL) != 1) | ^~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ key.c:92:17: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 92 | if ((dsa = DSA_new()) == NULL) | ^~ In file included from key.h:30: /usr/include/openssl/dsa.h:130:28: note: declared here 130 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ key.c:104:17: warning: ‘DSA_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 104 | if (DSA_set0_pqg(dsa, BN_new(), BN_new(), BN_new()) != 1) | ^~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ key.c:106:17: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | if (DSA_set0_key(dsa, BN_new(), NULL) != 1) | ^~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ key.c:68:18: warning: unused variable ‘ed25519’ [-Wunused-variable] 68 | ED25519 *ed25519; | ^~~~~~~ key.c: In function ‘pamsshagentauth_key_new_private’: key.c:147:17: warning: ‘RSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 147 | if (RSA_set0_key(k->rsa, NULL, NULL, BN_new()) != 1) | ^~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ key.c:149:17: warning: ‘RSA_set0_crt_params’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 149 | if (RSA_set0_crt_params(k->rsa, BN_new(), BN_new(), BN_new()) != 1) | ^~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ key.c:151:17: warning: ‘RSA_set0_factors’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 151 | if (RSA_set0_factors(k->rsa, BN_new(), BN_new()) != 1) | ^~ /usr/include/openssl/rsa.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ key.c:160:17: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 160 | if (DSA_set0_key(k->dsa, NULL, BN_new()) != 1) | ^~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_free’: key.c:191:25: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | RSA_free(k->rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ key.c:196:25: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 196 | DSA_free(k->dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ key.c:201:25: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 201 | EC_KEY_free(k->ecdsa); | ^~~~~~~~~~~ In file included from key.h:31: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_equal’: key.c:231:21: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | BN_cmp(RSA_get0_e(a->rsa), RSA_get0_e(b->rsa)) == 0 && | ^~~~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:231:21: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 231 | BN_cmp(RSA_get0_e(a->rsa), RSA_get0_e(b->rsa)) == 0 && | ^~~~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:232:21: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 232 | BN_cmp(RSA_get0_n(a->rsa), RSA_get0_n(b->rsa)) == 0; | ^~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:232:21: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 232 | BN_cmp(RSA_get0_n(a->rsa), RSA_get0_n(b->rsa)) == 0; | ^~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:242:21: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | BN_cmp(DSA_get0_p(a->dsa), DSA_get0_p(b->dsa)) == 0 && | ^~~~~~ /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ key.c:242:21: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | BN_cmp(DSA_get0_p(a->dsa), DSA_get0_p(b->dsa)) == 0 && | ^~~~~~ /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ key.c:243:21: warning: ‘DSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 243 | BN_cmp(DSA_get0_q(a->dsa), DSA_get0_q(b->dsa)) == 0 && | ^~~~~~ /usr/include/openssl/dsa.h:214:37: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d); | ^~~~~~~~~~ key.c:243:21: warning: ‘DSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 243 | BN_cmp(DSA_get0_q(a->dsa), DSA_get0_q(b->dsa)) == 0 && | ^~~~~~ /usr/include/openssl/dsa.h:214:37: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d); | ^~~~~~~~~~ key.c:244:21: warning: ‘DSA_get0_g’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | BN_cmp(DSA_get0_g(a->dsa), DSA_get0_g(b->dsa)) == 0 && | ^~~~~~ /usr/include/openssl/dsa.h:215:37: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d); | ^~~~~~~~~~ key.c:244:21: warning: ‘DSA_get0_g’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 244 | BN_cmp(DSA_get0_g(a->dsa), DSA_get0_g(b->dsa)) == 0 && | ^~~~~~ /usr/include/openssl/dsa.h:215:37: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d); | ^~~~~~~~~~ key.c:245:21: warning: ‘DSA_get0_pub_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 245 | BN_cmp(DSA_get0_pub_key(a->dsa), DSA_get0_pub_key(b->dsa)) == 0; | ^~~~~~ /usr/include/openssl/dsa.h:216:37: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d); | ^~~~~~~~~~~~~~~~ key.c:245:21: warning: ‘DSA_get0_pub_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 245 | BN_cmp(DSA_get0_pub_key(a->dsa), DSA_get0_pub_key(b->dsa)) == 0; | ^~~~~~ /usr/include/openssl/dsa.h:216:37: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d); | ^~~~~~~~~~~~~~~~ key.c:249:25: warning: ‘EC_KEY_check_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 249 | EC_KEY_check_key(a->ecdsa) == 1 && | ^~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1110:27: note: declared here 1110 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ key.c:250:25: warning: ‘EC_KEY_check_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 250 | EC_KEY_check_key(b->ecdsa) == 1 && | ^~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1110:27: note: declared here 1110 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ key.c:251:25: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 251 | 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); | ^~~~~~~~~~~~~~~~~ key.c:252:33: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | EC_KEY_get0_group(a->ecdsa), NULL) == 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); | ^~~~~~~~~~~~~~~~~ key.c:253:25: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 253 | 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); | ^~~~~~~~~~~~~~~~~ key.c:254:33: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | 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); | ^~~~~~~~~~~~~~~~~~~~~~ key.c:255:33: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 255 | EC_KEY_get0_public_key(b->ecdsa), NULL) == 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); | ^~~~~~~~~~~~~~~~~~~~~~ key.c:256:25: warning: ‘EC_KEY_get0_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 256 | BN_cmp(EC_KEY_get0_private_key(a->ecdsa), | ^~~~~~ /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); | ^~~~~~~~~~~~~~~~~~~~~~~ key.c:257:33: warning: ‘EC_KEY_get0_private_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 257 | EC_KEY_get0_private_key(b->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); | ^~~~~~~~~~~~~~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_fingerprint_raw’: key.c:304:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 304 | nlen = BN_num_bytes(RSA_get0_n(k->rsa)); | ^~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:305:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 305 | elen = BN_num_bytes(RSA_get0_e(k->rsa)); | ^~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:308:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | BN_bn2bin(RSA_get0_n(k->rsa), blob); | ^~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:309:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 309 | BN_bn2bin(RSA_get0_e(k->rsa), blob + nlen); | ^~~~~~~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_read’: key.c:519:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (!read_bignum(cpp, RSA_get0_e(ret->rsa))) | ^~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:519:39: warning: passing argument 2 of ‘read_bignum’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 519 | if (!read_bignum(cpp, RSA_get0_e(ret->rsa))) | ^~~~~~~~~~~~~~~~~~~~ key.c:440:34: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 440 | read_bignum(char **cpp, BIGNUM * value) | ~~~~~~~~~^~~~~ key.c:521:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 521 | if (!read_bignum(cpp, RSA_get0_n(ret->rsa))) | ^~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:521:39: warning: passing argument 2 of ‘read_bignum’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 521 | if (!read_bignum(cpp, RSA_get0_n(ret->rsa))) | ^~~~~~~~~~~~~~~~~~~~ key.c:440:34: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 440 | read_bignum(char **cpp, BIGNUM * value) | ~~~~~~~~~^~~~~ key.c:578:33: warning: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 578 | RSA_free(ret->rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ key.c:588:33: warning: ‘DSA_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 588 | DSA_free(ret->dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ key.c:598:33: warning: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 598 | 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); | ^~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_write’: key.c:652:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 652 | bits = BN_num_bits(RSA_get0_n(key->rsa)); | ^~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:654:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 654 | if (write_bignum(f, RSA_get0_e(key->rsa)) && | ^~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:654:37: warning: passing argument 2 of ‘write_bignum’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 654 | if (write_bignum(f, RSA_get0_e(key->rsa)) && | ^~~~~~~~~~~~~~~~~~~~ key.c:477:31: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 477 | write_bignum(FILE *f, BIGNUM *num) | ~~~~~~~~^~~ key.c:655:21: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 655 | write_bignum(f, RSA_get0_n(key->rsa))) { | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:655:37: warning: passing argument 2 of ‘write_bignum’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 655 | write_bignum(f, RSA_get0_n(key->rsa))) { | ^~~~~~~~~~~~~~~~~~~~ key.c:477:31: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 477 | write_bignum(FILE *f, BIGNUM *num) | ~~~~~~~~^~~ key.c: In function ‘key_ssh_name’: key.c:704:17: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 704 | int nid = EC_GROUP_get_curve_name(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); | ^~~~~~~~~~~~~~~~~ key.c: In function ‘group_ssh_name’: key.c:726:17: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 726 | int nid = EC_GROUP_get_curve_name(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); | ^~~~~~~~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_size’: key.c:752:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 752 | return BN_num_bits(RSA_get0_n(k->rsa)); | ^~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:754:17: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 754 | return BN_num_bits(DSA_get0_p(k->dsa)); | ^~~~~~ /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ key.c:758:17: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 758 | int nid = EC_GROUP_get_curve_name(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); | ^~~~~~~~~~~~~~~~~ key.c: In function ‘rsa_generate_private_key’: key.c:779:9: warning: ‘RSA_generate_key’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 779 | private = RSA_generate_key(bits, 35, NULL, NULL); | ^~~~~~~ /usr/include/openssl/rsa.h:259:30: note: declared here 259 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ key.c: In function ‘dsa_generate_private_key’: key.c:788:9: warning: ‘DSA_generate_parameters’ is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 788 | DSA *private = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, NULL, NULL); | ^~~ /usr/include/openssl/dsa.h:164:6: note: declared here 164 | DSA *DSA_generate_parameters(int bits, unsigned char *seed, int seed_len, | ^~~~~~~~~~~~~~~~~~~~~~~ key.c:792:9: warning: ‘DSA_generate_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 792 | if (!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); | ^~~~~~~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_from_private’: key.c:852:17: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 852 | if ((BN_copy(DSA_get0_p(n->dsa), DSA_get0_p(k->dsa)) == NULL) || | ^~ /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ key.c:852:17: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 852 | if ((BN_copy(DSA_get0_p(n->dsa), DSA_get0_p(k->dsa)) == NULL) || | ^~ /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ key.c:852:30: warning: passing argument 1 of ‘BN_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 852 | if ((BN_copy(DSA_get0_p(n->dsa), DSA_get0_p(k->dsa)) == NULL) || | ^~~~~~~~~~~~~~~~~~ In file included from buffer.h:49, from entropy.h:30, from includes.h:174, from key.c:41: /usr/include/openssl/bn.h:241:25: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 241 | BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); | ~~~~~~~~^ key.c:853:21: warning: ‘DSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 853 | (BN_copy(DSA_get0_q(n->dsa), DSA_get0_q(k->dsa)) == NULL) || | ^ /usr/include/openssl/dsa.h:214:37: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d); | ^~~~~~~~~~ key.c:853:21: warning: ‘DSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 853 | (BN_copy(DSA_get0_q(n->dsa), DSA_get0_q(k->dsa)) == NULL) || | ^ /usr/include/openssl/dsa.h:214:37: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d); | ^~~~~~~~~~ key.c:853:30: warning: passing argument 1 of ‘BN_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 853 | (BN_copy(DSA_get0_q(n->dsa), DSA_get0_q(k->dsa)) == NULL) || | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/bn.h:241:25: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 241 | BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); | ~~~~~~~~^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c openssl-compat.c key.c:854:21: warning: ‘DSA_get0_g’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 854 | (BN_copy(DSA_get0_g(n->dsa), DSA_get0_g(k->dsa)) == NULL) || | ^ /usr/include/openssl/dsa.h:215:37: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d); | ^~~~~~~~~~ key.c:854:21: warning: ‘DSA_get0_g’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 854 | (BN_copy(DSA_get0_g(n->dsa), DSA_get0_g(k->dsa)) == NULL) || | ^ /usr/include/openssl/dsa.h:215:37: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d); | ^~~~~~~~~~ key.c:854:30: warning: passing argument 1 of ‘BN_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 854 | (BN_copy(DSA_get0_g(n->dsa), DSA_get0_g(k->dsa)) == NULL) || | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/bn.h:241:25: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 241 | BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); | ~~~~~~~~^ key.c:855:21: warning: ‘DSA_get0_pub_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 855 | (BN_copy(DSA_get0_pub_key(n->dsa), DSA_get0_pub_key(k->dsa)) == NULL)) | ^ /usr/include/openssl/dsa.h:216:37: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d); | ^~~~~~~~~~~~~~~~ key.c:855:21: warning: ‘DSA_get0_pub_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 855 | (BN_copy(DSA_get0_pub_key(n->dsa), DSA_get0_pub_key(k->dsa)) == NULL)) | ^ /usr/include/openssl/dsa.h:216:37: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d); | ^~~~~~~~~~~~~~~~ key.c:855:30: warning: passing argument 1 of ‘BN_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 855 | (BN_copy(DSA_get0_pub_key(n->dsa), DSA_get0_pub_key(k->dsa)) == NULL)) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/bn.h:241:25: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 241 | BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); | ~~~~~~~~^ key.c:866:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 866 | if ((BN_copy(RSA_get0_n(n->rsa), RSA_get0_n(k->rsa)) == NULL) || | ^~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:866:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 866 | if ((BN_copy(RSA_get0_n(n->rsa), RSA_get0_n(k->rsa)) == NULL) || | ^~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:866:30: warning: passing argument 1 of ‘BN_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 866 | if ((BN_copy(RSA_get0_n(n->rsa), RSA_get0_n(k->rsa)) == NULL) || | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/bn.h:241:25: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 241 | BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); | ~~~~~~~~^ key.c:867:21: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 867 | (BN_copy(RSA_get0_e(n->rsa), RSA_get0_e(k->rsa)) == NULL)) | ^ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:867:21: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 867 | (BN_copy(RSA_get0_e(n->rsa), RSA_get0_e(k->rsa)) == NULL)) | ^ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:867:30: warning: passing argument 1 of ‘BN_copy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 867 | (BN_copy(RSA_get0_e(n->rsa), RSA_get0_e(k->rsa)) == NULL)) | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/bn.h:241:25: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 241 | BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); | ~~~~~~~~^ key.c:873:17: warning: ‘EC_KEY_copy’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 873 | if (EC_KEY_copy(n->ecdsa, k->ecdsa) == NULL) | ^~ /usr/include/openssl/ec.h:1013:31: note: declared here 1013 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_copy(EC_KEY *dst, const EC_KEY *src); | ^~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_from_blob’: key.c:974:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 974 | if (pamsshagentauth_buffer_get_bignum2_ret(&b, RSA_get0_e(key->rsa)) == -1 || | ^~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:974:64: warning: passing argument 2 of ‘pamsshagentauth_buffer_get_bignum2_ret’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 974 | if (pamsshagentauth_buffer_get_bignum2_ret(&b, RSA_get0_e(key->rsa)) == -1 || | ^~~~~~~~~~~~~~~~~~~~ buffer.h:78:58: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 78 | int pamsshagentauth_buffer_get_bignum2_ret(Buffer *, BIGNUM *); | ^~~~~~~~ key.c:975:21: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 975 | pamsshagentauth_buffer_get_bignum2_ret(&b, RSA_get0_n(key->rsa)) == -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:975:64: warning: passing argument 2 of ‘pamsshagentauth_buffer_get_bignum2_ret’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 975 | pamsshagentauth_buffer_get_bignum2_ret(&b, RSA_get0_n(key->rsa)) == -1) { | ^~~~~~~~~~~~~~~~~~~~ buffer.h:78:58: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 78 | int pamsshagentauth_buffer_get_bignum2_ret(Buffer *, BIGNUM *); | ^~~~~~~~ key.c:994:17: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 994 | if (pamsshagentauth_buffer_get_bignum2_ret(&b, DSA_get0_p(key->dsa)) == -1 || | ^~ /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ key.c:994:64: warning: passing argument 2 of ‘pamsshagentauth_buffer_get_bignum2_ret’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 994 | if (pamsshagentauth_buffer_get_bignum2_ret(&b, DSA_get0_p(key->dsa)) == -1 || | ^~~~~~~~~~~~~~~~~~~~ buffer.h:78:58: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 78 | int pamsshagentauth_buffer_get_bignum2_ret(Buffer *, BIGNUM *); | ^~~~~~~~ key.c:995:21: warning: ‘DSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 995 | pamsshagentauth_buffer_get_bignum2_ret(&b, DSA_get0_q(key->dsa)) == -1 || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:214:37: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d); | ^~~~~~~~~~ key.c:995:64: warning: passing argument 2 of ‘pamsshagentauth_buffer_get_bignum2_ret’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 995 | pamsshagentauth_buffer_get_bignum2_ret(&b, DSA_get0_q(key->dsa)) == -1 || | ^~~~~~~~~~~~~~~~~~~~ buffer.h:78:58: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 78 | int pamsshagentauth_buffer_get_bignum2_ret(Buffer *, BIGNUM *); | ^~~~~~~~ key.c:996:21: warning: ‘DSA_get0_g’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 996 | pamsshagentauth_buffer_get_bignum2_ret(&b, DSA_get0_g(key->dsa)) == -1 || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:215:37: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d); | ^~~~~~~~~~ key.c:996:64: warning: passing argument 2 of ‘pamsshagentauth_buffer_get_bignum2_ret’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 996 | pamsshagentauth_buffer_get_bignum2_ret(&b, DSA_get0_g(key->dsa)) == -1 || | ^~~~~~~~~~~~~~~~~~~~ buffer.h:78:58: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 78 | int pamsshagentauth_buffer_get_bignum2_ret(Buffer *, BIGNUM *); | ^~~~~~~~ key.c:997:21: warning: ‘DSA_get0_pub_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | pamsshagentauth_buffer_get_bignum2_ret(&b, DSA_get0_pub_key(key->dsa)) == -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:216:37: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d); | ^~~~~~~~~~~~~~~~ key.c:997:64: warning: passing argument 2 of ‘pamsshagentauth_buffer_get_bignum2_ret’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 997 | pamsshagentauth_buffer_get_bignum2_ret(&b, DSA_get0_pub_key(key->dsa)) == -1) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ buffer.h:78:58: note: expected ‘BIGNUM *’ {aka ‘struct bignum_st *’} but argument is of type ‘const BIGNUM *’ {aka ‘const struct bignum_st *’} 78 | int pamsshagentauth_buffer_get_bignum2_ret(Buffer *, BIGNUM *); | ^~~~~~~~ key.c:1020:17: warning: ‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1020 | if ((ecdsa = EC_KEY_new_by_curve_name(pamsshagentauth_ec_group_from_name(identifier))) == 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); | ^~~~~~~~~~~~~~~~~~~~~~~~ key.c:1035:17: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1035 | if ((p = 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); | ^~~~~~~~~~~~~~~~~ key.c:1043:17: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1043 | if (EC_POINT_oct2point(EC_KEY_get0_group(key->ecdsa), p, octets, len, NULL) == -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); | ^~~~~~~~~~~~~~~~~ key.c:1052:17: warning: ‘EC_KEY_set_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1052 | EC_KEY_set_public_key(key->ecdsa, p); | ^~~~~~~~~~~~~~~~~~~~~ /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); | ^~~~~~~~~~~~~~~~~~~~~ key.c:1055:17: warning: ‘EC_KEY_check_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1055 | if (!EC_KEY_check_key(key->ecdsa)) { | ^~ /usr/include/openssl/ec.h:1110:27: note: declared here 1110 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_to_blob’: key.c:1132:17: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1132 | pamsshagentauth_buffer_put_bignum2(&b, DSA_get0_p(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ key.c:1133:17: warning: ‘DSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1133 | pamsshagentauth_buffer_put_bignum2(&b, DSA_get0_q(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:214:37: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d); | ^~~~~~~~~~ key.c:1134:17: warning: ‘DSA_get0_g’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1134 | pamsshagentauth_buffer_put_bignum2(&b, DSA_get0_g(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:215:37: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d); | ^~~~~~~~~~ key.c:1135:17: warning: ‘DSA_get0_pub_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1135 | pamsshagentauth_buffer_put_bignum2(&b, DSA_get0_pub_key(key->dsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/dsa.h:216:37: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d); | ^~~~~~~~~~~~~~~~ key.c:1139:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1139 | pamsshagentauth_buffer_put_bignum2(&b, RSA_get0_e(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:1140:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1140 | pamsshagentauth_buffer_put_bignum2(&b, RSA_get0_n(key->rsa)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:1151:17: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1151 | if ((l = EC_POINT_point2oct(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); | ^~~~~~~~~~~~~~~~~ key.c:1152:73: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1152 | EC_KEY_get0_public_key(key->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); | ^~~~~~~~~~~~~~~~~~~~~~ key.c:1155:25: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1155 | (l = EC_POINT_point2oct(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); | ^~~~~~~~~~~~~~~~~ key.c:1156:73: warning: ‘EC_KEY_get0_public_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1156 | EC_KEY_get0_public_key(key->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); | ^~~~~~~~~~~~~~~~~~~~~~ key.c: In function ‘pamsshagentauth_key_demote’: key.c:1252:17: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1252 | 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); | ^~~~~~~ key.c:1260:17: warning: ‘RSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1260 | if (RSA_set0_key(pk->rsa, BN_dup(RSA_get0_n(k->rsa)), BN_dup(RSA_get0_e(k->rsa)), NULL) != 1) | ^~ /usr/include/openssl/rsa.h:213:27: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ key.c:1260:17: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1260 | if (RSA_set0_key(pk->rsa, BN_dup(RSA_get0_n(k->rsa)), BN_dup(RSA_get0_e(k->rsa)), NULL) != 1) | ^~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ key.c:1260:17: warning: ‘RSA_get0_e’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1260 | if (RSA_set0_key(pk->rsa, BN_dup(RSA_get0_n(k->rsa)), BN_dup(RSA_get0_e(k->rsa)), NULL) != 1) | ^~ /usr/include/openssl/rsa.h:239:37: note: declared here 239 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_e(const RSA *d); | ^~~~~~~~~~ key.c:1265:17: warning: ‘DSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1265 | 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); | ^~~~~~~ key.c:1277:17: warning: ‘DSA_set0_pqg’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | if (DSA_set0_pqg(pk->dsa, BN_dup(DSA_get0_p(k->dsa)), BN_dup(DSA_get0_q(k->dsa)), BN_dup(DSA_get0_g(k->dsa))) != 1) | ^~ /usr/include/openssl/dsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ key.c:1277:17: warning: ‘DSA_get0_p’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | if (DSA_set0_pqg(pk->dsa, BN_dup(DSA_get0_p(k->dsa)), BN_dup(DSA_get0_q(k->dsa)), BN_dup(DSA_get0_g(k->dsa))) != 1) | ^~ /usr/include/openssl/dsa.h:213:37: note: declared here 213 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_p(const DSA *d); | ^~~~~~~~~~ key.c:1277:17: warning: ‘DSA_get0_q’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | if (DSA_set0_pqg(pk->dsa, BN_dup(DSA_get0_p(k->dsa)), BN_dup(DSA_get0_q(k->dsa)), BN_dup(DSA_get0_g(k->dsa))) != 1) | ^~ /usr/include/openssl/dsa.h:214:37: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_q(const DSA *d); | ^~~~~~~~~~ key.c:1277:17: warning: ‘DSA_get0_g’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1277 | if (DSA_set0_pqg(pk->dsa, BN_dup(DSA_get0_p(k->dsa)), BN_dup(DSA_get0_q(k->dsa)), BN_dup(DSA_get0_g(k->dsa))) != 1) | ^~ /usr/include/openssl/dsa.h:215:37: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_g(const DSA *d); | ^~~~~~~~~~ key.c:1279:17: warning: ‘DSA_set0_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | if (DSA_set0_key(pk->dsa, BN_dup(DSA_get0_pub_key(k->dsa)), NULL) != 1) | ^~ /usr/include/openssl/dsa.h:211:27: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ key.c:1279:17: warning: ‘DSA_get0_pub_key’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1279 | if (DSA_set0_key(pk->dsa, BN_dup(DSA_get0_pub_key(k->dsa)), NULL) != 1) | ^~ /usr/include/openssl/dsa.h:216:37: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d); | ^~~~~~~~~~~~~~~~ log.c: In function ‘pamsshagentauth_do_log’: log.c:371:52: warning: ‘ This incident has been rep...’ directive output may be truncated writing 54 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 371 | snprintf(msgbuf, sizeof msgbuf, "%s\r\nThis incident has been reported to the authorities\r\n", fmtbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from /usr/include/resolv.h:58, from openbsd-compat/getrrsetbyname.h:59, from openbsd-compat/openbsd-compat.h:44, from includes.h:171, from log.c:37: In function ‘snprintf’, inlined from ‘pamsshagentauth_do_log’ at log.c:371:3: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 55 and 1078 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ log.c: In function ‘pamsshagentauth_do_log’: log.c:378:52: warning: ‘ ’ directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 378 | snprintf(msgbuf, sizeof msgbuf, "%s\r\n", fmtbuf); | ^~~~ In function ‘snprintf’, inlined from ‘pamsshagentauth_do_log’ at log.c:378:3: /usr/include/bits/stdio2.h:54:10: note: ‘__builtin___snprintf_chk’ output between 3 and 1026 bytes into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c xcrypt.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c secure_filename.c -o secure_filename.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c xmmap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c base64.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c ssh-dss.c -o ssh-dss.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c basename.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c daemon.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c ssh-ecdsa.c -o ssh-ecdsa.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c dirname.c ssh-dss.c: In function ‘ssh_dss_sign’: ssh-dss.c:68:9: warning: ‘DSA_do_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 68 | sig = DSA_do_sign(digest, dlen, key->dsa); | ^~~ In file included from key.h:30, from ssh-dss.c:40: /usr/include/openssl/dsa.h:118:32: note: declared here 118 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ ssh-dss.c: In function ‘ssh_dss_verify’: ssh-dss.c:211:9: warning: ‘DSA_do_verify’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | ret = DSA_do_verify(digest, dlen, sig, key->dsa); | ^~~ /usr/include/openssl/dsa.h:120:27: note: declared here 120 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ ssh-dss.c: In function ‘ssh_dss_sign’: ssh-dss.c:81:9: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized] 81 | DSA_SIG_get0((const DSA_SIG *)sig, (const BIGNUM **)r, (const BIGNUM **)s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssh-dss.c:56:23: note: ‘r’ was declared here 56 | const BIGNUM *r, *s; | ^ ssh-dss.c:81:9: warning: ‘s’ may be used uninitialized [-Wmaybe-uninitialized] 81 | DSA_SIG_get0((const DSA_SIG *)sig, (const BIGNUM **)r, (const BIGNUM **)s); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ssh-dss.c:56:27: note: ‘s’ was declared here 56 | const BIGNUM *r, *s; | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c ssh-ed25519.c -o ssh-ed25519.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -DHAVE_CONFIG_H -c ssh-rsa.c -o ssh-rsa.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c fake-rfc2553.c ssh-ecdsa.c: In function ‘evp_from_key’: ssh-ecdsa.c:24:9: warning: ‘EC_KEY_get0_group’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 24 | int nid = EC_GROUP_get_curve_name(EC_KEY_get0_group(key->ecdsa)); | ^~~ In file included from /usr/include/openssl/ecdsa.h:10, from ssh-ecdsa.c:6: /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); | ^~~~~~~~~~~~~~~~~ ssh-ecdsa.c: In function ‘ssh_ecdsa_sign’: ssh-ecdsa.c:62:5: warning: ‘ECDSA_do_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 62 | sig = ECDSA_do_sign(digest, dlen, key->ecdsa); | ^~~ /usr/include/openssl/ec.h:1368:34: note: declared here 1368 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ ssh-ecdsa.c:76:18: error: passing argument 1 of ‘DSA_SIG_get0’ from incompatible pointer type [-Wincompatible-pointer-types] 76 | DSA_SIG_get0(sig, &r, &s); | ^~~ | | | ECDSA_SIG * {aka struct ECDSA_SIG_st *} In file included from key.h:30, from ssh-ecdsa.c:16: /usr/include/openssl/dsa.h:70:34: note: expected ‘const DSA_SIG *’ {aka ‘const struct DSA_SIG_st *’} but argument is of type ‘ECDSA_SIG *’ {aka ‘struct ECDSA_SIG_st *’} 70 | void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | ~~~~~~~~~~~~~~~^~~ ssh-ecdsa.c:76:23: error: passing argument 2 of ‘DSA_SIG_get0’ from incompatible pointer type [-Wincompatible-pointer-types] 76 | DSA_SIG_get0(sig, &r, &s); | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:70:54: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 70 | void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | ~~~~~~~~~~~~~~~^~ ssh-ecdsa.c:76:27: error: passing argument 3 of ‘DSA_SIG_get0’ from incompatible pointer type [-Wincompatible-pointer-types] 76 | DSA_SIG_get0(sig, &r, &s); | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:70:73: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 70 | DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | ~~~~~~~~~~~~~~~^~ ssh-ecdsa.c: In function ‘ssh_ecdsa_verify’: ssh-ecdsa.c:148:18: error: passing argument 1 of ‘DSA_SIG_get0’ from incompatible pointer type [-Wincompatible-pointer-types] 148 | DSA_SIG_get0(sig, &r, &s); | ^~~ | | | ECDSA_SIG * {aka struct ECDSA_SIG_st *} /usr/include/openssl/dsa.h:70:34: note: expected ‘const DSA_SIG *’ {aka ‘const struct DSA_SIG_st *’} but argument is of type ‘ECDSA_SIG *’ {aka ‘struct ECDSA_SIG_st *’} 70 | void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | ~~~~~~~~~~~~~~~^~~ ssh-ecdsa.c:148:23: error: passing argument 2 of ‘DSA_SIG_get0’ from incompatible pointer type [-Wincompatible-pointer-types] 148 | DSA_SIG_get0(sig, &r, &s); | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:70:54: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 70 | void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | ~~~~~~~~~~~~~~~^~ ssh-ecdsa.c:148:27: error: passing argument 3 of ‘DSA_SIG_get0’ from incompatible pointer type [-Wincompatible-pointer-types] 148 | DSA_SIG_get0(sig, &r, &s); | ^~ | | | BIGNUM ** {aka struct bignum_st **} /usr/include/openssl/dsa.h:70:73: note: expected ‘const BIGNUM **’ {aka ‘const struct bignum_st **’} but argument is of type ‘BIGNUM **’ {aka ‘struct bignum_st **’} 70 | DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); | ~~~~~~~~~~~~~~~^~ ssh-ecdsa.c:165:5: warning: ‘ECDSA_do_verify’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 165 | ret = ECDSA_do_verify(digest, dlen, sig, key->ecdsa); | ^~~ /usr/include/openssl/ec.h:1394:27: note: declared here 1394 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ make: *** [Makefile:95: ssh-ecdsa.o] Error 1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c getcwd.c make: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c getgrouplist.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c getopt.c ssh-rsa.c: In function ‘ssh_rsa_sign’: ssh-rsa.c:59:24: error: passing argument 1 of ‘EVP_DigestInit’ from incompatible pointer type [-Wincompatible-pointer-types] 59 | EVP_DigestInit(&md, evp_md); | ^~~ | | | EVP_MD_CTX ** {aka struct evp_md_ctx_st **} In file included from ssh-rsa.c:22: /usr/include/openssl/evp.h:726:39: note: expected ‘EVP_MD_CTX *’ {aka ‘struct evp_md_ctx_st *’} but argument is of type ‘EVP_MD_CTX **’ {aka ‘struct evp_md_ctx_st **’} 726 | __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); | ~~~~~~~~~~~~^~~ ssh-rsa.c:60:26: error: passing argument 1 of ‘EVP_DigestUpdate’ from incompatible pointer type [-Wincompatible-pointer-types] 60 | EVP_DigestUpdate(&md, data, datalen); | ^~~ | | | EVP_MD_CTX ** {aka struct evp_md_ctx_st **} /usr/include/openssl/evp.h:714:41: note: expected ‘EVP_MD_CTX *’ {aka ‘struct evp_md_ctx_st *’} but argument is of type ‘EVP_MD_CTX **’ {aka ‘struct evp_md_ctx_st **’} 714 | __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, | ~~~~~~~~~~~~^~~ ssh-rsa.c:61:25: error: passing argument 1 of ‘EVP_DigestFinal’ from incompatible pointer type [-Wincompatible-pointer-types] 61 | EVP_DigestFinal(&md, digest, &dlen); | ^~~ | | | EVP_MD_CTX ** {aka struct evp_md_ctx_st **} /usr/include/openssl/evp.h:727:40: note: expected ‘EVP_MD_CTX *’ {aka ‘struct evp_md_ctx_st *’} but argument is of type ‘EVP_MD_CTX **’ {aka ‘struct evp_md_ctx_st **’} 727 | __owur int EVP_DigestFinal(EVP_MD_CTX *ctx, unsigned char *md, | ~~~~~~~~~~~~^~~ ssh-rsa.c:63:9: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | slen = RSA_size(key->rsa); | ^~~~ In file included from key.h:29, from ssh-rsa.c:31: /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ ssh-rsa.c:66:9: warning: ‘RSA_sign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 66 | ok = RSA_sign(nid, digest, dlen, sig, &len, key->rsa); | ^~ /usr/include/openssl/rsa.h:354:27: note: declared here 354 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ ssh-rsa.c: In function ‘ssh_rsa_verify’: ssh-rsa.c:125:9: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | if (BN_num_bits(RSA_get0_n(key->rsa)) < SSH_RSA_MINIMUM_MODULUS_SIZE) { | ^~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ ssh-rsa.c:131:21: warning: ‘RSA_get0_n’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 131 | BN_num_bits(RSA_get0_n(key->rsa)), SSH_RSA_MINIMUM_MODULUS_SIZE); | ^~~~~~~~~~~ /usr/include/openssl/rsa.h:238:37: note: declared here 238 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d); | ^~~~~~~~~~ ssh-rsa.c:154:9: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 154 | modlen = RSA_size(key->rsa); | ^~~~~~ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ ssh-rsa.c: In function ‘openssh_RSA_verify’: ssh-rsa.c:246:9: warning: ‘RSA_size’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 246 | rsasize = RSA_size(rsa); | ^~~~~~~ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ ssh-rsa.c:252:9: warning: ‘RSA_public_decrypt’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa, | ^~ /usr/include/openssl/rsa.h:294:5: note: declared here 294 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c getrrsetbyname.c make: *** [Makefile:95: ssh-rsa.o] Error 1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c glob.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c inet_aton.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c inet_ntoa.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c inet_ntop.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c mktemp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c port-aix.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c port-irix.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c port-linux.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c port-solaris.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c port-uw.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c realpath.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c rresvport.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c setenv.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c setproctitle.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c sha2.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c sigact.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c strlcat.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c strlcpy.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c strmode.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c strsep.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c strtoll.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c strtonum.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c strtoul.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c vis.c /usr/bin/x86_64-pc-linux-gnu-ar rv libopenbsd-compat.a bsd-arc4random.o bsd-asprintf.o bsd-closefrom.o bsd-cray.o bsd-cygwin_util.o bsd-getpeereid.o bsd-misc.o bsd-nextstep.o bsd-openpty.o bsd-poll.o bsd-snprintf.o bsd-waitpid.o openssl-compat.o xcrypt.o xmmap.o base64.o basename.o daemon.o dirname.o fake-rfc2553.o getcwd.o getgrouplist.o getopt.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o port-aix.o port-irix.o port-linux.o port-solaris.o port-uw.o realpath.o rresvport.o setenv.o setproctitle.o sha2.o sigact.o strlcat.o strlcpy.o strmode.o strsep.o strtoll.o strtonum.o strtoul.o vis.o port-aix.o port-irix.o port-linux.o port-solaris.o port-uw.o /usr/bin/x86_64-pc-linux-gnu-ar: creating libopenbsd-compat.a a - bsd-arc4random.o a - bsd-asprintf.o a - bsd-closefrom.o a - bsd-cray.o a - bsd-cygwin_util.o a - bsd-getpeereid.o a - bsd-misc.o a - bsd-nextstep.o a - bsd-openpty.o a - bsd-poll.o a - bsd-snprintf.o a - bsd-waitpid.o a - openssl-compat.o a - xcrypt.o a - xmmap.o a - base64.o a - basename.o a - daemon.o a - dirname.o a - fake-rfc2553.o a - getcwd.o a - getgrouplist.o a - getopt.o a - getrrsetbyname.o a - glob.o a - inet_aton.o a - inet_ntoa.o a - inet_ntop.o a - mktemp.o a - port-aix.o a - port-irix.o a - port-linux.o a - port-solaris.o a - port-uw.o a - realpath.o a - rresvport.o a - setenv.o a - setproctitle.o a - sha2.o a - sigact.o a - strlcat.o a - strlcpy.o a - strmode.o a - strsep.o a - strtoll.o a - strtonum.o a - strtoul.o a - vis.o a - port-aix.o a - port-irix.o a - port-linux.o a - port-solaris.o a - port-uw.o x86_64-pc-linux-gnu-ranlib libopenbsd-compat.a make[1]: Leaving directory '/var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4/openbsd-compat' * ERROR: sys-auth/pam_ssh_agent_auth-0.10.4-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-auth/pam_ssh_agent_auth-0.10.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-auth/pam_ssh_agent_auth-0.10.4-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-auth:pam_ssh_agent_auth-0.10.4-r1:20231218-151110.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4' * S: '/var/tmp/portage/sys-auth/pam_ssh_agent_auth-0.10.4-r1/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4'