>>> hostapd: Building main/hostapd 2.10-r4 (using abuild 3.10.0_rc1-r2) started Tue, 25 Oct 2022 19:18:18 +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.0.5-r3) (2/6) Installing libnl3 (3.7.0-r0) (3/6) Installing libnl3-cli (3.7.0-r0) (4/6) Installing libnl3-dev (3.7.0-r0) (5/6) Installing linux-headers (5.19.5-r0) (6/6) Installing .makedepends-hostapd (20221025.191819) Executing busybox-1.35.0-r27.trigger OK: 279 MiB in 98 packages >>> hostapd: Cleaning up srcdir >>> hostapd: Cleaning up pkgdir >>> hostapd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/hostapd-2.10.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> hostapd: Fetching https://w1.fi/releases/hostapd-2.10.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2383k 100 2383k 0 0 11.1M 0 --:--:-- --:--:-- --:--:-- 11.1M >>> hostapd: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/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.17/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/ap_mlme.c CC ../src/ap/eap_user_db.c CC ../src/ap/ieee802_11_auth.c CC main.c CC ../src/drivers/drivers.c CC ../src/ap/bss_load.c CC ../src/ap/authsrv.c CC ../src/ap/tkip_countermeasures.c CC ../src/ap/preauth_auth.c CC ../src/utils/ip_addr.c CC ../src/utils/crc32.c CC ../src/ap/wpa_auth_glue.c CC ../src/ap/pmksa_cache_auth.c CC ../src/ap/neighbor_db.c CC ../src/utils/wpabuf.c CC ../src/ap/ieee802_11_shared.c CC ../src/ap/wpa_auth_ie.c CC ../src/utils/eloop.c CC ../src/ap/rrm.c CC ../src/ap/ap_config.c CC ../src/ap/ap_drv_ops.c CC ../src/utils/wpa_debug.c CC ../src/utils/os_unix.c CC ../src/ap/ieee802_1x.c CC ../src/ap/sta_info.c CC ../src/ap/drv_callbacks.c CC ../src/radius/radius_das.c CC ../src/ap/vlan_ifconfig.c CC ../src/common/hw_features_common.c CC ../src/eapol_auth/eapol_auth_dump.c CC ../src/ap/vlan.c CC ../src/ap/vlan_ioctl.c CC ../src/ap/hostapd.c CC ../src/utils/common.c CC ../src/common/ctrl_iface_common.c CC ../src/ap/beacon.c CC ../src/eapol_auth/eapol_auth_sm.c CC ../src/ap/vlan_init.c CC config_file.c CC ../src/radius/radius_client.c CC ../src/ap/accounting.c CC ../src/ap/eth_p_oui.c CC ../src/drivers/driver_wired.c CC ../src/ap/ieee802_11_he.c CC ../src/common/ieee802_11_common.c CC ../src/ap/vlan_full.c CC ../src/drivers/driver_wired_common.c CC ../src/radius/radius.c CC ../src/drivers/netlink.c CC ../src/utils/radiotap.c CC ../src/drivers/driver_nl80211_monitor.c CC ../src/drivers/driver_none.c CC ../src/common/wpa_common.c CC ../src/drivers/rfkill.c CC ../src/drivers/driver_hostap.c CC ../src/drivers/linux_ioctl.c CC ../src/ap/ctrl_iface_ap.c CC ../src/eap_server/eap_server_md5.c CC ../src/eap_server/eap_server_tls.c CC ../src/eap_common/eap_peap_common.c CC ../src/common/sae.c CC ../src/l2_packet/l2_packet_linux.c CC ../src/eap_server/eap_server_gtc.c CC ../src/ap/wpa_auth.c CC eap_register.c CC ../src/drivers/driver_nl80211_scan.c CC ../src/eap_server/eap_server_mschapv2.c CC ../src/eap_server/eap_server_identity.c CC ../src/common/dragonfly.c CC ../src/drivers/driver_nl80211_event.c CC ../src/common/dpp_pkex.c CC ../src/eap_server/eap_server_peap.c CC ../src/eap_server/eap_server_methods.c CC ../src/common/dpp_reconfig.c CC ../src/eap_common/eap_common.c CC ../src/drivers/driver_nl80211_capa.c CC ../src/ap/gas_query_ap.c CC ../src/eap_common/chap.c CC ../src/eap_server/eap_server_ttls.c CC ../src/common/dpp_backup.c CC ctrl_iface.c CC ../src/crypto/sha1-prf.c CC ../src/crypto/aes-omac1.c CC ../src/common/dpp_tcp.c CC ../src/crypto/aes-ctr.c CC ../src/eap_server/eap_server_tls_common.c CC ../src/crypto/sha256-tlsprf.c CC ../src/common/dpp_auth.c CC ../src/crypto/ms_funcs.c CC ../src/crypto/sha1-tlsprf.c CC ../src/crypto/sha256-prf.c CC ../src/crypto/sha384-prf.c CC ../src/crypto/aes-siv.c CC ../src/crypto/sha512-kdf.c CC ../src/crypto/sha256-kdf.c CC ../src/crypto/sha384-kdf.c CC ../src/crypto/sha512-prf.c CC ../src/crypto/dh_groups.c CC ../src/utils/base64.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, | ^~~~~~~~~~~~~~ CC ../src/common/dpp_crypto.c ../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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:223:27: note: declared here 223 | 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:256:28: note: declared here 256 | 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:200:28: note: declared here 200 | 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:199:27: note: declared here 199 | 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:255:27: note: declared here 255 | 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:258:27: note: declared here 258 | 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:223:27: note: declared here 223 | 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:200:28: note: declared here 200 | 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:203:27: note: declared here 203 | 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:224:27: note: declared here 224 | 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:200:28: note: declared here 200 | 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': ../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); | ^~~~~~~~~~~~~ ../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); | ^~~~~~~~~~~~~ ../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:354:27: note: declared here 354 | 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:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:659:27: note: declared here 659 | 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:646:27: note: declared here 646 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_point_debug_print': ../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:659:27: note: declared here 659 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ecdh_init': CC ../src/tls/asn1.c ../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:998:31: note: declared here 998 | 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:1087:28: note: declared here 1087 | 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:1370:5: note: declared here 1370 | 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:1003:28: note: declared here 1003 | 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:1328:5: note: declared here 1328 | 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:1374:19: note: declared here 1374 | 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:1374:19: note: declared here 1374 | 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:1062:39: note: declared here 1062 | 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:659:27: note: declared here 659 | 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:1003:28: note: declared here 1003 | 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:646:27: note: declared here 646 | 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:686:27: note: declared here 686 | 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); | ^~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | 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:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ ../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:1370:5: note: declared here 1370 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ ../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:1003:28: note: declared here 1003 | 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/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:1187:31: note: declared here 1187 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key, | ^~~~~~~~~~~~~~~~ ../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:1075:28: note: declared here 1075 | 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:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ../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:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ CC ../src/common/gas.c ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_parse_pub': ../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:1372:25: note: declared here 1372 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_set_pub': ../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:646:27: note: declared here 646 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:968:31: note: declared here 968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ ../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:1042:27: note: declared here 1042 | 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:1070:27: note: declared here 1070 | 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:1087:28: note: declared here 1087 | 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:1328:5: note: declared here 1328 | 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:1003:28: note: declared here 1003 | 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:968:31: note: declared here 968 | 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:1042:27: note: declared here 1042 | 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:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ CC ../src/crypto/random.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:1087:28: note: declared here 1087 | 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:1328:5: note: declared here 1328 | 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:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_gen': ../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:998:31: note: declared here 998 | 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:1087:28: note: declared here 1087 | 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:1370:5: note: declared here 1370 | 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); | ^~~~~ /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | 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:1075:28: note: declared here 1075 | 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:1003:28: note: declared here 1003 | 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:1003:28: note: declared here 1003 | 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:1374:19: note: declared here 1374 | 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:1075:28: note: declared here 1075 | 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:1370:5: note: declared here 1370 | 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:1003:28: note: declared here 1003 | 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:1374:19: note: declared here 1374 | 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:1072:32: note: declared here 1072 | 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:1073:28: note: declared here 1073 | 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:1075:28: note: declared here 1075 | 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:1197:27: note: declared here 1197 | 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:1003:28: note: declared here 1003 | 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:1374:19: note: declared here 1374 | 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:1075:28: note: declared here 1075 | 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:1245:27: note: declared here 1245 | 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:1003:28: note: declared here 1003 | 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:1003:28: note: declared here 1003 | 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); | ^~~ CC ../src/eap_server/eap_server.c /usr/include/openssl/ec.h:1245:27: note: declared here 1245 | 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:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_get_public_key': CC ../src/ap/ap_list.c ../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:1372:25: note: declared here 1372 | 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:1062:39: note: declared here 1062 | 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:1372:25: note: declared here 1372 | 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:1048:37: note: declared here 1048 | 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:1372:25: note: declared here 1372 | 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:1034:39: note: declared here 1034 | 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:354:27: note: declared here 354 | 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:1372:25: note: declared here 1372 | 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:1034:39: note: declared here 1034 | 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': ../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:1418:5: note: declared here 1418 | int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b); | ^~~~~~~~~~~~ CC ../src/ap/ieee802_11_vht.c CC ../src/utils/json.c CC ../src/ap/dpp_hostapd.c CC ../src/common/wpa_ctrl.c CC ../src/drivers/driver_common.c CC ../src/crypto/tls_openssl_ocsp.c CC nt_password_hash.c CC ../src/common/cli.c CC ../src/ap/wmm.c CC ../src/utils/edit_simple.c CC ../src/ap/dfs.c CC ../src/ap/ieee802_11_ht.c CC ../src/radius/radius_server.c CC ../src/ap/gas_serv.c CC ../src/ap/wpa_auth_ft.c CC ../src/ap/acs.c ../src/crypto/tls_openssl.c: In function 'tls_connection_private_key': ../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, | ^~ In file included from ../src/crypto/tls_openssl.c:19: /usr/include/openssl/ssl.h:1663:12: note: declared here 1663 | __owur int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../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:36: /usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ ../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:455:1: note: declared here 455 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DSAparams, DSA) | ^~~~~~~~~~~~~~~~~~~ ../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:31: /usr/include/openssl/dsa.h:198:27: note: declared here 198 | 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:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ../src/crypto/tls_openssl.c:4007:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4007 | DH_free(dh); | ^~~~~~~ CC ../src/ap/hw_features.c In file included from /usr/include/openssl/dsa.h:51: /usr/include/openssl/dh.h:200:28: note: declared here 200 | 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:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ../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:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ ../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:455:1: note: declared here 455 | 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:198:27: note: declared here 198 | 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:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ../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:200:28: note: declared here 200 | 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:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ CC hostapd_cli.c CC ../src/common/dpp.c CC ../src/crypto/crypto_openssl.c LD nt_password_hash CC ../src/ap/ieee802_11.c CC ../src/crypto/tls_openssl.c 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-r4.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-r4.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-r4.apk >>> hostapd: Build complete at Tue, 25 Oct 2022 19:18:26 +0000 elapsed time 0h 0m 8s >>> hostapd: Cleaning up srcdir >>> hostapd: Cleaning up pkgdir >>> hostapd: Uninstalling dependencies... (1/6) Purging .makedepends-hostapd (20221025.191819) (2/6) Purging openssl-dev (3.0.5-r3) (3/6) Purging libnl3-dev (3.7.0-r0) (4/6) Purging libnl3-cli (3.7.0-r0) (5/6) Purging libnl3 (3.7.0-r0) (6/6) Purging linux-headers (5.19.5-r0) Executing busybox-1.35.0-r27.trigger OK: 266 MiB in 92 packages >>> hostapd: Updating the main/x86_64 repository index... >>> hostapd: Signing the index...