>>> hostapd: Building main/hostapd 2.10-r6 (using abuild 3.13.0-r2) started Sun, 21 Apr 2024 08:04:43 +0000 >>> hostapd: Checking sanity of /home/buildozer/aports/main/hostapd/APKBUILD... >>> hostapd: Analyzing dependencies... >>> hostapd: Installing for build: build-base openssl-dev>3 libnl3-dev linux-headers (1/6) Installing openssl-dev (3.3.0-r1) (2/6) Installing libnl3 (3.9.0-r1) (3/6) Installing libnl3-cli (3.9.0-r1) (4/6) Installing libnl3-dev (3.9.0-r1) (5/6) Installing linux-headers (6.6-r0) (6/6) Installing .makedepends-hostapd (20240421.080445) Executing busybox-1.36.1-r25.trigger OK: 484 MiB in 111 packages >>> hostapd: Cleaning up srcdir >>> hostapd: Cleaning up pkgdir >>> hostapd: Cleaning up tmpdir >>> hostapd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/hostapd-2.10.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.20/hostapd-2.10.tar.gz.part' hostapd-2.10.tar.gz. 1% | | 32520 0:01:14 ETA hostapd-2.10.tar.gz. 100% |********************************| 2383k 0:00:00 ETA '/var/cache/distfiles/v3.20/hostapd-2.10.tar.gz.part' saved >>> hostapd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/hostapd-2.10.tar.gz >>> hostapd: Checking sha512sums... hostapd-2.10.tar.gz: OK hostapd.initd: OK hostapd.confd: OK 0001-hostapd-Add-the-missing-CONFIG_SAE-option-to-the-def.patch: OK >>> hostapd: Unpacking /var/cache/distfiles/v3.20/hostapd-2.10.tar.gz... >>> hostapd: 0001-hostapd-Add-the-missing-CONFIG_SAE-option-to-the-def.patch patching file defconfig CC ../src/ap/utils.c CC ../src/ap/eap_user_db.c CC ../src/drivers/drivers.c CC ../src/ap/ap_mlme.c CC ../src/ap/authsrv.c CC ../src/utils/wpabuf.c CC ../src/utils/ip_addr.c CC ../src/ap/tkip_countermeasures.c CC ../src/utils/crc32.c CC ../src/ap/bss_load.c CC ../src/utils/os_unix.c CC ../src/utils/wpa_debug.c CC ../src/ap/neighbor_db.c CC ../src/ap/pmksa_cache_auth.c CC ../src/ap/preauth_auth.c CC ../src/ap/wpa_auth_ie.c CC ../src/ap/ieee802_11_auth.c CC main.c CC ../src/utils/eloop.c CC ../src/ap/wpa_auth_glue.c CC ../src/ap/ap_drv_ops.c CC ../src/ap/drv_callbacks.c CC ../src/ap/vlan_ifconfig.c CC ../src/eapol_auth/eapol_auth_dump.c CC ../src/ap/rrm.c CC ../src/ap/ieee802_11_shared.c CC ../src/ap/ap_config.c CC ../src/ap/vlan.c CC ../src/ap/vlan_ioctl.c CC ../src/utils/common.c CC ../src/common/ctrl_iface_common.c CC ../src/common/hw_features_common.c CC ../src/ap/sta_info.c CC ../src/radius/radius_das.c CC ../src/ap/beacon.c CC ../src/radius/radius_client.c CC ../src/ap/accounting.c CC ../src/ap/ieee802_1x.c CC ../src/ap/vlan_init.c CC ../src/drivers/driver_none.c CC ../src/utils/radiotap.c CC ../src/ap/eth_p_oui.c CC ../src/drivers/netlink.c CC ../src/drivers/driver_wired_common.c CC ../src/drivers/rfkill.c CC ../src/ap/vlan_full.c CC ../src/drivers/driver_wired.c CC ../src/ap/ieee802_11_he.c CC ../src/eapol_auth/eapol_auth_sm.c CC ../src/drivers/linux_ioctl.c CC ../src/common/ieee802_11_common.c CC ../src/ap/hostapd.c CC ../src/eap_server/eap_server_md5.c CC ../src/drivers/driver_nl80211_monitor.c CC ../src/eap_common/eap_peap_common.c CC ../src/radius/radius.c CC ../src/l2_packet/l2_packet_linux.c CC ../src/common/wpa_common.c CC ../src/eap_server/eap_server_tls.c CC config_file.c CC ../src/eap_server/eap_server_gtc.c CC ../src/drivers/driver_hostap.c CC eap_register.c CC ../src/ap/ctrl_iface_ap.c CC ../src/eap_server/eap_server_mschapv2.c CC ../src/drivers/driver_nl80211_scan.c CC ../src/eap_common/eap_common.c CC ../src/eap_server/eap_server_methods.c CC ../src/eap_server/eap_server_identity.c CC ../src/common/dragonfly.c CC ../src/eap_common/chap.c CC ../src/eap_server/eap_server_peap.c CC ../src/eap_server/eap_server_ttls.c CC ../src/common/sae.c CC ../src/common/dpp_reconfig.c CC ../src/crypto/ms_funcs.c CC ../src/common/dpp_backup.c CC ../src/drivers/driver_nl80211_capa.c CC ../src/crypto/aes-ctr.c CC ../src/crypto/aes-siv.c CC ../src/common/dpp_pkex.c CC ../src/crypto/sha1-prf.c CC ../src/ap/gas_query_ap.c CC ../src/crypto/aes-omac1.c CC ../src/crypto/sha1-tlsprf.c CC ../src/eap_server/eap_server_tls_common.c CC ../src/drivers/driver_nl80211_event.c CC ../src/crypto/sha256-tlsprf.c CC ../src/common/dpp_auth.c CC ../src/crypto/sha256-prf.c CC ../src/ap/wpa_auth.c CC ../src/crypto/sha256-kdf.c CC ../src/crypto/sha384-kdf.c CC ../src/crypto/sha512-kdf.c CC ../src/crypto/sha384-prf.c CC ../src/crypto/sha512-prf.c CC ../src/crypto/dh_groups.c CC ctrl_iface.c CC ../src/common/dpp_tcp.c CC ../src/utils/base64.c CC ../src/crypto/random.c CC ../src/eap_server/eap_server.c CC ../src/common/dpp_crypto.c CC ../src/tls/asn1.c CC ../src/common/gas.c CC ../src/utils/edit_simple.c CC ../src/common/wpa_ctrl.c CC ../src/utils/json.c CC nt_password_hash.c ../src/crypto/crypto_openssl.c: In function 'aes_wrap': ../src/crypto/crypto_openssl.c:511:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | if (AES_set_encrypt_key(kek, kek_len << 3, &actx)) | ^~ In file included from ../src/crypto/crypto_openssl.c:13: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:513:9: warning: 'AES_wrap_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 513 | res = AES_wrap_key(&actx, NULL, cipher, plain, n * 8); | ^~~ /usr/include/openssl/aes.h:97:5: note: declared here 97 | int AES_wrap_key(AES_KEY *key, const unsigned char *iv, | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'aes_unwrap': ../src/crypto/crypto_openssl.c:527:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 527 | if (AES_set_decrypt_key(kek, kek_len << 3, &actx)) | ^~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:529:9: warning: 'AES_unwrap_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 529 | res = AES_unwrap_key(&actx, NULL, plain, cipher, (n + 1) * 8); | ^~~ /usr/include/openssl/aes.h:101:5: note: declared here 101 | int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, | ^~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_init': ../src/crypto/crypto_openssl.c:884:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 884 | dh = DH_new(); | ^~ In file included from ../src/crypto/crypto_openssl.c:16: /usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/crypto/crypto_openssl.c:892:13: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 892 | DH_set0_pqg(dh, p, q, g) != 1) | ^~~~~~~~~~~ /usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:898:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 898 | if (DH_generate_key(dh) != 1) | ^~ /usr/include/openssl/dh.h:234:27: note: declared here 234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:901:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 901 | DH_get0_key(dh, &pub_key, &priv_key); | ^~~~~~~~~~~ /usr/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:924:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 924 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_init_fixed': ../src/crypto/crypto_openssl.c:969:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 969 | dh = DH_new(); | ^~ /usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ../src/crypto/crypto_openssl.c:976:13: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 976 | DH_set0_pqg(dh, p, NULL, g) != 1) | ^~~~~~~~~~~ /usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:983:9: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 983 | if (!priv_key || !pub_key || DH_set0_key(dh, pub_key, priv_key) != 1) | ^~ /usr/include/openssl/dh.h:269:27: note: declared here 269 | OSSL_DEPRECATEDIN_3_0 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:988:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 988 | if (DH_generate_key(dh) != 1) | ^~ /usr/include/openssl/dh.h:234:27: note: declared here 234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:998:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 998 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_derive_shared': ../src/crypto/crypto_openssl.c:1021:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1021 | rlen = DH_size(dh); | ^~~~ /usr/include/openssl/dh.h:214:27: note: declared here 214 | OSSL_DEPRECATEDIN_3_0 int DH_size(const DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c:1026:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1026 | keylen = DH_compute_key(wpabuf_mhead(res), pub_key, dh); | ^~~~~~ /usr/include/openssl/dh.h:235:27: note: declared here 235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_free': ../src/crypto/crypto_openssl.c:1047:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1047 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_hash_init': ../src/crypto/crypto_openssl.c:1087:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1087 | ctx->ctx = HMAC_CTX_new(); | ^~~ In file included from ../src/crypto/crypto_openssl.c:17: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1093:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1093 | if (HMAC_Init_ex(ctx->ctx, key, key_len, md, NULL) != 1) { | ^~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1094:17: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1094 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_hash_update': CC ../src/ap/ap_list.c ../src/crypto/crypto_openssl.c:1107:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1107 | HMAC_Update(ctx->ctx, data, len); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_hash_finish': ../src/crypto/crypto_openssl.c:1120:17: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1120 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1126:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1126 | res = HMAC_Final(ctx->ctx, mac, &mdlen); | ^~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ ../src/crypto/crypto_openssl.c:1127:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1127 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ CC ../src/common/cli.c ../src/crypto/crypto_openssl.c: In function 'openssl_hmac_vector': ../src/crypto/crypto_openssl.c:1154:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1154 | ctx = HMAC_CTX_new(); | ^~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1157:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1157 | res = HMAC_Init_ex(ctx, key, key_len, type, NULL); | ^~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1162:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1162 | HMAC_Update(ctx, addr[i], len[i]); | ^~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1164:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1164 | res = HMAC_Final(ctx, mac, &mdlen); | ^~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ ../src/crypto/crypto_openssl.c:1166:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1166 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ CC ../src/drivers/driver_common.c ../src/crypto/crypto_openssl.c: In function 'crypto_ec_init': ../src/crypto/crypto_openssl.c:1755:13: warning: 'EC_GROUP_get_curve_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1755 | !EC_GROUP_get_curve_GFp(e->group, e->prime, e->a, e->b, e->bnctx) || | ^ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:357:27: note: declared here 357 | OSSL_DEPRECATEDIN_3_0 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, | ^~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_point_x': ../src/crypto/crypto_openssl.c:1850:9: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1850 | return EC_POINT_get_affine_coordinates_GFp(e->group, | ^~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC ../src/crypto/tls_openssl_ocsp.c ../src/crypto/crypto_openssl.c: In function 'crypto_ec_point_to_bin': ../src/crypto/crypto_openssl.c:1871:13: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1871 | EC_POINT_get_affine_coordinates_GFp(e->group, (EC_POINT *) point, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_point_from_bin': ../src/crypto/crypto_openssl.c:1910:9: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1910 | if (!EC_POINT_set_affine_coordinates_GFp(e->group, elem, x, y, | ^~ /usr/include/openssl/ec.h:665:27: note: declared here 665 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_point_debug_print': CC ../src/ap/ieee802_11_vht.c ../src/crypto/crypto_openssl.c:2012:13: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2012 | EC_POINT_get_affine_coordinates_GFp(e->group, (const EC_POINT *) p, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ecdh_init': ../src/crypto/crypto_openssl.c:2051:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2051 | ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); | ^~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2057:9: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2057 | EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2059:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2059 | if (!params || EVP_PKEY_set1_EC_KEY(params, ec_params) != 1) { | ^~ In file included from ../src/crypto/crypto_openssl.c:15: /usr/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2083:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2083 | EC_KEY_free(ec_params); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ecdh_init2': ../src/crypto/crypto_openssl.c:2109:13: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2109 | EVP_PKEY_assign_EC_KEY(ecdh->pkey, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1338:5: note: declared here 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2109:13: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2109 | EVP_PKEY_assign_EC_KEY(ecdh->pkey, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ecdh_get_pubkey': ../src/crypto/crypto_openssl.c:2130:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2130 | eckey = EVP_PKEY_get1_EC_KEY(ecdh->pkey); | ^~~~~ /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2134:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2134 | pubkey = EC_KEY_get0_public_key(eckey); | ^~~~~~ /usr/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); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2148:9: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2148 | if (EC_POINT_get_affine_coordinates_GFp(ecdh->ec->group, pubkey, | ^~ /usr/include/openssl/ec.h:678:27: note: declared here 678 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2171:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2171 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ecdh_set_peerkey': ../src/crypto/crypto_openssl.c:2201:17: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2201 | if (!EC_POINT_set_affine_coordinates_GFp(ecdh->ec->group, pub, | ^~ /usr/include/openssl/ec.h:665:27: note: declared here 665 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2209:9: warning: 'EC_POINT_set_compressed_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2209 | } else if (!EC_POINT_set_compressed_coordinates_GFp(ecdh->ec->group, | ^ /usr/include/openssl/ec.h:705:27: note: declared here 705 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_compressed_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2224:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2224 | eckey = EC_KEY_new_by_curve_name(ecdh->ec->nid); | ^~~~~ CC ../src/ap/wmm.c /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2225:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2225 | if (!eckey || EC_KEY_set_public_key(eckey, pub) != 1) { | ^~ /usr/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); | ^~~~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c: In function 'tls_connection_private_key': ../src/crypto/crypto_openssl.c:2233:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2233 | if (!peerkey || EVP_PKEY_set1_EC_KEY(peerkey, eckey) != 1) | ^~ /usr/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ CC ../src/ap/ieee802_11_ht.c ../src/crypto/crypto_openssl.c:2264:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2264 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_parse_priv': ../src/crypto/tls_openssl.c:3827:17: warning: 'SSL_use_RSAPrivateKey_ASN1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3827 | if (SSL_use_RSAPrivateKey_ASN1(conn->ssl, | ^~ ../src/crypto/crypto_openssl.c:2297:9: warning: 'd2i_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2297 | eckey = d2i_ECPrivateKey(NULL, &der, der_len); | ^~~~~ /usr/include/openssl/ec.h:1206:31: note: declared here 1206 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key, | ^~~~~~~~~~~~~~~~ In file included from ../src/crypto/tls_openssl.c:19: /usr/include/openssl/ssl.h:1694:12: note: declared here 1694 | __owur int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2303:9: warning: 'EC_KEY_set_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2303 | EC_KEY_set_conv_form(eckey, POINT_CONVERSION_COMPRESSED); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1094:28: note: declared here 1094 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2306:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2306 | if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, eckey) != 1) { | ^~ /usr/include/openssl/evp.h:1338:5: note: declared here 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c: In function 'tls_connection_dh': ../src/crypto/tls_openssl.c:3966:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3966 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ssl.h:37: /usr/include/openssl/pem.h:473:1: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2307:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2307 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/tls_openssl.c:3977:17: warning: 'PEM_read_bio_DSAparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3977 | dsa = PEM_read_bio_DSAparams(bio, NULL, NULL, NULL); | ^~~ /usr/include/openssl/pem.h:459:1: note: declared here 459 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSAparams, DSA) | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_parse_pub': ../src/crypto/tls_openssl.c:3987:17: warning: 'DSA_dup_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3987 | dh = DSA_dup_DH(dsa); | ^~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DSA_dup_DH(const DSA *r); | ^~~~~~~~~~ ../src/crypto/tls_openssl.c:3988:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3988 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ../src/crypto/crypto_openssl.c:2330:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2330 | if (!EVP_PKEY_get0_EC_KEY(pkey)) | ^~ /usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c:4007:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4007 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:31: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/tls_openssl.c:4010:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4010 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_set_pub': ../src/crypto/tls_openssl.c: In function 'tls_global_dh': ../src/crypto/tls_openssl.c:4041:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4041 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ /usr/include/openssl/pem.h:473:1: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2373:9: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2373 | if (!EC_POINT_set_affine_coordinates_GFp(ec_group, point, x, y, ctx)) { | ^~ /usr/include/openssl/ec.h:665:27: note: declared here 665 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c:4052:17: warning: 'PEM_read_bio_DSAparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4052 | dsa = PEM_read_bio_DSAparams(bio, NULL, NULL, NULL); | ^~~ /usr/include/openssl/pem.h:459:1: note: declared here 459 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSAparams, DSA) | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c:4062:17: warning: 'DSA_dup_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4062 | dh = DSA_dup_DH(dsa); | ^~ /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DSA_dup_DH(const DSA *r); | ^~~~~~~~~~ ../src/crypto/tls_openssl.c:4063:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4063 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:132:28: note: declared here 132 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ../src/crypto/crypto_openssl.c:2386:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2386 | eckey = EC_KEY_new(); | ^~~~~ /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ CC ../src/ap/dfs.c ../src/crypto/tls_openssl.c:4082:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4082 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/tls_openssl.c:4085:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4085 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../src/crypto/crypto_openssl.c:2388:13: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2388 | EC_KEY_set_group(eckey, ec_group) != 1 || | ^~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2389:13: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2389 | EC_KEY_set_public_key(eckey, point) != 1) { | ^~~~~~~~~~~~~~~~~~~~~ /usr/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); | ^~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2395:9: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2395 | EC_KEY_set_asn1_flag(eckey, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2398:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2398 | if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, eckey) != 1) { | ^~ /usr/include/openssl/evp.h:1338:5: note: declared here 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2412:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2412 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_set_pub_point': ../src/crypto/crypto_openssl.c:2426:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2426 | eckey = EC_KEY_new(); | ^~~~~ /usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ ../src/crypto/crypto_openssl.c:2428:13: warning: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2428 | EC_KEY_set_group(eckey, ec->group) != 1 || | ^~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1061:27: note: declared here 1061 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2429:13: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2429 | EC_KEY_set_public_key(eckey, (const EC_POINT *) pub) != 1) { | ^~~~~~~~~~~~~~~~~~~~~ /usr/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); | ^~~~~~~~~~~~~~~~~~~~~ CC ../src/ap/hw_features.c ../src/crypto/crypto_openssl.c:2435:9: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2435 | EC_KEY_set_asn1_flag(eckey, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2438:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2438 | if (!pkey || EVP_PKEY_assign_EC_KEY(pkey, eckey) != 1) { | ^~ /usr/include/openssl/evp.h:1338:5: note: declared here 1338 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2448:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2448 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_gen': CC ../src/ap/wpa_auth_ft.c ../src/crypto/crypto_openssl.c:2467:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2467 | ec_params = EC_KEY_new_by_curve_name(nid); | ^~~~~~~~~ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2473:9: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2473 | EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1106:28: note: declared here 1106 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2475:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2475 | if (!params || EVP_PKEY_set1_EC_KEY(params, ec_params) != 1) { | ^~ /usr/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2490:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2490 | eckey = EVP_PKEY_get1_EC_KEY(key); | ^~~~~ CC ../src/ap/dpp_hostapd.c /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2495:9: warning: 'EC_KEY_set_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2495 | EC_KEY_set_conv_form(eckey, POINT_CONVERSION_COMPRESSED); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1094:28: note: declared here 1094 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2496:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2496 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2499:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2499 | EC_KEY_free(ec_params); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_get_subject_public_key': ../src/crypto/crypto_openssl.c:2611:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2611 | eckey = EVP_PKEY_get1_EC_KEY((EVP_PKEY *) key); | ^~~~~ /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2616:9: warning: 'EC_KEY_set_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2616 | EC_KEY_set_conv_form(eckey, POINT_CONVERSION_COMPRESSED); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1094:28: note: declared here 1094 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2622:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2622 | if (EVP_PKEY_set1_EC_KEY(tmp, eckey) != 1) { | ^~ /usr/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2630:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2630 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_get_ecprivate_key': ../src/crypto/crypto_openssl.c:2656:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2656 | eckey = EVP_PKEY_get1_EC_KEY((EVP_PKEY *) key); | ^~~~~ /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2660:9: warning: 'EC_KEY_get_enc_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2660 | key_flags = EC_KEY_get_enc_flags(eckey); | ^~~~~~~~~ /usr/include/openssl/ec.h:1091:32: note: declared here 1091 | OSSL_DEPRECATEDIN_3_0 unsigned EC_KEY_get_enc_flags(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2665:9: warning: 'EC_KEY_set_enc_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2665 | EC_KEY_set_enc_flags(eckey, key_flags); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1092:28: note: declared here 1092 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_enc_flags(EC_KEY *eckey, unsigned int flags); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2667:9: warning: 'EC_KEY_set_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2667 | EC_KEY_set_conv_form(eckey, POINT_CONVERSION_UNCOMPRESSED); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1094:28: note: declared here 1094 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2669:9: warning: 'i2d_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2669 | der_len = i2d_ECPrivateKey(eckey, &der); | ^~~~~~~ /usr/include/openssl/ec.h:1216:27: note: declared here 1216 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey(const EC_KEY *key, | ^~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2670:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2670 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_get_pubkey_point': ../src/crypto/crypto_openssl.c:2688:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2688 | eckey = EVP_PKEY_get1_EC_KEY((EVP_PKEY *) key); | ^~~~~ /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2691:9: warning: 'EC_KEY_set_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2691 | EC_KEY_set_conv_form(eckey, POINT_CONVERSION_UNCOMPRESSED); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1094:28: note: declared here 1094 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2692:9: warning: 'i2o_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2692 | len = i2o_ECPublicKey(eckey, NULL); | ^~~ /usr/include/openssl/ec.h:1264:27: note: declared here 1264 | OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2696:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2696 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2702:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2702 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2707:9: warning: 'i2o_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2707 | res = i2o_ECPublicKey(eckey, &pos); | ^~~ /usr/include/openssl/ec.h:1264:27: note: declared here 1264 | OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out); | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2708:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2708 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_get_public_key': ../src/crypto/crypto_openssl.c:2733:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2733 | eckey = EVP_PKEY_get0_EC_KEY((EVP_PKEY *) key); | ^~~~~ /usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2736:30: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2736 | return (const struct crypto_ec_point *) EC_KEY_get0_public_key(eckey); | ^~~~~~~~~~~~~~~ /usr/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); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_get_private_key': ../src/crypto/crypto_openssl.c:2745:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2745 | eckey = EVP_PKEY_get0_EC_KEY((EVP_PKEY *) key); | ^~~~~ /usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2748:30: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2748 | return (const struct crypto_bignum *) EC_KEY_get0_private_key(eckey); | ^~~~~~~~~~~~~ /usr/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); | ^~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_sign_r_s': ../src/crypto/crypto_openssl.c:2798:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2798 | eckey = EVP_PKEY_get0_EC_KEY((EVP_PKEY *) key); | ^~~~~ /usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2801:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2801 | group = EC_KEY_get0_group(eckey); | ^~~~~ /usr/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); | ^~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2804:13: warning: 'EC_GROUP_get_curve_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2804 | !EC_GROUP_get_curve_GFp(group, prime, NULL, NULL, NULL)) | ^ /usr/include/openssl/ec.h:357:27: note: declared here 357 | OSSL_DEPRECATEDIN_3_0 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, | ^~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_group': ../src/crypto/crypto_openssl.c:2900:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2900 | eckey = EVP_PKEY_get0_EC_KEY((EVP_PKEY *) key); | ^~~~~ /usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2903:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2903 | group = EC_KEY_get0_group(eckey); | ^~~~~ /usr/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); | ^~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_cmp': CC ../src/radius/radius_server.c ../src/crypto/crypto_openssl.c:2935:9: warning: 'EVP_PKEY_cmp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2935 | if (EVP_PKEY_cmp((EVP_PKEY *) key1, (EVP_PKEY *) key2) != 1) | ^~ /usr/include/openssl/evp.h:1428:5: note: declared here 1428 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); | ^~~~~~~~~~~~ CC ../src/ap/acs.c CC ../src/common/dpp.c CC ../src/ap/gas_serv.c CC hostapd_cli.c CC ../src/crypto/crypto_openssl.c CC ../src/crypto/tls_openssl.c CC ../src/ap/ieee802_11.c LD nt_password_hash CC ../src/drivers/driver_nl80211.c LD hostapd_cli LD hostapd >>> hostapd: Entering fakeroot... >>> hostapd-doc*: Running split function doc... >>> hostapd-doc*: Preparing subpackage hostapd-doc... >>> hostapd-doc*: Running postcheck for hostapd-doc >>> hostapd-openrc*: Running split function openrc... >>> hostapd-openrc*: Preparing subpackage hostapd-openrc... >>> hostapd-openrc*: Running postcheck for hostapd-openrc >>> hostapd*: Running postcheck for hostapd >>> hostapd*: Preparing package hostapd... >>> hostapd*: Stripping binaries >>> hostapd-doc*: Scanning shared objects >>> hostapd-openrc*: Scanning shared objects >>> hostapd*: Scanning shared objects >>> hostapd-doc*: Tracing dependencies... >>> hostapd-doc*: Package size: 32.0 KB >>> hostapd-doc*: Compressing data... >>> hostapd-doc*: Create checksum... >>> hostapd-doc*: Create hostapd-doc-2.10-r6.apk >>> hostapd-openrc*: Tracing dependencies... >>> hostapd-openrc*: Package size: 24.0 KB >>> hostapd-openrc*: Compressing data... >>> hostapd-openrc*: Create checksum... >>> hostapd-openrc*: Create hostapd-openrc-2.10-r6.apk >>> hostapd*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libcrypto.so.3 so:libnl-3.so.200 so:libnl-genl-3.so.200 so:libssl.so.3 >>> hostapd*: Package size: 1.3 MB >>> hostapd*: Compressing data... >>> hostapd*: Create checksum... >>> hostapd*: Create hostapd-2.10-r6.apk >>> hostapd: Build complete at Sun, 21 Apr 2024 08:04:52 +0000 elapsed time 0h 0m 9s >>> hostapd: Cleaning up srcdir >>> hostapd: Cleaning up pkgdir >>> hostapd: Uninstalling dependencies... (1/6) Purging .makedepends-hostapd (20240421.080445) (2/6) Purging openssl-dev (3.3.0-r1) (3/6) Purging libnl3-dev (3.9.0-r1) (4/6) Purging libnl3-cli (3.9.0-r1) (5/6) Purging libnl3 (3.9.0-r1) (6/6) Purging linux-headers (6.6-r0) Executing busybox-1.36.1-r25.trigger OK: 471 MiB in 105 packages >>> hostapd: Updating the main/x86_64 repository index... >>> hostapd: Signing the index...