=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for drill-1.7.1nb1
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include -c ./buffer.c -o buffer.lo
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include -c ./dane.c -o dane.lo
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include -c ./dname.c -o dname.lo
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include -c ./dnssec.c -o dnssec.lo
./dnssec.c: In function 'ldns_key_buf2dsa_raw':
./dnssec.c:376:2: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if(!Q || !P || !G || !Y || !(dsa = DSA_new())) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:37:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/work/net/drill/work/.buildlink/include/openssl/dsa.h:130:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void);
                            ^
./dnssec.c:391:2: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if (!DSA_set0_pqg(dsa, P, Q, G)) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:37:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/work/net/drill/work/.buildlink/include/openssl/dsa.h:208:27: note: declared here
 OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
                           ^
./dnssec.c:397:3: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   DSA_free(dsa);
   ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:37:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/work/net/drill/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
                            ^
./dnssec.c:401:2: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if (!DSA_set0_key(dsa, Y, NULL)) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:37:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/work/net/drill/work/.buildlink/include/openssl/dsa.h:211:27: note: declared here
 OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key,
                           ^
./dnssec.c:403:3: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   DSA_free(dsa);
   ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:37:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/work/net/drill/work/.buildlink/include/openssl/dsa.h:132:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r);
                            ^
./dnssec.c: In function 'ldns_key_buf2rsa_raw':
./dnssec.c:463:2: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  rsa = RSA_new();
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:36:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/work/net/drill/work/.buildlink/include/openssl/rsa.h:207:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);
                            ^
./dnssec.c:475:2: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if (!RSA_set0_key(rsa, modulus, exponent, NULL)) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:36:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/work/net/drill/work/.buildlink/include/openssl/rsa.h:213:27: note: declared here
 OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d);
                           ^
./dnssec.c:478:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   RSA_free(rsa);
   ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:36:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec.c:14:
/work/net/drill/work/.buildlink/include/openssl/rsa.h:299:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
                            ^
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include -c ./dnssec_sign.c -o dnssec_sign.lo
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include -c ./dnssec_verify.c -o dnssec_verify.lo
./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -I/usr/pkg/include -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/usr/pkg/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -I/usr/pkg/include -I/usr/pkg/include -c ./dnssec_zone.c -o dnssec_zone.lo
./dnssec_sign.c: In function 'ldns_sign_public_dsa':
./dnssec_sign.c:361:2: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  sig = DSA_do_sign(sha1_hash, SHA_DIGEST_LENGTH, key);
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:37:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/dsa.h:118:32: note: declared here
 OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen,
                                ^
./dnssec_sign.c: In function 'ldns_pkey_is_ecdsa':
./dnssec_sign.c:420:26: error: 'key' undeclared (first use in this function)
         if(EVP_PKEY_type(key->type) != EVP_PKEY_EC)
                          ^
./dnssec_sign.c:420:26: note: each undeclared identifier is reported only once for each function it appears in
./dnssec_sign.c:423:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
         ec = EVP_PKEY_get1_EC_KEY(pkey);
         ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:29:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/evp.h:1379:19: note: declared here
 struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
                   ^
./dnssec_sign.c:424:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
         g = EC_KEY_get0_group(ec);
         ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1037:39: note: declared here
 OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key);
                                       ^
./dnssec_sign.c:426:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
                 EC_KEY_free(ec);
                 ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
                            ^
./dnssec_sign.c:430:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
                 EC_KEY_free(ec);
                 ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
                            ^
./dnssec_sign.c:434:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
                 EC_KEY_free(ec);
                 ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
                            ^
./dnssec_sign.c:438:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
         EC_KEY_free(ec);
         ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
                            ^
./dnssec_sign.c: In function 'ldns_sign_public_evp':
./dnssec_sign.c:535:23: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
  if (EVP_PKEY_type(key->type) == EVP_PKEY_DSA) {
                       ^
./dnssec_sign.c: In function 'ldns_sign_public_rsasha1':
./dnssec_sign.c:591:2: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  result = RSA_sign(NID_sha1, sha1_hash, SHA_DIGEST_LENGTH,
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:36:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/rsa.h:354:27: note: declared here
 OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m,
                           ^
./dnssec_sign.c: In function 'ldns_sign_public_rsamd5':
./dnssec_sign.c:618:2: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  md5_hash = MD5((unsigned char*)ldns_buffer_begin(to_sign),
  ^
In file included from ./dnssec_sign.c:19:0:
/work/net/drill/work/.buildlink/include/openssl/md5.h:52:38: note: declared here
 OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n,
                                      ^
./dnssec_sign.c:625:2: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  RSA_sign(NID_md5, md5_hash, MD5_DIGEST_LENGTH,
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:36:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_sign.c:3:
/work/net/drill/work/.buildlink/include/openssl/rsa.h:354:27: note: declared here
 OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m,
                           ^
gmake: *** [Makefile:122: dnssec_sign.lo] Error 1
gmake: *** Waiting for unfinished jobs....
./dnssec_verify.c: In function 'ldns_ecdsa2pkey_raw':
./dnssec_verify.c:1944:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
                 ec = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
                 ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1001:31: note: declared here
 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
                               ^
./dnssec_verify.c:1947:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
                 ec = EC_KEY_new_by_curve_name(NID_secp384r1);
                 ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1001:31: note: declared here
 OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
                               ^
./dnssec_verify.c:1956:9: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
         if(!o2i_ECPublicKey(&ec, &pp, (int)keylen+1)) {
         ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1239:31: note: declared here
 OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key,
                               ^
./dnssec_verify.c:1957:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
                 EC_KEY_free(ec);
                 ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
                            ^
./dnssec_verify.c:1962:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
                 EC_KEY_free(ec);
                 ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
                            ^
./dnssec_verify.c:1965:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
         if (!EVP_PKEY_assign_EC_KEY(evp_key, ec)) {
         ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:29:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/evp.h:1333:5: note: declared here
 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
     ^
./dnssec_verify.c:1967:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   EC_KEY_free(ec);
   ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:33:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/ec.h:1006:28: note: declared here
 OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
                            ^
./dnssec_verify.c: In function 'ldns_verify_rrsig_dsa_raw':
./dnssec_verify.c:2673:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if (EVP_PKEY_assign_DSA(evp_key, ldns_key_buf2dsa_raw(key, keylen))) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:29:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/evp.h:1333:5: note: declared here
 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
     ^
./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha1_raw':
./dnssec_verify.c:2703:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:29:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/evp.h:1333:5: note: declared here
 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
     ^
./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha256_raw':
./dnssec_verify.c:2729:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:29:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/evp.h:1333:5: note: declared here
 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
     ^
./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha512_raw':
./dnssec_verify.c:2764:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:29:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/evp.h:1333:5: note: declared here
 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
     ^
./dnssec_verify.c: In function 'ldns_verify_rrsig_rsamd5_raw':
./dnssec_verify.c:2799:2: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) {
  ^
In file included from /work/net/drill/work/.buildlink/include/openssl/x509.h:29:0,
                 from /work/net/drill/work/.buildlink/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from ./dnssec_verify.c:3:
/work/net/drill/work/.buildlink/include/openssl/evp.h:1333:5: note: declared here
 int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
     ^
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/net/drill
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/net/drill