Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hostapd.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64-1639489967.527676/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.38epm6ql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.38epm6ql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '93668ea7b8034c8586d0b1c83d4f1be4', '-D', '/var/lib/mock/centos-stream-9-x86_64-1639489967.527676/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.38epm6ql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/hostapd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1631577600 Wrote: /builddir/build/SRPMS/hostapd-2.9-13.20211213git311091eb43eb.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hostapd.spec'], chrootPath='/var/lib/mock/centos-stream-9-x86_64-1639489967.527676/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.38epm6ql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.38epm6ql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '95c5a13932b34e47ab92b6b6b383f603', '-D', '/var/lib/mock/centos-stream-9-x86_64-1639489967.527676/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.38epm6ql:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/hostapd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1631577600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.937Mti + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hostapd-2.9.20211213git311091eb43eb + /usr/bin/gzip -dc /builddir/build/SOURCES/hostapd-2.9.20211213git311091eb43eb.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hostapd-2.9.20211213git311091eb43eb + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RYhN5R + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.9.20211213git311091eb43eb ~/build/BUILD/hostapd-2.9.20211213git311091eb43eb/hostapd ~/build/BUILD/hostapd-2.9.20211213git311091eb43eb + pushd hostapd + sed -e '$ a CONFIG_SAE=y' -e '/^#CONFIG_DRIVER_NL80211=y/s/^#//' -e '/^#CONFIG_RADIUS_SERVER=y/s/^#//' -e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' -e '/^#CONFIG_DRIVER_NONE=y/s/^#//' -e '/^#CONFIG_IEEE80211N=y/s/^#//' -e '/^#CONFIG_IEEE80211R=y/s/^#//' -e '/^#CONFIG_IEEE80211AC=y/s/^#//' -e '/^#CONFIG_FULL_DYNAMIC_VLAN=y/s/^#//' -e '/^#CONFIG_LIBNL32=y/s/^#//' -e '/^#CONFIG_ACS=y/s/^#//' -e '/^#CONFIG_OWE=y/s/^#//' + cat defconfig + echo 'CFLAGS += -I/usr/include/libnl3' + echo 'LIBS += -L/usr/lib64' + make -j2 'EXTRA_CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' CC main.c CC config_file.c CC ../src/ap/hostapd.c CC ../src/ap/wpa_auth_glue.c CC ../src/ap/drv_callbacks.c CC ../src/ap/ap_drv_ops.c CC ../src/ap/utils.c CC ../src/ap/authsrv.c CC ../src/ap/ap_config.c CC ../src/ap/eap_user_db.c CC ../src/ap/ieee802_1x.c CC ../src/ap/ieee802_11_auth.c CC ../src/ap/sta_info.c CC ../src/ap/tkip_countermeasures.c CC ../src/ap/ap_mlme.c CC ../src/ap/wpa_auth_ie.c CC ../src/ap/preauth_auth.c CC ../src/ap/wpa_auth.c CC ../src/ap/pmksa_cache_auth.c CC ../src/ap/ieee802_11_shared.c CC ../src/ap/bss_load.c CC ../src/ap/beacon.c CC ../src/ap/neighbor_db.c CC ../src/drivers/drivers.c CC ../src/ap/rrm.c CC ../src/utils/eloop.c CC ../src/utils/wpa_debug.c CC ../src/utils/common.c CC ../src/utils/wpabuf.c CC ../src/utils/ip_addr.c CC ../src/utils/crc32.c CC ../src/utils/os_unix.c CC ../src/common/ieee802_11_common.c CC ../src/common/wpa_common.c CC ../src/common/hw_features_common.c CC ../src/eapol_auth/eapol_auth_dump.c CC ../src/eapol_auth/eapol_auth_sm.c CC ../src/radius/radius.c CC ../src/radius/radius_client.c CC ../src/radius/radius_das.c CC ../src/ap/accounting.c CC ../src/ap/vlan_ifconfig.c CC ../src/ap/vlan_init.c CC ../src/ap/vlan.c CC ../src/ap/vlan_ioctl.c CC ../src/common/ctrl_iface_common.c CC ../src/ap/vlan_full.c CC ../src/ap/ctrl_iface_ap.c CC ctrl_iface.c CC ../src/ap/eth_p_oui.c CC ../src/common/sae.c CC ../src/ap/wpa_auth_ft.c CC ../src/drivers/driver_hostap.c CC ../src/drivers/driver_wired_common.c CC ../src/drivers/driver_wired.c CC ../src/drivers/driver_nl80211_capa.c CC ../src/drivers/driver_nl80211_event.c CC ../src/drivers/driver_nl80211_monitor.c CC ../src/drivers/driver_nl80211_scan.c CC ../src/drivers/driver_none.c CC ../src/drivers/netlink.c CC ../src/drivers/rfkill.c CC ../src/utils/radiotap.c CC ../src/drivers/linux_ioctl.c CC ../src/l2_packet/l2_packet_linux.c CC ../src/eap_server/eap_server_md5.c CC ../src/eap_server/eap_server_tls.c CC ../src/drivers/driver_nl80211.c CC ../src/eap_common/eap_peap_common.c CC ../src/eap_server/eap_server_peap.c CC ../src/eap_server/eap_server_ttls.c CC ../src/eap_server/eap_server_mschapv2.c CC ../src/eap_server/eap_server_gtc.c CC eap_register.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_server/eap_server.c CC ../src/crypto/ms_funcs.c CC ../src/eap_common/chap.c ../src/crypto/tls_openssl.c: In function 'tls_connection_private_key': ../src/crypto/tls_openssl.c:3812:17: warning: 'SSL_use_RSAPrivateKey_ASN1' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3812 | if (SSL_use_RSAPrivateKey_ASN1(conn->ssl, | ^~ In file included from ../src/crypto/tls_openssl.c:19: /usr/include/openssl/ssl.h:1656:12: note: declared here 1656 | __owur int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/tls_openssl.c: In function 'tls_connection_dh': ../src/crypto/tls_openssl.c:3929:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3929 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ssl.h:36, from ../src/crypto/tls_openssl.c:19: /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:3940:17: warning: 'PEM_read_bio_DSAparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3940 | dsa = PEM_read_bio_DSAparams(bio, NULL, NULL, NULL); | ^~~ In file included from /usr/include/openssl/ssl.h:36, from ../src/crypto/tls_openssl.c:19: /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:3950:17: warning: 'DSA_dup_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3950 | dh = DSA_dup_DH(dsa); | ^~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ../src/crypto/tls_openssl.c:19: /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:3951:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3951 | DSA_free(dsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ../src/crypto/tls_openssl.c:19: /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:3970:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3970 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ../src/crypto/tls_openssl.c:19: /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:3973:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3973 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ../src/crypto/tls_openssl.c:19: /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:4004:9: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4004 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ssl.h:36, from ../src/crypto/tls_openssl.c:19: /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:4015:17: warning: 'PEM_read_bio_DSAparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4015 | dsa = PEM_read_bio_DSAparams(bio, NULL, NULL, NULL); | ^~~ In file included from /usr/include/openssl/ssl.h:36, from ../src/crypto/tls_openssl.c:19: /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:4025:17: warning: 'DSA_dup_DH' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4025 | dh = DSA_dup_DH(dsa); | ^~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ../src/crypto/tls_openssl.c:19: /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:4026:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4026 | DSA_free(dsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ../src/crypto/tls_openssl.c:19: /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:4045:17: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4045 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ../src/crypto/tls_openssl.c:19: /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:4048:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4048 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:51, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ../src/crypto/tls_openssl.c:19: /usr/include/openssl/dh.h:200:28: note: declared here 200 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ CC ../src/eap_server/eap_server_tls_common.c CC ../src/crypto/tls_openssl_ocsp.c ../src/crypto/crypto_openssl.c: In function 'des_encrypt': ../src/crypto/crypto_openssl.c:221:9: warning: 'DES_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 221 | DES_set_key((DES_cblock *) &pkey, &ks); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:12: /usr/include/openssl/des.h:186:5: note: declared here 186 | int DES_set_key(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c:222:9: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 222 | DES_ecb_encrypt((DES_cblock *) clear, (DES_cblock *) cypher, &ks, | ^~~~~~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:12: /usr/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'aes_wrap': ../src/crypto/crypto_openssl.c:449:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 449 | 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:451:9: warning: 'AES_wrap_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 451 | res = AES_wrap_key(&actx, NULL, cipher, plain, n * 8); | ^~~ In file included from ../src/crypto/crypto_openssl.c:13: /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:465:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 465 | if (AES_set_decrypt_key(kek, kek_len << 3, &actx)) | ^~ In file included from ../src/crypto/crypto_openssl.c:13: /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:467:9: warning: 'AES_unwrap_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 467 | res = AES_unwrap_key(&actx, NULL, plain, cipher, (n + 1) * 8); | ^~~ In file included from ../src/crypto/crypto_openssl.c:13: /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:822:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 822 | 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:830:13: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 830 | DH_set0_pqg(dh, p, q, g) != 1) | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:16: /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:836:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 836 | if (DH_generate_key(dh) != 1) | ^~ In file included from ../src/crypto/crypto_openssl.c:16: /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:839:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 839 | DH_get0_key(dh, &pub_key, &priv_key); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:16: /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:862:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 862 | DH_free(dh); | ^~~~~~~ In file included from ../src/crypto/crypto_openssl.c:16: /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:907:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 907 | 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:914:13: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 914 | DH_set0_pqg(dh, p, NULL, g) != 1) | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:16: /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:921:9: warning: 'DH_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 921 | if (!priv_key || !pub_key || DH_set0_key(dh, pub_key, priv_key) != 1) | ^~ In file included from ../src/crypto/crypto_openssl.c:16: /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:926:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 926 | if (DH_generate_key(dh) != 1) | ^~ In file included from ../src/crypto/crypto_openssl.c:16: /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:936:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 936 | DH_free(dh); | ^~~~~~~ In file included from ../src/crypto/crypto_openssl.c:16: /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:959:9: warning: 'DH_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 959 | rlen = DH_size(dh); | ^~~~ In file included from ../src/crypto/crypto_openssl.c:16: /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:964:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 964 | keylen = DH_compute_key(wpabuf_mhead(res), pub_key, dh); | ^~~~~~ In file included from ../src/crypto/crypto_openssl.c:16: /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:985:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 985 | DH_free(dh); | ^~~~~~~ In file included from ../src/crypto/crypto_openssl.c:16: /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:1025:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | 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:1031:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1031 | if (HMAC_Init_ex(ctx->ctx, key, key_len, md, NULL) != 1) { | ^~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1032:17: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1032 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1045:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1045 | HMAC_Update(ctx->ctx, data, len); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1058:17: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1058 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1064:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1064 | res = HMAC_Final(ctx->ctx, mac, &mdlen); | ^~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1065:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1065 | HMAC_CTX_free(ctx->ctx); | ^~~~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1092:9: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1092 | 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:1095:9: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1095 | res = HMAC_Init_ex(ctx, key, key_len, type, NULL); | ^~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1100:17: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1100 | HMAC_Update(ctx, addr[i], len[i]); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1102:9: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1102 | res = HMAC_Final(ctx, mac, &mdlen); | ^~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1104:9: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1104 | HMAC_CTX_free(ctx); | ^~~~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:17: /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:1693:13: warning: 'EC_GROUP_get_curve_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1693 | !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:352:27: note: declared here 352 | 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:1781:9: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1781 | return EC_POINT_get_affine_coordinates_GFp(e->group, | ^~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:657:27: note: declared here 657 | 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:1802:13: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1802 | EC_POINT_get_affine_coordinates_GFp(e->group, (EC_POINT *) point, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:657:27: note: declared here 657 | 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:1841:9: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1841 | if (!EC_POINT_set_affine_coordinates_GFp(e->group, elem, x, y, | ^~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:644:27: note: declared here 644 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_point_solve_y_coord': ../src/crypto/crypto_openssl.c:1891:9: warning: 'EC_POINT_set_compressed_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1891 | if (!EC_POINT_set_compressed_coordinates_GFp(e->group, (EC_POINT *) p, | ^~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:684:27: note: declared here 684 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_compressed_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ecdh_init': ../src/crypto/crypto_openssl.c:1974:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1974 | ec_params = EC_KEY_new_by_curve_name(ecdh->ec->nid); | ^~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1980:9: warning: 'EC_KEY_set_asn1_flag' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1980 | EC_KEY_set_asn1_flag(ec_params, OPENSSL_EC_NAMED_CURVE); | ^~~~~~~~~~~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1085:28: note: declared here 1085 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:1982:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1982 | 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:2006:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2006 | EC_KEY_free(ec_params); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ecdh_get_pubkey': ../src/crypto/crypto_openssl.c:2027:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2027 | eckey = EVP_PKEY_get1_EC_KEY(ecdh->pkey); | ^~~~~ In file included from ../src/crypto/crypto_openssl.c:15: /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:2031:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2031 | pubkey = EC_KEY_get0_public_key(eckey); | ^~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1060:39: note: declared here 1060 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2045:9: warning: 'EC_POINT_get_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2045 | if (EC_POINT_get_affine_coordinates_GFp(ecdh->ec->group, pubkey, | ^~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:657:27: note: declared here 657 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_get_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2068:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2068 | EC_KEY_free(eckey); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | 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:2098:17: warning: 'EC_POINT_set_affine_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2098 | if (!EC_POINT_set_affine_coordinates_GFp(ecdh->ec->group, pub, | ^~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:644:27: note: declared here 644 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_affine_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2106:9: warning: 'EC_POINT_set_compressed_coordinates_GFp' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2106 | } else if (!EC_POINT_set_compressed_coordinates_GFp(ecdh->ec->group, | ^ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:684:27: note: declared here 684 | OSSL_DEPRECATEDIN_3_0 int EC_POINT_set_compressed_coordinates_GFp | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2121:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2121 | eckey = EC_KEY_new_by_curve_name(ecdh->ec->nid); | ^~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2122:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2122 | if (!eckey || EC_KEY_set_public_key(eckey, pub) != 1) { | ^~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1068:27: note: declared here 1068 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2130:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2130 | if (!peerkey || EVP_PKEY_set1_EC_KEY(peerkey, eckey) != 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:2161:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2161 | EC_KEY_free(eckey); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | 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:2203:9: warning: 'd2i_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2203 | key->eckey = d2i_ECPrivateKey(NULL, &der, der_len); | ^~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1185:31: note: declared here 1185 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key, | ^~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2209:9: warning: 'EC_KEY_set_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2209 | EC_KEY_set_conv_form(key->eckey, POINT_CONVERSION_COMPRESSED); | ^~~~~~~~~~~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1073:28: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, | ^~~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:2212:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2212 | if (!key->pkey || EVP_PKEY_assign_EC_KEY(key->pkey, key->eckey) != 1) { | ^~ In file included from ../src/crypto/crypto_openssl.c:15: /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:2213:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2213 | EC_KEY_free(key->eckey); | ^~~~~~~~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_parse_pub': ../src/crypto/crypto_openssl.c:2240:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2240 | key->eckey = EVP_PKEY_get0_EC_KEY(key->pkey); | ^~~ In file included from ../src/crypto/crypto_openssl.c:15: /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:2240:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2240 | key->eckey = EVP_PKEY_get0_EC_KEY(key->pkey); | ^ ../src/crypto/crypto_openssl.c: In function 'crypto_ec_key_group': ../src/crypto/crypto_openssl.c:2333:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2333 | group = EC_KEY_get0_group(key->eckey); | ^~~~~ In file included from ../src/crypto/crypto_openssl.c:23: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ CC ../src/crypto/crypto_openssl.c CC ../src/crypto/tls_openssl.c CC ../src/crypto/aes-ctr.c CC ../src/crypto/aes-siv.c CC ../src/crypto/sha1-prf.c CC ../src/crypto/aes-omac1.c CC ../src/crypto/sha1-tlsprf.c CC ../src/crypto/sha256-prf.c CC ../src/crypto/sha256-tlsprf.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 ../src/crypto/random.c CC ../src/ap/wmm.c CC ../src/ap/ap_list.c CC ../src/radius/radius_server.c CC ../src/ap/hw_features.c CC ../src/ap/dfs.c CC ../src/ap/ieee802_11_ht.c CC ../src/ap/ieee802_11_vht.c CC ../src/ap/ieee802_11.c CC ../src/drivers/driver_common.c CC ../src/ap/acs.c CC ../src/common/wpa_ctrl.c CC hostapd_cli.c CC ../src/utils/edit_simple.c CC ../src/common/cli.c LD hostapd_cli In function 'wpabuf_free', inlined from 'radius_msg_free' at ../src/radius/radius.c:132:2, inlined from 'radius_msg_free' at ../src/radius/radius.c:127:6, inlined from 'radius_msg_new' at ../src/radius/radius.c:112:3: ../src/utils/wpabuf.c:202:17: warning: 'free' called on pointer '_35' with nonzero offset 32 [-Wfree-nonheap-object] 202 | os_free(buf->buf); | ^ ../src/utils/wpabuf.c: In function 'radius_msg_new': ../src/utils/os_unix.c:486:16: note: returned from 'calloc' 486 | return calloc(1, size); | ^ LD hostapd + popd ~/build/BUILD/hostapd-2.9.20211213git311091eb43eb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3ziSZe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64 + cd hostapd-2.9.20211213git311091eb43eb + install -p -m 644 -D /builddir/build/SOURCES/hostapd.service /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/lib/systemd/system/hostapd.service + install -d /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//etc/logwatch/conf/services + install -pm 0644 hostapd/logwatch/hostapd.conf /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//etc/logwatch/conf/services/hostapd.conf + install -d /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//etc/logwatch/scripts/services + install -pm 0755 hostapd/logwatch/hostapd /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//etc/logwatch/scripts/services/hostapd + install -d /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//etc/hostapd + install -pm 0600 /builddir/build/SOURCES/hostapd.conf /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//etc/hostapd + install -d /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//etc/sysconfig + install -pm 0644 /builddir/build/SOURCES/hostapd.sysconfig /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//etc/sysconfig/hostapd + install -d /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64//usr/sbin + install -pm 0755 hostapd/hostapd /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/sbin/hostapd + install -pm 0755 hostapd/hostapd_cli /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/sbin/hostapd_cli + install -d /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/man/man5 /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/man/man8 + install -pm 0644 hostapd/hostapd_cli.1 /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/man/man1 + install -pm 0644 /builddir/build/SOURCES/hostapd.conf.5 /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/man/man5 + install -pm 0644 hostapd/hostapd.8 /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/man/man8 + cp hostapd/README ./README.hostapd + cp hostapd/README-WPS ./README-WPS.hostapd + cp hostapd/logwatch/README ./README.logwatch + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.9-13.20211213git311091eb43eb.el9 --unique-debug-suffix -2.9-13.20211213git311091eb43eb.el9.x86_64 --unique-debug-src-base hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/hostapd-2.9.20211213git311091eb43eb explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/sbin/hostapd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/sbin/hostapd_cli extracting debug info from /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/sbin/hostapd extracting debug info from /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/sbin/hostapd_cli original debug info size: 5616kB, size after compression: 4460kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 9924 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ob9VXx + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.9.20211213git311091eb43eb + DOCDIR=/builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr README /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr README.hostapd /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr README-WPS.hostapd /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr hostapd/hostapd.conf /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr hostapd/wired.conf /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr hostapd/hostapd.accept /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr hostapd/hostapd.deny /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr hostapd/hostapd.eap_user /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr hostapd/hostapd.radius_clients /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr hostapd/hostapd.vlan /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + cp -pr hostapd/hostapd.wpa_psk /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zaoMBG + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.9.20211213git311091eb43eb + LICENSEDIR=/builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/licenses/hostapd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/licenses/hostapd + cp -pr COPYING /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/licenses/hostapd + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(hostapd) = 2.9-13.20211213git311091eb43eb.el9 hostapd = 2.9-13.20211213git311091eb43eb.el9 hostapd(x86-64) = 2.9-13.20211213git311091eb43eb.el9 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Processing files: hostapd-logwatch-2.9-13.20211213git311091eb43eb.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tctZlW + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.9.20211213git311091eb43eb + DOCDIR=/builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd-logwatch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd-logwatch + cp -pr hostapd/logwatch/README /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64/usr/share/doc/hostapd-logwatch + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(hostapd-logwatch) = 2.9-13.20211213git311091eb43eb.el9 hostapd-logwatch = 2.9-13.20211213git311091eb43eb.el9 hostapd-logwatch(x86-64) = 2.9-13.20211213git311091eb43eb.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl perl(strict) Processing files: hostapd-debugsource-2.9-13.20211213git311091eb43eb.el9.x86_64 Provides: hostapd-debugsource = 2.9-13.20211213git311091eb43eb.el9 hostapd-debugsource(x86-64) = 2.9-13.20211213git311091eb43eb.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hostapd-debuginfo-2.9-13.20211213git311091eb43eb.el9.x86_64 Provides: debuginfo(build-id) = 4b4f91a9a3969dc7a2e5b5dff20c32bfe210ce0c debuginfo(build-id) = cd6d48762c99d0e895830c6b611bc48b642f9856 hostapd-debuginfo = 2.9-13.20211213git311091eb43eb.el9 hostapd-debuginfo(x86-64) = 2.9-13.20211213git311091eb43eb.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hostapd-debugsource(x86-64) = 2.9-13.20211213git311091eb43eb.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64 Wrote: /builddir/build/RPMS/hostapd-debuginfo-2.9-13.20211213git311091eb43eb.el9.x86_64.rpm Wrote: /builddir/build/RPMS/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64.rpm Wrote: /builddir/build/RPMS/hostapd-logwatch-2.9-13.20211213git311091eb43eb.el9.x86_64.rpm Wrote: /builddir/build/RPMS/hostapd-debugsource-2.9-13.20211213git311091eb43eb.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xHws8x + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.9.20211213git311091eb43eb + /usr/bin/rm -rf /builddir/build/BUILDROOT/hostapd-2.9-13.20211213git311091eb43eb.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0