Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/hostapd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672268706.442017/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.qrvi6_cj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.qrvi6_cj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'b4bf0a7d5f0544c397f8c7692ad393b0', '-D', '/var/lib/mock/fedora-rawhide-i686-1672268706.442017/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qrvi6_cj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 i686 --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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/hostapd-2.10-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/hostapd.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672268706.442017/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.qrvi6_cj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.qrvi6_cj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '3a32a505a87c48a3967d8f6d6ccb9c35', '-D', '/var/lib/mock/fedora-rawhide-i686-1672268706.442017/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qrvi6_cj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 i686 --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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qpJkOA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hostapd-2.10 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hostapd-2.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hostapd-2.10 + /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.Enufu5 + umask 022 + cd /builddir/build/BUILD + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hostapd-2.10 + cd hostapd + cat defconfig + 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_IEEE80211AX=y/s/^#//' -e '/^#CONFIG_FULL_DYNAMIC_VLAN=y/s/^#//' -e '/^#CONFIG_LIBNL32=y/s/^#//' -e '/^#CONFIG_ACS=y/s/^#//' -e '/^#CONFIG_OCV=y/s/^#//' -e '/^#CONFIG_OWE=y/s/^#//' + echo 'CFLAGS += -I/usr/include/libnl3' + echo 'LIBS += -L/usr/lib' + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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/utils.c CC ../src/ap/ap_drv_ops.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/neighbor_db.c CC ../src/ap/beacon.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/os_unix.c CC ../src/utils/crc32.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_client.c CC ../src/radius/radius.c CC ../src/radius/radius_das.c CC ../src/ap/vlan_init.c CC ../src/ap/accounting.c CC ../src/ap/vlan_ifconfig.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 ../src/common/ocv.c CC ctrl_iface.c CC ../src/ap/eth_p_oui.c CC ../src/common/sae.c CC ../src/ap/ieee802_11_he.c CC ../src/ap/wpa_auth_ft.c CC ../src/drivers/driver_wired.c CC ../src/drivers/driver_hostap.c CC ../src/drivers/driver_wired_common.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 ../src/common/dpp_auth.c CC ../src/common/dpp_backup.c CC ../src/common/dpp.c CC ../src/common/dpp_crypto.c CC ../src/common/dpp_reconfig.c CC ../src/common/dpp_pkex.c CC ../src/common/dpp_tcp.c CC ../src/ap/gas_query_ap.c CC ../src/ap/dpp_hostapd.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/eap_common/chap.c CC ../src/crypto/ms_funcs.c CC ../src/eap_server/eap_server_tls_common.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:1668:12: note: declared here 1668 | __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); | ^~~~~~~ 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 ../src/crypto/tls_openssl_ocsp.c ../src/crypto/crypto_openssl.c: In function 'aes_wrap': ../src/crypto/crypto_openssl.c:511:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | if (AES_set_encrypt_key(kek, kek_len << 3, &actx)) | ^~ In file included from ../src/crypto/crypto_openssl.c:13: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:513:9: warning: 'AES_wrap_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 513 | res = AES_wrap_key(&actx, NULL, cipher, plain, n * 8); | ^~~ /usr/include/openssl/aes.h:97:5: note: declared here 97 | int AES_wrap_key(AES_KEY *key, const unsigned char *iv, | ^~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'aes_unwrap': ../src/crypto/crypto_openssl.c:527:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 527 | if (AES_set_decrypt_key(kek, kek_len << 3, &actx)) | ^~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c:529:9: warning: 'AES_unwrap_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 529 | res = AES_unwrap_key(&actx, NULL, plain, cipher, (n + 1) * 8); | ^~~ /usr/include/openssl/aes.h:101:5: note: declared here 101 | int AES_unwrap_key(AES_KEY *key, const unsigned char *iv, | ^~~~~~~~~~~~~~ ../src/crypto/crypto_openssl.c: In function 'dh5_init': ../src/crypto/crypto_openssl.c:884:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 884 | dh = DH_new(); | ^~ In file included from ../src/crypto/crypto_openssl.c:16: /usr/include/openssl/dh.h: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': ../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); | ^~~~~~~~~~~ ../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); | ^~~~~~~~~~~~~~~~~~~~~ ../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); | ^~~ /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': ../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/crypto/tls_openssl.c CC ../src/crypto/crypto_openssl.c CC ../src/crypto/aes-ctr.c CC ../src/crypto/aes-siv.c CC ../src/crypto/aes-omac1.c CC ../src/crypto/sha1-prf.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/tls/asn1.c CC ../src/crypto/random.c CC ../src/utils/base64.c CC ../src/utils/json.c CC ../src/radius/radius_server.c CC ../src/ap/wmm.c CC ../src/ap/ap_list.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/common/gas.c CC ../src/ap/ieee802_11.c CC ../src/drivers/driver_common.c CC ../src/ap/gas_serv.c CC ../src/ap/acs.c CC ../src/common/wpa_ctrl.c CC ../src/common/cli.c CC ../src/utils/edit_simple.c CC hostapd_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 '_36' with nonzero offset 16 [-Wfree-nonheap-object] 202 | os_free(buf->buf); | ^ In function 'os_zalloc', inlined from 'wpabuf_alloc' at ../src/utils/wpabuf.c:124:23, inlined from 'radius_msg_new' at ../src/radius/radius.c:110:13: ../src/utils/os_unix.c:486:16: note: returned from 'calloc' 486 | return calloc(1, size); | ^ LD hostapd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bTcGIu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386 ++ dirname /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hostapd-2.10 + install -p -m 644 -D /builddir/build/SOURCES/hostapd.service /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/lib/systemd/system/hostapd.service + install -d /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//etc/logwatch/conf/services + install -pm 0644 hostapd/logwatch/hostapd.conf /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//etc/logwatch/conf/services/hostapd.conf + install -d /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//etc/logwatch/scripts/services + install -pm 0755 hostapd/logwatch/hostapd /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//etc/logwatch/scripts/services/hostapd + install -d /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//etc/hostapd + install -pm 0600 /builddir/build/SOURCES/hostapd.conf /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//etc/hostapd + install -d /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//etc/sysconfig + install -pm 0644 /builddir/build/SOURCES/hostapd.sysconfig /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//etc/sysconfig/hostapd + install -d /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386//usr/sbin + install -pm 0755 hostapd/hostapd /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/sbin/hostapd + install -pm 0755 hostapd/hostapd_cli /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/sbin/hostapd_cli + install -d /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/man/man1 /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/man/man5 /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/man/man8 + install -pm 0644 hostapd/hostapd_cli.1 /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/man/man1 + install -pm 0644 /builddir/build/SOURCES/hostapd.conf.5 /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/man/man5 + install -pm 0644 hostapd/hostapd.8 /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/man/man8 + cp hostapd/README ./README.hostapd + cp hostapd/README-WPS ./README-WPS.hostapd + cp hostapd/logwatch/README ./README.logwatch + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.10-4.fc38 --unique-debug-suffix -2.10-4.fc38.i386 --unique-debug-src-base hostapd-2.10-4.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hostapd-2.10 extracting debug info from /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/sbin/hostapd extracting debug info from /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/sbin/hostapd_cli original debug info size: 6640kB, size after compression: 5312kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 11349 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: hostapd-2.10-4.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QKfppV + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.10 + DOCDIR=/builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr README /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr README.hostapd /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr README-WPS.hostapd /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr hostapd/hostapd.conf /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr hostapd/wired.conf /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr hostapd/hostapd.accept /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr hostapd/hostapd.deny /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr hostapd/hostapd.eap_user /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr hostapd/hostapd.radius_clients /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr hostapd/hostapd.vlan /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + cp -pr hostapd/hostapd.wpa_psk /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TyHvZb + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.10 + LICENSEDIR=/builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/licenses/hostapd + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/licenses/hostapd + cp -pr COPYING /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/licenses/hostapd + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(hostapd) = 2.10-4.fc38 hostapd = 2.10-4.fc38 hostapd(x86-32) = 2.10-4.fc38 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.17) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypto.so.3 libcrypto.so.3(OPENSSL_3.0.0) libm.so.6 libm.so.6(GLIBC_2.29) libnl-3.so.200 libnl-3.so.200(libnl_3) libnl-genl-3.so.200 libnl-genl-3.so.200(libnl_3) libssl.so.3 libssl.so.3(OPENSSL_3.0.0) rtld(GNU_HASH) Processing files: hostapd-logwatch-2.10-4.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qePRyy + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.10 + DOCDIR=/builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd-logwatch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd-logwatch + cp -pr hostapd/logwatch/README /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386/usr/share/doc/hostapd-logwatch + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(hostapd-logwatch) = 2.10-4.fc38 hostapd-logwatch = 2.10-4.fc38 hostapd-logwatch(x86-32) = 2.10-4.fc38 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.10-4.fc38.i686 Provides: hostapd-debugsource = 2.10-4.fc38 hostapd-debugsource(x86-32) = 2.10-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: hostapd-debuginfo-2.10-4.fc38.i686 Provides: debuginfo(build-id) = 1bdb84b6411c772cefa35e14e93559aba8b91c33 debuginfo(build-id) = 2435d1cfdeaa8b9fa275450d1e14e108a580b00b hostapd-debuginfo = 2.10-4.fc38 hostapd-debuginfo(x86-32) = 2.10-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: hostapd-debugsource(x86-32) = 2.10-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386 Wrote: /builddir/build/RPMS/hostapd-debuginfo-2.10-4.fc38.i686.rpm Wrote: /builddir/build/RPMS/hostapd-2.10-4.fc38.i686.rpm Wrote: /builddir/build/RPMS/hostapd-logwatch-2.10-4.fc38.i686.rpm Wrote: /builddir/build/RPMS/hostapd-debugsource-2.10-4.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1Wi5Eg + umask 022 + cd /builddir/build/BUILD + cd hostapd-2.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hostapd-2.10-4.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.YwhRRN + umask 022 + cd /builddir/build/BUILD + rm -rf hostapd-2.10 hostapd-2.10.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0