+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam_ssh_agent_auth-0.10.4nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pam_ssh_agent_auth-0.10.4nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for pam_ssh_agent_auth-0.10.4nb1
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 && /opt/pkg/bin/bmake)
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-arc4random.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-asprintf.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-closefrom.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-cray.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-cygwin_util.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-getpeereid.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-misc.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-nextstep.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-openpty.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-poll.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-snprintf.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c bsd-waitpid.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c openssl-compat.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c xcrypt.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c xmmap.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c base64.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c basename.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c daemon.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c dirname.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c fake-rfc2553.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c getcwd.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c getgrouplist.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c getopt.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c getrrsetbyname.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c glob.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c inet_aton.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c inet_ntoa.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c inet_ntop.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c mktemp.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c port-aix.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c port-irix.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c port-linux.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c port-solaris.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c port-uw.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c realpath.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c rresvport.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c setenv.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c setproctitle.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c sha2.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c sigact.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c strlcat.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c strlcpy.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c strmode.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c strsep.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c strtoll.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c strtonum.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c strtoul.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I.. -I. -I./.. -I/opt/pkg/include -I/usr/include -DHAVE_CONFIG_H -c vis.c
/usr/bin/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
ar: creating libopenbsd-compat.a
ar: writing 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
ranlib libopenbsd-compat.a
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c xmalloc.c -o xmalloc.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c atomicio.c -o atomicio.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c authfd.c -o authfd.o
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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |                 ^~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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);
      |                             ^~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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)));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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)));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:245:37: note: declared here
  245 | 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 */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:250:37: note: declared here
  250 | 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 */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:247:37: note: declared here
  247 | 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 */
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:246:37: note: declared here
  246 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:245:37: note: declared here
  245 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:250:37: note: declared here
  250 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:246:37: note: declared here
  246 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:247:37: note: declared here
  247 | 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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *RSA_get0_n(const RSA *d);
      |                                     ^~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c bufaux.c -o bufaux.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c bufbn.c -o bufbn.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c buffer.c -o buffer.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c cleanup.c -o cleanup.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c entropy.c -o entropy.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c fatal.c -o fatal.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c key.c -o key.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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here
  212 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:218:27: note: declared here
  218 | 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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:218:27: note: declared here
  218 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:220:27: note: declared here
  220 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:219:27: note: declared here
  219 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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);
      |                         ^~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | 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);
      |                         ^~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here
 1022 | 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 &&
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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 &&
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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;
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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;
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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 &&
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 &&
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 &&
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 &&
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 &&
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 &&
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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;
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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;
      |                     ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 &&
      |                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1126:27: note: declared here
 1126 | 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 &&
      |                         ^~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1126:27: note: declared here
 1126 | 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),
      |                         ^~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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 &&
      |                                 ^~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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),
      |                         ^~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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),
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1081:39: note: declared here
 1081 | 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 &&
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1081:39: note: declared here
 1081 | 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),
      |                         ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1067:37: note: declared here
 1067 | 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;
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1067:37: note: declared here
 1067 | 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));
      |                 ^~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |                 ^~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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);
      |                 ^~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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);
      |                 ^~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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)))
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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)))
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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);
      |                                 ^~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:304:28: note: declared here
  304 | 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);
      |                                 ^~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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);
      |                                 ^~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1022:28: note: declared here
 1022 | 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));
      |                 ^~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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)) &&
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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))) {
      |                     ^~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |                 ^~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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));
      |                 ^~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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));
      |                 ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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));
      |                 ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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);
      |         ^~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:264:30: note: declared here
  264 | 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);
      |         ^~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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))
      |         ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) ||
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) ||
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) ||
      |                     ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) ||
      |                     ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) ||
      |                              ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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: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) ||
      |                     ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) ||
      |                     ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) ||
      |                              ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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))
      |                     ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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))
      |                     ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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))
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) ||
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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) ||
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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) ||
      |                              ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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))
      |                     ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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))
      |                     ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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))
      |                              ^~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1029:31: note: declared here
 1029 | 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 ||
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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 ||
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 ||
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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) {
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1017:31: note: declared here
 1017 | 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) {
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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) {
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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);
      |                 ^~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1089:27: note: declared here
 1089 | 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)) {
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1126:27: note: declared here
 1126 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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),
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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),
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1081:39: note: declared here
 1081 | 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),
      |                         ^
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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),
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1081:39: note: declared here
 1081 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here
  212 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:218:27: note: declared here
  218 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:244:37: note: declared here
  244 | 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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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)
      |                 ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/dsa.h:216:37: note: declared here
  216 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *DSA_get0_pub_key(const DSA *d);
      |                                     ^~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c log.c -o log.o
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);
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
log.c:371:17: note: 'snprintf' output between 55 and 1078 bytes into a destination of size 1024
  371 |                 snprintf(msgbuf, sizeof msgbuf, "%s\r\nThis incident has been reported to the authorities\r\n", fmtbuf);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
      |                                                    ^~~~
