Powered by ITS. Your IP: 44.201.96.43 | libu2f-emu 981963d5-482d-4db5-b909-1e4fe0ffdac6Toc:- error 1
../src/raw/register.c:328:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 2
../src/raw/register.c:329:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 3
../src/raw/authenticate.c:357:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 4
../src/crypto.c:55:5: error: ‘d2i_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 5
../src/crypto.c:194:5: error: ‘i2d_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 6
../src/crypto.c:204:5: error: ‘ECDSA_size’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 7
../src/crypto.c:216:5: error: ‘ECDSA_sign’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 8
../src/crypto.c:233:5: error: ‘ECDSA_verify’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 9
../src/crypto.c:265:5: error: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 10
../src/crypto.c:274:5: error: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 11
../src/crypto.c:282:5: error: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 12
../src/crypto.c:299:5: error: ‘EC_KEY_key2buf’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 13
../src/crypto.c:380:5: error: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 14
../src/crypto.c:404:5: error: ‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 15
../src/crypto.c:409:5: error: ‘EC_KEY_generate_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 16
../src/crypto.c:412:9: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 17
../src/crypto.c:491:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 18
../src/crypto.c:492:5: error: ‘PEM_read_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 19
../src/crypto.c:522:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 20
../src/crypto.c:523:5: error: ‘PEM_read_bio_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 21
../src/crypto.c:562:5: error: ‘PEM_write_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 22
../src/crypto.c:570:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 23
../src/crypto.c:571:5: error: ‘PEM_read_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 24
../src/crypto.c:699:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 25
../src/crypto.c:700:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 26
../src/crypto.c:55:5: error: ‘d2i_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 27
../src/crypto.c:194:5: error: ‘i2d_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 28
../src/crypto.c:204:5: error: ‘ECDSA_size’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 29
../src/crypto.c:216:5: error: ‘ECDSA_sign’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 30
../src/crypto.c:233:5: error: ‘ECDSA_verify’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 31
../src/crypto.c:265:5: error: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 32
../src/crypto.c:274:5: error: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 33
../src/crypto.c:282:5: error: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 34
../src/crypto.c:299:5: error: ‘EC_KEY_key2buf’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 35
../src/crypto.c:380:5: error: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 36
../src/crypto.c:404:5: error: ‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 37
../src/crypto.c:409:5: error: ‘EC_KEY_generate_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 38
../src/crypto.c:412:9: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 39
../src/crypto.c:491:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 40
../src/crypto.c:492:5: error: ‘PEM_read_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 41
../src/crypto.c:522:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 42
../src/crypto.c:523:5: error: ‘PEM_read_bio_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 43
../src/crypto.c:562:5: error: ‘PEM_write_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 44
../src/crypto.c:570:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 45
../src/crypto.c:571:5: error: ‘PEM_read_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 46
../src/crypto.c:699:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 47
../src/crypto.c:700:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
- error 48
error: Bad exit status from /tmp/B.0sqfgncx/BUILD/tmp/rpm-tmp.gYp7IH (%build)
- error 49
RPM build errors:
- error 50
error: No files produced.
Content:rpm: Building for target i686-pld-linux
no BR needed
building RPM using: set -ex; : build-id: 981963d5-482d-4db5-b909-1e4fe0ffdac6; TMPDIR=/tmp/B.0sqfgncx/BUILD/tmp exec nice -n 0 rpmbuild -bb --define '__jobs 9' --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.0sqfgncx' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.0sqfgncx/libu2f-emu.spec
+ : build-id: 981963d5-482d-4db5-b909-1e4fe0ffdac6
+ TMPDIR=/tmp/B.0sqfgncx/BUILD/tmp
+ exec nice -n 0 rpmbuild -bb --define '__jobs 9' --define '_smp_mflags -j9' --define '_make_opts -Otarget' --define '_pld_builder 1' --define '_topdir /tmp/B.0sqfgncx' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target i686-pld-linux /tmp/B.0sqfgncx/libu2f-emu.spec
warning: Could not canonicalize hostname: nereid
Building target platforms: i686-pld-linux
Building for target i686-pld-linux
Executing(%prep): /bin/sh -e /tmp/B.0sqfgncx/BUILD/tmp/rpm-tmp.O4iKj1
+ umask 022
+ cd /tmp/B.0sqfgncx/BUILD
+ cd /tmp/B.0sqfgncx/BUILD
+ rm -rf libu2f-emu-d1c4b9c2e1c42e8931033912c8b609521f2a7756
+ /bin/gzip -dc /tmp/B.0sqfgncx/libu2f-emu-20200905.tar.gz
+ /bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libu2f-emu-d1c4b9c2e1c42e8931033912c8b609521f2a7756
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ ln -sf ../src/u2f-emu.h ../src/u2f-emu-types.h tests
+ RPM_EC=0
+ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /tmp/B.0sqfgncx/BUILD/tmp/rpm-tmp.gYp7IH
TMP=/home/users/builder/tmp
HOME=/home/users/builder
PATH=/home/users/builder/GNUstep/Tools:/bin:/usr/bin:/usr/local/bin:/home/users/builder/bin
TMPDIR=/tmp/B.0sqfgncx/BUILD/tmp
+ umask 022
+ cd /tmp/B.0sqfgncx/BUILD
+ cd libu2f-emu-d1c4b9c2e1c42e8931033912c8b609521f2a7756
+ CC=i686-pld-linux-gcc CXX=i686-pld-linux-g++ CFLAGS='-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' CPPFLAGS='' CXXFLAGS='-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' LC_ALL=C.UTF-8 /usr/bin/meson '--buildtype=plain' '--bindir=/usr/bin' '--datadir=/usr/share' '--includedir=/usr/include' '--infodir=/usr/share/info' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localedir=/usr/share/locale' '--localstatedir=/var' '--mandir=/usr/share/man' '--prefix=/usr' '--sbindir=/usr/sbin' '--sharedstatedir=/var/lib' '--sysconfdir=/etc' '--wrap-mode=nodownload' '--default-library=both' build
The Meson build system
Version: 0.62.2
Source dir: /tmp/B.0sqfgncx/BUILD/libu2f-emu-d1c4b9c2e1c42e8931033912c8b609521f2a7756
Build dir: /tmp/B.0sqfgncx/BUILD/libu2f-emu-d1c4b9c2e1c42e8931033912c8b609521f2a7756/build
Build type: native build
Project name: u2f-emulated
Project version: 0.0.0
C compiler for the host machine: i686-pld-linux-gcc (gcc 11.3.0 "i686-pld-linux-gcc (PLD-Linux) 11.3.0 20220421 (release)")
C linker for the host machine: i686-pld-linux-gcc ld.bfd 2.38
C++ compiler for the host machine: i686-pld-linux-g++ (gcc 11.3.0 "i686-pld-linux-g++ (PLD-Linux) 11.3.0 20220421 (release)")
C++ linker for the host machine: i686-pld-linux-g++ ld.bfd 2.38
Host machine cpu family: x86
Host machine cpu: i686
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency openssl found: YES 3.0.4
Run-time dependency GTest found: YES 1.11.0
Program doxygen found: YES (/usr/bin/doxygen)
Program dot found: YES (/usr/bin/dot)
Configuring Doxyfile using configuration
Build targets in project: 14
NOTICE: Future-deprecated features used:
* 0.56.0: {'meson.source_root', 'meson.build_root'}
u2f-emulated 0.0.0
User defined options
bindir : /usr/bin
buildtype : plain
datadir : /usr/share
default_library: both
includedir : /usr/include
infodir : /usr/share/info
libdir : /usr/lib
libexecdir : /usr/libexec
localedir : /usr/share/locale
localstatedir : /var
mandir : /usr/share/man
prefix : /usr
sbindir : /usr/sbin
sharedstatedir : /var/lib
sysconfdir : /etc
wrap_mode : nodownload
Found ninja-1.10.0 at /usr/bin/ninja
+ LC_ALL=C.UTF-8 /usr/bin/ninja -v -j9 -C build
ninja: Entering directory `build'
[1/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/error.c.o -MF src/libu2f-emu.so.0.0.0.p/error.c.o.d -o src/libu2f-emu.so.0.0.0.p/error.c.o -c ../src/error.c
[2/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/usb_transaction.c.o -MF src/libu2f-emu.so.0.0.0.p/usb_transaction.c.o.d -o src/libu2f-emu.so.0.0.0.p/usb_transaction.c.o -c ../src/usb/transaction.c
[3/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/transport.c.o -MF src/libu2f-emu.so.0.0.0.p/transport.c.o.d -o src/libu2f-emu.so.0.0.0.p/transport.c.o -c ../src/transport.c
[4/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/counter.c.o -MF src/libu2f-emu.so.0.0.0.p/counter.c.o.d -o src/libu2f-emu.so.0.0.0.p/counter.c.o -c ../src/counter.c
[5/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/payload.c.o -MF src/libu2f-emu.so.0.0.0.p/payload.c.o.d -o src/libu2f-emu.so.0.0.0.p/payload.c.o -c ../src/payload.c
[6/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/utils.c.o -MF src/libu2f-emu.so.0.0.0.p/utils.c.o.d -o src/libu2f-emu.so.0.0.0.p/utils.c.o -c ../src/utils.c
[7/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/usb_usb.c.o -MF src/libu2f-emu.so.0.0.0.p/usb_usb.c.o.d -o src/libu2f-emu.so.0.0.0.p/usb_usb.c.o -c ../src/usb/usb.c
[8/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/raw_raw.c.o -MF src/libu2f-emu.so.0.0.0.p/raw_raw.c.o.d -o src/libu2f-emu.so.0.0.0.p/raw_raw.c.o -c ../src/raw/raw.c
[9/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/usb_packet.c.o -MF src/libu2f-emu.so.0.0.0.p/usb_packet.c.o.d -o src/libu2f-emu.so.0.0.0.p/usb_packet.c.o -c ../src/usb/packet.c
[10/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/apdu_apdu.c.o -MF src/libu2f-emu.so.0.0.0.p/apdu_apdu.c.o.d -o src/libu2f-emu.so.0.0.0.p/apdu_apdu.c.o -c ../src/apdu/apdu.c
[11/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/usb_cmd.c.o -MF src/libu2f-emu.so.0.0.0.p/usb_cmd.c.o.d -o src/libu2f-emu.so.0.0.0.p/usb_cmd.c.o -c ../src/usb/cmd.c
[12/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/usb_message.c.o -MF src/libu2f-emu.so.0.0.0.p/usb_message.c.o.d -o src/libu2f-emu.so.0.0.0.p/usb_message.c.o -c ../src/usb/message.c
[13/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/transport.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/transport.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/transport.c.o -c ../src/transport.c
[14/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/u2f-emu.c.o -MF src/libu2f-emu.so.0.0.0.p/u2f-emu.c.o.d -o src/libu2f-emu.so.0.0.0.p/u2f-emu.c.o -c ../src/u2f-emu.c
[15/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/counter.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/counter.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/counter.c.o -c ../src/counter.c
[16/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/error.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/error.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/error.c.o -c ../src/error.c
[17/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/raw_register.c.o -MF src/libu2f-emu.so.0.0.0.p/raw_register.c.o.d -o src/libu2f-emu.so.0.0.0.p/raw_register.c.o -c ../src/raw/register.c
FAILED: src/libu2f-emu.so.0.0.0.p/raw_register.c.o
i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/raw_register.c.o -MF src/libu2f-emu.so.0.0.0.p/raw_register.c.o.d -o src/libu2f-emu.so.0.0.0.p/raw_register.c.o -c ../src/raw/register.c
../src/raw/register.c: In function ‘raw_register’:
../src/raw/register.c:328:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
328 | EC_KEY_free(privkey);
| ^~~~~~~~~~~
In file included from ../src/crypto.h:7,
from ../src/u2f-vdev.h:5,
from ../src/raw/register.c:3:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
../src/raw/register.c:329:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
329 | EC_KEY_free(pubkey);
| ^~~~~~~~~~~
In file included from ../src/crypto.h:7,
from ../src/u2f-vdev.h:5,
from ../src/raw/register.c:3:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[18/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/payload.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/payload.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/payload.c.o -c ../src/payload.c
[19/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/utils.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/utils.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/utils.c.o -c ../src/utils.c
[20/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/raw_authenticate.c.o -MF src/libu2f-emu.so.0.0.0.p/raw_authenticate.c.o.d -o src/libu2f-emu.so.0.0.0.p/raw_authenticate.c.o -c ../src/raw/authenticate.c
FAILED: src/libu2f-emu.so.0.0.0.p/raw_authenticate.c.o
i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/raw_authenticate.c.o -MF src/libu2f-emu.so.0.0.0.p/raw_authenticate.c.o.d -o src/libu2f-emu.so.0.0.0.p/raw_authenticate.c.o -c ../src/raw/authenticate.c
../src/raw/authenticate.c: In function ‘raw_authenticate_enforce’:
../src/raw/authenticate.c:357:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
357 | EC_KEY_free(key);
| ^~~~~~~~~~~
In file included from ../src/crypto.h:7,
from ../src/raw/authenticate.c:5:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[21/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/usb_usb.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/usb_usb.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/usb_usb.c.o -c ../src/usb/usb.c
[22/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/usb_transaction.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/usb_transaction.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/usb_transaction.c.o -c ../src/usb/transaction.c
[23/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/u2f-emu.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/u2f-emu.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/u2f-emu.c.o -c ../src/u2f-emu.c
[24/49] i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/crypto.c.o -MF src/libu2f-emu.so.0.0.0.p/crypto.c.o.d -o src/libu2f-emu.so.0.0.0.p/crypto.c.o -c ../src/crypto.c
FAILED: src/libu2f-emu.so.0.0.0.p/crypto.c.o
i686-pld-linux-gcc -Isrc/libu2f-emu.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu.so.0.0.0.p/crypto.c.o -MF src/libu2f-emu.so.0.0.0.p/crypto.c.o.d -o src/libu2f-emu.so.0.0.0.p/crypto.c.o -c ../src/crypto.c
../src/crypto.c: In function ‘crypto_ec_bytes_to_key’:
../src/crypto.c:55:5: error: ‘d2i_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
55 | key = d2i_ECPrivateKey(&key, &buffer, size);
| ^~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1187:31: note: declared here
1187 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key,
| ^~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_key_to_bytes’:
../src/crypto.c:194:5: error: ‘i2d_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
194 | return i2d_ECPrivateKey(key, buffer);
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1197:27: note: declared here
1197 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey(const EC_KEY *key,
| ^~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_sign_with_key’:
../src/crypto.c:204:5: error: ‘ECDSA_size’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
204 | int ret_size = ECDSA_size(key);
| ^~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1455:27: note: declared here
1455 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
| ^~~~~~~~~~
../src/crypto.c:216:5: error: ‘ECDSA_sign’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
216 | int sign_ret = ECDSA_sign(0,
| ^~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1414:27: note: declared here
1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst,
| ^~~~~~~~~~
../src/crypto.c:233:5: error: ‘ECDSA_verify’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
233 | int verify_ret = ECDSA_verify(0,
| ^~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1447:27: note: declared here
1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst,
| ^~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_hash’:
../src/crypto.c:265:5: error: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
265 | if (SHA256_Init(&sha256) != 1)
| ^~
In file included from /usr/include/openssl/x509.h:41,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/sha.h:73:27: note: declared here
73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
| ^~~~~~~~~~~
../src/crypto.c:274:5: error: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
274 | if (SHA256_Update(&sha256, data, data_len) != 1)
| ^~
In file included from /usr/include/openssl/x509.h:41,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/sha.h:74:27: note: declared here
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
| ^~~~~~~~~~~~~
../src/crypto.c:282:5: error: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
282 | if(SHA256_Final(*hash, &sha256) != 1)
| ^~
In file included from /usr/include/openssl/x509.h:41,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/sha.h:76:27: note: declared here
76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
| ^~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_pubkey_to_bytes’:
../src/crypto.c:299:5: error: ‘EC_KEY_key2buf’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
299 | size_t size = EC_KEY_key2buf(key,
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1133:30: note: declared here
1133 | OSSL_DEPRECATEDIN_3_0 size_t EC_KEY_key2buf(const EC_KEY *key,
| ^~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_x509_generate’:
../src/crypto.c:380:5: error: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
380 | EVP_PKEY_assign_EC_KEY(pkey, key);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/pem.h:22,
from ../src/crypto.c:10:
/usr/include/openssl/evp.h:1328:5: note: declared here
1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
| ^~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_generate_key’:
../src/crypto.c:404:5: error: ‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
404 | EC_KEY *key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/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.c:409:5: error: ‘EC_KEY_generate_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
409 | if (EC_KEY_generate_key(key) != 1)
| ^~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1101:27: note: declared here
1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
| ^~~~~~~~~~~~~~~~~~~
../src/crypto.c:412:9: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
412 | EC_KEY_free(key);
| ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_privkey_from_file’:
../src/crypto.c:491:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
491 | EC_KEY *privkey = EC_KEY_new();
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:968:31: note: declared here
968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
| ^~~~~~~~~~
../src/crypto.c:492:5: error: ‘PEM_read_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
492 | privkey = PEM_read_ECPrivateKey(fp, &privkey, NULL, NULL);
| ^~~~~~~
In file included from ../src/crypto.c:10:
/usr/include/openssl/pem.h:462:1: note: declared here
462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
| ^~~~~~~~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_privkey_from_pem’:
../src/crypto.c:522:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
522 | EC_KEY *privkey = EC_KEY_new();
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:968:31: note: declared here
968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
| ^~~~~~~~~~
../src/crypto.c:523:5: error: ‘PEM_read_bio_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
523 | PEM_read_bio_ECPrivateKey(privkey_bio, &privkey, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/crypto.c:10:
/usr/include/openssl/pem.h:462:1: note: declared here
462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
| ^~~~~~~~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_pubkey_from_priv’:
../src/crypto.c:562:5: error: ‘PEM_write_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
562 | if (PEM_write_bio_EC_PUBKEY(pubkeybio, privkey) != 1)
| ^~
In file included from ../src/crypto.c:10:
/usr/include/openssl/pem.h:463:1: note: declared here
463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
| ^~~~~~~~~~~~~~~~~~~
../src/crypto.c:570:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
570 | EC_KEY *pubkey = EC_KEY_new() ;
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:968:31: note: declared here
968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
| ^~~~~~~~~~
../src/crypto.c:571:5: error: ‘PEM_read_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
571 | pubkey = PEM_read_bio_EC_PUBKEY(pubkeybio, &pubkey, NULL, NULL);
| ^~~~~~
In file included from ../src/crypto.c:10:
/usr/include/openssl/pem.h:463:1: note: declared here
463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
| ^~~~~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_free’:
../src/crypto.c:699:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
699 | EC_KEY_free(crypto_core->pubkey);
| ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
../src/crypto.c:700:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
700 | EC_KEY_free(crypto_core->privkey);
| ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[25/49] i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/crypto.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/crypto.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/crypto.c.o -c ../src/crypto.c
FAILED: src/libu2f-emu-testing.so.0.0.0.p/crypto.c.o
i686-pld-linux-gcc -Isrc/libu2f-emu-testing.so.0.0.0.p -Isrc -I../src -fdiagnostics-color=auto -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -std=c99 -O0 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -fPIC -MD -MQ src/libu2f-emu-testing.so.0.0.0.p/crypto.c.o -MF src/libu2f-emu-testing.so.0.0.0.p/crypto.c.o.d -o src/libu2f-emu-testing.so.0.0.0.p/crypto.c.o -c ../src/crypto.c
../src/crypto.c: In function ‘crypto_ec_bytes_to_key’:
../src/crypto.c:55:5: error: ‘d2i_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
55 | key = d2i_ECPrivateKey(&key, &buffer, size);
| ^~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1187:31: note: declared here
1187 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECPrivateKey(EC_KEY **key,
| ^~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_key_to_bytes’:
../src/crypto.c:194:5: error: ‘i2d_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
194 | return i2d_ECPrivateKey(key, buffer);
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1197:27: note: declared here
1197 | OSSL_DEPRECATEDIN_3_0 int i2d_ECPrivateKey(const EC_KEY *key,
| ^~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_sign_with_key’:
../src/crypto.c:204:5: error: ‘ECDSA_size’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
204 | int ret_size = ECDSA_size(key);
| ^~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1455:27: note: declared here
1455 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey);
| ^~~~~~~~~~
../src/crypto.c:216:5: error: ‘ECDSA_sign’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
216 | int sign_ret = ECDSA_sign(0,
| ^~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1414:27: note: declared here
1414 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst,
| ^~~~~~~~~~
../src/crypto.c:233:5: error: ‘ECDSA_verify’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
233 | int verify_ret = ECDSA_verify(0,
| ^~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1447:27: note: declared here
1447 | OSSL_DEPRECATEDIN_3_0 int ECDSA_verify(int type, const unsigned char *dgst,
| ^~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_hash’:
../src/crypto.c:265:5: error: ‘SHA256_Init’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
265 | if (SHA256_Init(&sha256) != 1)
| ^~
In file included from /usr/include/openssl/x509.h:41,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/sha.h:73:27: note: declared here
73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
| ^~~~~~~~~~~
../src/crypto.c:274:5: error: ‘SHA256_Update’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
274 | if (SHA256_Update(&sha256, data, data_len) != 1)
| ^~
In file included from /usr/include/openssl/x509.h:41,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/sha.h:74:27: note: declared here
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
| ^~~~~~~~~~~~~
../src/crypto.c:282:5: error: ‘SHA256_Final’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
282 | if(SHA256_Final(*hash, &sha256) != 1)
| ^~
In file included from /usr/include/openssl/x509.h:41,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/sha.h:76:27: note: declared here
76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
| ^~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_pubkey_to_bytes’:
../src/crypto.c:299:5: error: ‘EC_KEY_key2buf’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
299 | size_t size = EC_KEY_key2buf(key,
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1133:30: note: declared here
1133 | OSSL_DEPRECATEDIN_3_0 size_t EC_KEY_key2buf(const EC_KEY *key,
| ^~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_x509_generate’:
../src/crypto.c:380:5: error: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
380 | EVP_PKEY_assign_EC_KEY(pkey, key);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/pem.h:22,
from ../src/crypto.c:10:
/usr/include/openssl/evp.h:1328:5: note: declared here
1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);
| ^~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_generate_key’:
../src/crypto.c:404:5: error: ‘EC_KEY_new_by_curve_name’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
404 | EC_KEY *key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/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.c:409:5: error: ‘EC_KEY_generate_key’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
409 | if (EC_KEY_generate_key(key) != 1)
| ^~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1101:27: note: declared here
1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key);
| ^~~~~~~~~~~~~~~~~~~
../src/crypto.c:412:9: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
412 | EC_KEY_free(key);
| ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_privkey_from_file’:
../src/crypto.c:491:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
491 | EC_KEY *privkey = EC_KEY_new();
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:968:31: note: declared here
968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
| ^~~~~~~~~~
../src/crypto.c:492:5: error: ‘PEM_read_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
492 | privkey = PEM_read_ECPrivateKey(fp, &privkey, NULL, NULL);
| ^~~~~~~
In file included from ../src/crypto.c:10:
/usr/include/openssl/pem.h:462:1: note: declared here
462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
| ^~~~~~~~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_privkey_from_pem’:
../src/crypto.c:522:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
522 | EC_KEY *privkey = EC_KEY_new();
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:968:31: note: declared here
968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
| ^~~~~~~~~~
../src/crypto.c:523:5: error: ‘PEM_read_bio_ECPrivateKey’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
523 | PEM_read_bio_ECPrivateKey(privkey_bio, &privkey, NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/crypto.c:10:
/usr/include/openssl/pem.h:462:1: note: declared here
462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY)
| ^~~~~~~~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_ec_pubkey_from_priv’:
../src/crypto.c:562:5: error: ‘PEM_write_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
562 | if (PEM_write_bio_EC_PUBKEY(pubkeybio, privkey) != 1)
| ^~
In file included from ../src/crypto.c:10:
/usr/include/openssl/pem.h:463:1: note: declared here
463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
| ^~~~~~~~~~~~~~~~~~~
../src/crypto.c:570:5: error: ‘EC_KEY_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
570 | EC_KEY *pubkey = EC_KEY_new() ;
| ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:968:31: note: declared here
968 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void);
| ^~~~~~~~~~
../src/crypto.c:571:5: error: ‘PEM_read_bio_EC_PUBKEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
571 | pubkey = PEM_read_bio_EC_PUBKEY(pubkeybio, &pubkey, NULL, NULL);
| ^~~~~~
In file included from ../src/crypto.c:10:
/usr/include/openssl/pem.h:463:1: note: declared here
463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY)
| ^~~~~~~~~~~~~~~~~~~
../src/crypto.c: In function ‘crypto_free’:
../src/crypto.c:699:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
699 | EC_KEY_free(crypto_core->pubkey);
| ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
../src/crypto.c:700:5: error: ‘EC_KEY_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
700 | EC_KEY_free(crypto_core->privkey);
| ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:33,
from /usr/include/openssl/pem.h:23,
from ../src/crypto.c:10:
/usr/include/openssl/ec.h:1003:28: note: declared here
1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
error: Bad exit status from /tmp/B.0sqfgncx/BUILD/tmp/rpm-tmp.gYp7IH (%build)
RPM build errors:
Could not canonicalize hostname: nereid
Bad exit status from /tmp/B.0sqfgncx/BUILD/tmp/rpm-tmp.gYp7IH (%build)
ended at: Wed Jun 22 22:22:50 2022, done in 0:00:01.795457
error: No files produced.
+ chmod -R u+rwX /tmp/B.0sqfgncx/BUILD
+ rm -rf /tmp/B.0sqfgncx/tmp /tmp/B.0sqfgncx/BUILD
+ rm -rf /tmp/B.0sqfgncx
Begin-PLD-Builder-Info
Build-Time: user:4.04s sys:1.24s real:3.74s (faults io:0 non-io:218863)
End-PLD-Builder-Info
|
|