log.c:378:17: note: 'snprintf' output between 3 and 1026 bytes into a destination of size 1024
  378 |                 snprintf(msgbuf, sizeof msgbuf, "%s\r\n", fmtbuf);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c misc.c -o misc.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c secure_filename.c -o secure_filename.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c ssh-dss.c -o ssh-dss.o
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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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);
      |         ^~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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;
      |                           ^
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c ssh-ecdsa.c -o ssh-ecdsa.o
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 /home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ecdsa.h:10,
                 from ssh-ecdsa.c:6:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1053:39: note: declared here
 1053 | 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);
      |     ^~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1384:34: note: declared here
 1384 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,
      |                                  ^~~~~~~~~~~~~
ssh-ecdsa.c:76:18: warning: 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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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: warning: 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 **}
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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: warning: 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 **}
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/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 | void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
      |                                                          ~~~~~~~~~~~~~~~^~
ssh-ecdsa.c: In function 'ssh_ecdsa_verify':
ssh-ecdsa.c:172:5: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  172 |     ret = ECDSA_do_verify(digest, dlen, sig, key->ecdsa);
      |     ^~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/ec.h:1410:27: note: declared here
 1410 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
      |                           ^~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c ssh-ed25519.c -o ssh-ed25519.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c ssh-rsa.c -o ssh-rsa.o
ssh-rsa.c: In function 'ssh_rsa_sign':
ssh-rsa.c:59:24: warning: 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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/evp.h:729: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 **'}
  729 | __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type);
      |                           ~~~~~~~~~~~~^~~
ssh-rsa.c:60:26: warning: 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 **}
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/evp.h:717: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 **'}
  717 | __owur int EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d,
      |                             ~~~~~~~~~~~~^~~
ssh-rsa.c:61:25: warning: 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 **}
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/evp.h:730: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 **'}
  730 | __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:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here
  215 | 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);
      |         ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:359:27: note: declared here
  359 | 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) {
      |         ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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);
      |                     ^~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:243:37: note: declared here
  243 | 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);
      |         ^~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here
  215 | 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);
      |         ^~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:215:27: note: declared here
  215 | 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,
      |         ^~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/rsa.h:299:5: note: declared here
  299 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to,
      |     ^~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c uuencode.c -o uuencode.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c compat.c -o compat.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c uidswap.c -o uidswap.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c ed25519-donna/ed25519.c -o ed25519-donna/ed25519.o
In file included from ed25519-donna/ed25519.c:20:
ed25519-donna/ed25519-hash.h: In function 'ed25519_hash_init':
ed25519-donna/ed25519-hash.h:200:9: warning: 'SHA512_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  200 |         SHA512_Init(ctx);
      |         ^~~~~~~~~~~
In file included from ed25519-donna/ed25519-hash.h:194:
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/sha.h:124:27: note: declared here
  124 | OSSL_DEPRECATEDIN_3_0 int SHA512_Init(SHA512_CTX *c);
      |                           ^~~~~~~~~~~
ed25519-donna/ed25519-hash.h: In function 'ed25519_hash_update':
ed25519-donna/ed25519-hash.h:205:9: warning: 'SHA512_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  205 |         SHA512_Update(ctx, in, inlen);
      |         ^~~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/sha.h:125:27: note: declared here
  125 | OSSL_DEPRECATEDIN_3_0 int SHA512_Update(SHA512_CTX *c,
      |                           ^~~~~~~~~~~~~
ed25519-donna/ed25519-hash.h: In function 'ed25519_hash_final':
ed25519-donna/ed25519-hash.h:210:9: warning: 'SHA512_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  210 |         SHA512_Final(hash, ctx);
      |         ^~~~~~~~~~~~
/home/pbulk/build/security/pam_ssh_agent_auth/work/.buildlink/include/openssl/sha.h:127:27: note: declared here
  127 | OSSL_DEPRECATEDIN_3_0 int SHA512_Final(unsigned char *md, SHA512_CTX *c);
      |                           ^~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c pam_user_key_allowed2.c -o pam_user_key_allowed2.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c iterate_ssh_agent_keys.c -o iterate_ssh_agent_keys.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c userauth_pubkey_from_id.c -o userauth_pubkey_from_id.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c pam_user_authorized_keys.c -o pam_user_authorized_keys.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c get_command_line.c -o get_command_line.o
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -fPIC -Wall -Wpointer-arith -Wuninitialized -fstack-protector-all -I. -I. -I/opt/pkg/include -I/usr/include  -DHAVE_CONFIG_H -c userauth_pubkey_from_pam.c -o userauth_pubkey_from_pam.o
In file included from userauth_pubkey_from_pam.c:35:
defines.h:188:9: error: unknown type name 'uint8_t'
  188 | typedef uint8_t u_int8_t;
      |         ^~~~~~~
defines.h:189:9: error: unknown type name 'uint16_t'
  189 | typedef uint16_t u_int16_t;
      |         ^~~~~~~~
defines.h:190:9: error: unknown type name 'uint32_t'
  190 | typedef uint32_t u_int32_t;
      |         ^~~~~~~~
*** [userauth_pubkey_from_pam.o] Error code 1

bmake: stopped in /home/pbulk/build/security/pam_ssh_agent_auth/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4
1 error

bmake: stopped in /home/pbulk/build/security/pam_ssh_agent_auth/work/pam_ssh_agent_auth-pam_ssh_agent_auth-0.10.4
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/pam_ssh_agent_auth
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/pam_ssh_agent_auth