<86>May 4 03:06:20 userdel[4166558]: delete user 'rooter' <86>May 4 03:06:20 userdel[4166558]: removed group 'rooter' owned by 'rooter' <86>May 4 03:06:20 userdel[4166558]: removed shadow group 'rooter' owned by 'rooter' <86>May 4 03:06:20 groupadd[4166626]: group added to /etc/group: name=rooter, GID=1874 <86>May 4 03:06:20 groupadd[4166626]: group added to /etc/gshadow: name=rooter <86>May 4 03:06:20 groupadd[4166626]: new group: name=rooter, GID=1874 <86>May 4 03:06:20 useradd[4166679]: new user: name=rooter, UID=1874, GID=1874, home=/root, shell=/bin/bash, from=none <86>May 4 03:06:20 userdel[4166752]: delete user 'builder' <86>May 4 03:06:20 userdel[4166752]: removed group 'builder' owned by 'builder' <86>May 4 03:06:20 userdel[4166752]: removed shadow group 'builder' owned by 'builder' <86>May 4 03:06:20 groupadd[4166802]: group added to /etc/group: name=builder, GID=1875 <86>May 4 03:06:20 groupadd[4166802]: group added to /etc/gshadow: name=builder <86>May 4 03:06:20 groupadd[4166802]: new group: name=builder, GID=1875 <86>May 4 03:06:20 useradd[4166853]: new user: name=builder, UID=1875, GID=1875, home=/usr/src, shell=/bin/bash, from=none warning: Macro %cmake not found warning: Macro %cmake_build not found warning: Macro %cmake_install not found <13>May 4 03:06:24 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>May 4 03:06:24 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>May 4 03:06:24 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>May 4 03:06:24 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>May 4 03:06:24 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>May 4 03:06:24 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711571288 installed <13>May 4 03:06:24 rpmi: libngtcp2.16-1.4.0-alt1 sisyphus+343912.100.1.1 1711714683 installed <13>May 4 03:06:24 rpmi: libngtcp2_crypto_gnutls8-1.4.0-alt1 sisyphus+343912.100.1.1 1711714683 installed <13>May 4 03:06:24 rpmi: libgtest-1.13.0-alt2 sisyphus+318771.100.1.1 1681838178 installed <13>May 4 03:06:24 rpmi: libgmock-1.13.0-alt2 sisyphus+318771.100.1.1 1681838178 installed <13>May 4 03:06:24 rpmi: libgtest-devel-1.13.0-alt2 sisyphus+318771.100.1.1 1681838178 installed <13>May 4 03:06:24 rpmi: libgmock-devel-1.13.0-alt2 sisyphus+318771.100.1.1 1681838178 installed <13>May 4 03:06:24 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>May 4 03:06:24 rpmi: libstdc++13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed <13>May 4 03:06:25 rpmi: gcc13-c++-13.2.1-alt3 sisyphus+339335.100.1.1 1706563486 installed <13>May 4 03:06:25 rpmi: cmake-modules-3.29.1-alt1 sisyphus+344518.200.3.1 1712379665 installed <13>May 4 03:06:25 rpmi: libuv-1.48.0-alt1 sisyphus+340945.100.1.1 1708265066 installed <13>May 4 03:06:25 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>May 4 03:06:25 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444232 installed <13>May 4 03:06:25 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>May 4 03:06:25 rpmi: publicsuffix-list-dafsa-20240415-alt1 sisyphus+345249.100.1.1 1713270235 installed <13>May 4 03:06:25 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>May 4 03:06:25 rpmi: libnghttp3.9-1.2.0-alt1 sisyphus+343912.200.1.1 1711714725 installed <13>May 4 03:06:25 rpmi: libnghttp2-1.61.0-alt1 sisyphus+344450.100.1.1 1712304117 installed <13>May 4 03:06:25 rpmi: openldap-common-2.6.7-alt1 sisyphus+343335.200.1.1 1711113916 installed <13>May 4 03:06:25 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>May 4 03:06:25 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>May 4 03:06:25 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>May 4 03:06:25 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124288 installed <13>May 4 03:06:25 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>May 4 03:06:25 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>May 4 03:06:25 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>May 4 03:06:25 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>May 4 03:06:25 rpmi: rpm-macros-cmake-3.29.1-alt1 sisyphus+344518.300.3.1 1712379787 installed <13>May 4 03:06:25 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 4 03:06:25 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 4 03:06:25 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>May 4 03:06:25 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>May 4 03:06:25 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>May 4 03:06:25 rpmi: libcrypto3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 4 03:06:25 rpmi: libssl3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <86>May 4 03:06:25 groupadd[4183019]: group added to /etc/group: name=_keytab, GID=999 <86>May 4 03:06:25 groupadd[4183019]: group added to /etc/gshadow: name=_keytab <86>May 4 03:06:25 groupadd[4183019]: new group: name=_keytab, GID=999 <13>May 4 03:06:25 rpmi: libkrb5-1.21.2-alt2 sisyphus+338902.100.2.1 1706700934 installed <13>May 4 03:06:25 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696954 installed <86>May 4 03:06:25 groupadd[4183298]: group added to /etc/group: name=sasl, GID=998 <86>May 4 03:06:25 groupadd[4183298]: group added to /etc/gshadow: name=sasl <86>May 4 03:06:25 groupadd[4183298]: new group: name=sasl, GID=998 <13>May 4 03:06:25 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>May 4 03:06:25 rpmi: libldap2-2.6.7-alt1 sisyphus+343335.200.1.1 1711113916 installed <13>May 4 03:06:25 rpmi: libarchive13-3.6.1-alt2 sisyphus+324359.1300.6.1 1689326379 installed <13>May 4 03:06:25 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>May 4 03:06:25 rpmi: libcurl-8.7.1-alt2 sisyphus+345773.100.1.1 1713974723 installed <13>May 4 03:06:26 rpmi: cmake-3.29.1-alt1 sisyphus+344518.200.3.1 1712379665 installed <13>May 4 03:06:26 rpmi: libssl-devel-3.1.5-alt2 sisyphus+343320.140.3.1 1711982212 installed <13>May 4 03:06:26 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/cpp-jwt-1.4-alt1.nosrc.rpm (w1.gzdio) Installing cpp-jwt-1.4-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.932 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf cpp-jwt-1.4 + echo 'Source #0 (cpp-jwt-1.4.tar):' Source #0 (cpp-jwt-1.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/cpp-jwt-1.4.tar + cd cpp-jwt-1.4 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.932 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cpp-jwt-1.4 + mkdir -p x86_64-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib64 -DLIB_SUFFIX=64 -S . -B x86_64-alt-linux -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.1.5") -- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.13.0") -- Configuring done (0.6s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux + cmake --build x86_64-alt-linux --verbose --parallel 16 Change Dir: '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 gmake: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/cpp-jwt-1.4 -B/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/CMakeFiles /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f tests/CMakeFiles/test_jwt_object.dir/build.make tests/CMakeFiles/test_jwt_object.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_jwt_encode.dir/build.make tests/CMakeFiles/test_jwt_encode.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_jwt_decode.dir/build.make tests/CMakeFiles/test_jwt_decode.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_jwt_decode_verifiy.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/depend /usr/bin/gmake -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/depend /usr/bin/gmake -f examples/CMakeFiles/simple_ex1.dir/build.make examples/CMakeFiles/simple_ex1.dir/depend /usr/bin/gmake -f examples/CMakeFiles/simple_ex2.dir/build.make examples/CMakeFiles/simple_ex2.dir/depend /usr/bin/gmake -f examples/CMakeFiles/simple_ex3_rsa.dir/build.make examples/CMakeFiles/simple_ex3_rsa.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests/CMakeFiles/test_jwt_decode_verifiy.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests/CMakeFiles/test_jwt_decode.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests/CMakeFiles/test_jwt_es.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_jwt_decode.dir/build.make tests/CMakeFiles/test_jwt_decode.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_jwt_decode_verifiy.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests/CMakeFiles/test_jwt_object.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_jwt_object.dir/build.make tests/CMakeFiles/test_jwt_object.dir/build cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/examples /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples/CMakeFiles/simple_ex2.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/examples /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples/CMakeFiles/simple_ex3_rsa.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/gmake -f examples/CMakeFiles/simple_ex2.dir/build.make examples/CMakeFiles/simple_ex2.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests/CMakeFiles/test_jwt_encode.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/gmake -f examples/CMakeFiles/simple_ex3_rsa.dir/build.make examples/CMakeFiles/simple_ex3_rsa.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_jwt_encode.dir/build.make tests/CMakeFiles/test_jwt_encode.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests/CMakeFiles/test_jwt_rsa.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/build cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/cpp-jwt-1.4 /usr/src/RPM/BUILD/cpp-jwt-1.4/examples /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples/CMakeFiles/simple_ex1.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/gmake -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/build /usr/bin/gmake -f examples/CMakeFiles/simple_ex1.dir/build.make examples/CMakeFiles/simple_ex1.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 5%] Building CXX object examples/CMakeFiles/simple_ex2.dir/simple_ex2.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/examples/rsa_256\"" -std=gnu++14 -MD -MT examples/CMakeFiles/simple_ex2.dir/simple_ex2.cc.o -MF CMakeFiles/simple_ex2.dir/simple_ex2.cc.o.d -o CMakeFiles/simple_ex2.dir/simple_ex2.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/examples/simple_ex2.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/examples/simple_ex2.cc:4: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 40%] Building CXX object tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" -std=gnu++14 -MD -MT tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -MF CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o.d -o CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_object.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_object.cc:2: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 55%] Linking CXX executable simple_ex2 cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/simple_ex2.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/examples/rsa_256\"" CMakeFiles/simple_ex2.dir/simple_ex2.cc.o -o simple_ex2 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 60%] Built target simple_ex2 gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 35%] Building CXX object examples/CMakeFiles/simple_ex1.dir/simple_ex1.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/examples/rsa_256\"" -std=gnu++14 -MD -MT examples/CMakeFiles/simple_ex1.dir/simple_ex1.cc.o -MF CMakeFiles/simple_ex1.dir/simple_ex1.cc.o.d -o CMakeFiles/simple_ex1.dir/simple_ex1.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/examples/simple_ex1.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/examples/simple_ex1.cc:2: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 50%] Building CXX object tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" -std=gnu++14 -MD -MT tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -MF CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o.d -o CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_rsa.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_rsa.cc:7: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 20%] Building CXX object tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" -std=gnu++14 -MD -MT tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -MF CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o.d -o CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_decode.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_decode.cc:3: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 60%] Linking CXX executable test_jwt_object cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_object.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o -o test_jwt_object /usr/lib64/libgtest_main.so.1.13.0 /usr/lib64/libgtest.so.1.13.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 75%] Built target test_jwt_object gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 20%] Building CXX object tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" -std=gnu++14 -MD -MT tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -MF CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o.d -o CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_es.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_es.cc:7: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 30%] Building CXX object examples/CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/examples/rsa_256\"" -std=gnu++14 -MD -MT examples/CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o -MF CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o.d -o CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/examples/simple_ex3_rsa.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/examples/simple_ex3_rsa.cc:6: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 10%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" -std=gnu++14 -MD -MT tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -MF CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o.d -o CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_decode_verifiy.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_decode_verifiy.cc:5: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 45%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" -std=gnu++14 -MD -MT tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -MF CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o.d -o CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_decode_verifiy_with_exception.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_decode_verifiy_with_exception.cc:5: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 65%] Linking CXX executable simple_ex1 cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/simple_ex1.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/examples/rsa_256\"" CMakeFiles/simple_ex1.dir/simple_ex1.cc.o -o simple_ex1 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 95%] Built target simple_ex1 gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 25%] Building CXX object tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/c++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/usr/src/RPM/BUILD/cpp-jwt-1.4/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" -std=gnu++14 -MD -MT tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -MF CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o.d -o CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -c /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_encode.cc In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /usr/src/RPM/BUILD/cpp-jwt-1.4/tests/test_jwt_encode.cc:5: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:288:23: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | if (ptr) EC_KEY_free(ptr); | ~~~~~~~~~~~^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23, from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1006:28: note: declared here 1006 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/openssl/pem.h:22: /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In static member function 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&)': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static jwt::verify_result_t jwt::PEMSign::verify(jwt::string_view, jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::verify_result_t = std::pair; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:113:44: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 113 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey.get()), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:119:26: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::RS512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::RS512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES256; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES256; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES384; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES384; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp: In instantiation of 'static std::string jwt::PEMSign::public_key_ser(EVP_PKEY*, jwt::string_view, std::error_code&) [with Hasher = jwt::algo::ES512; std::string = std::__cxx11::basic_string; EVP_PKEY = evp_pkey_st; jwt::string_view = jwt::basic_string_view]': /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:496:28: required from 'static jwt::sign_result_t jwt::PEMSign::sign(jwt::string_view, jwt::string_view) [with Hasher = jwt::algo::ES512; jwt::sign_result_t = std::pair, std::error_code>; jwt::string_view = jwt::basic_string_view]' /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:264:42: warning: 'ec_key_st* EVP_PKEY_get1_EC_KEY(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 264 | EC_KEY_uptr ec_key{EVP_PKEY_get1_EC_KEY(pkey), ec_key_deletor}; | ~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/openssl/evp.h:1379:19: note: declared here 1379 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/cpp-jwt-1.4/include/jwt/impl/algorithm.ipp:271:58: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | uint32_t degree = EC_GROUP_get_degree(EC_KEY_get0_group(ec_key.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 75%] Linking CXX executable test_jwt_decode cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o -o test_jwt_decode /usr/lib64/libgtest_main.so.1.13.0 /usr/lib64/libgtest.so.1.13.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [100%] Built target test_jwt_decode gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 70%] Linking CXX executable test_jwt_rsa cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_rsa.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o -o test_jwt_rsa /usr/lib64/libgtest_main.so.1.13.0 /usr/lib64/libgtest.so.1.13.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [100%] Built target test_jwt_rsa gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 85%] Linking CXX executable simple_ex3_rsa cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/simple_ex3_rsa.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/examples/rsa_256\"" CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o -o simple_ex3_rsa /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [100%] Built target simple_ex3_rsa gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 80%] Linking CXX executable test_jwt_es cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_es.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o -o test_jwt_es /usr/lib64/libgtest_main.so.1.13.0 /usr/lib64/libgtest.so.1.13.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [100%] Built target test_jwt_es gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 90%] Linking CXX executable test_jwt_decode_verifiy cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode_verifiy.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o -o test_jwt_decode_verifiy /usr/lib64/libgtest_main.so.1.13.0 /usr/lib64/libgtest.so.1.13.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [100%] Built target test_jwt_decode_verifiy gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [ 95%] Linking CXX executable test_jwt_decode_verifiy_with_exception cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o -o test_jwt_decode_verifiy_with_exception /usr/lib64/libgtest_main.so.1.13.0 /usr/lib64/libgtest.so.1.13.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [100%] Built target test_jwt_decode_verifiy_with_exception gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [100%] Linking CXX executable test_jwt_encode cd /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_encode.dir/link.txt --verbose=1 /usr/bin/c++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wall -Wextra -DCERT_ROOT_DIR="\"/usr/src/RPM/BUILD/cpp-jwt-1.4/tests/certs\"" CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o -o test_jwt_encode /usr/lib64/libgtest_main.so.1.13.0 /usr/lib64/libgtest.so.1.13.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' [100%] Built target test_jwt_encode gmake[1]: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux/CMakeFiles 0 gmake: Leaving directory '/usr/src/RPM/BUILD/cpp-jwt-1.4/x86_64-alt-linux' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.69248 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/cpp-jwt-buildroot + : + /bin/rm -rf -- /usr/src/tmp/cpp-jwt-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd cpp-jwt-1.4 + DESTDIR=/usr/src/tmp/cpp-jwt-buildroot + cmake --install x86_64-alt-linux --verbose -- Install configuration: "" -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/lib64/cmake/cpp-jwt/cpp-jwtTargets.cmake -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/lib64/cmake/cpp-jwt/cpp-jwtConfig.cmake -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/lib64/cmake/cpp-jwt/cpp-jwtConfigVersion.cmake -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/detail -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/detail/meta.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/impl -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/impl/string_view.ipp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/impl/stack_alloc.ipp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/impl/jwt.ipp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/impl/error_codes.ipp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/impl/algorithm.ipp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/json -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/json/test_json.cc -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/json/json.hpp -- Up-to-date: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/test -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/string_view.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/stack_alloc.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/short_string.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/parameters.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/jwt.hpp -- Up-to-date: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/json -- Up-to-date: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/json/json.hpp -- Up-to-date: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/impl -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/exceptions.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/error_codes.hpp -- Up-to-date: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/detail -- Up-to-date: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/detail/meta.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/config.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/base64.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/assertions.hpp -- Installing: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/algorithm.hpp + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/cpp-jwt-buildroot (auto) Verifying and fixing files in /usr/src/tmp/cpp-jwt-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/cpp-jwt-buildroot/ (default) Compressing files in /usr/src/tmp/cpp-jwt-buildroot (auto) Adjusting library links in /usr/src/tmp/cpp-jwt-buildroot ./usr/lib64: (from :0) Verifying ELF objects in /usr/src/tmp/cpp-jwt-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/cpp-jwt-buildroot Processing files: libcpp-jwt-devel-1.4-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.69248 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd cpp-jwt-1.4 + DOCDIR=/usr/src/tmp/cpp-jwt-buildroot/usr/share/doc/libcpp-jwt-devel-1.4 + export DOCDIR + rm -rf /usr/src/tmp/cpp-jwt-buildroot/usr/share/doc/libcpp-jwt-devel-1.4 + /bin/mkdir -p /usr/src/tmp/cpp-jwt-buildroot/usr/share/doc/libcpp-jwt-devel-1.4 + cp -prL LICENSE README.md /usr/src/tmp/cpp-jwt-buildroot/usr/share/doc/libcpp-jwt-devel-1.4 + chmod -R go-w /usr/src/tmp/cpp-jwt-buildroot/usr/share/doc/libcpp-jwt-devel-1.4 + chmod -R a+rX /usr/src/tmp/cpp-jwt-buildroot/usr/share/doc/libcpp-jwt-devel-1.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JWbNGN find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IZqqOm find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/jwt.hpp:26:10: fatal error: set: No such file or directory 26 | #include | ^~~~~ compilation terminated. cpp.req: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/jwt.hpp: cpp failed, trying c++ mode /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/jwt.hpp:44:10: fatal error: nlohmann/json.hpp: No such file or directory 44 | #include "nlohmann/json.hpp" | ^~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/jwt.hpp: cpp failed /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/base64.hpp:26:10: fatal error: array: No such file or directory 26 | #include | ^~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/cpp-jwt-buildroot/usr/include/jwt/base64.hpp: cpp failed, trying c++ mode Requires: libssl-devel Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FIBOee Wrote: /usr/src/RPM/RPMS/x86_64/libcpp-jwt-devel-1.4-alt1.x86_64.rpm (w2.lzdio) 79.29user 9.97system 0:12.48elapsed 714%CPU (0avgtext+0avgdata 393860maxresident)k 0inputs+0outputs (0major+2152634minor)pagefaults 0swaps 3.60user 2.80system 0:24.21elapsed 26%CPU (0avgtext+0avgdata 131616maxresident)k 0inputs+0outputs (0major+215160minor)pagefaults 0swaps --- libcpp-jwt-devel-1.4-alt1.x86_64.rpm.repo 2023-05-30 11:53:40.000000000 +0000 +++ libcpp-jwt-devel-1.4-alt1.x86_64.rpm.hasher 2024-05-04 03:06:41.368120190 +0000 @@ -59,5 +59,5 @@ File: /usr/lib64/cmake/cpp-jwt 40755 root:root -File: /usr/lib64/cmake/cpp-jwt/cpp-jwtConfig.cmake 100644 root:root 77dfc6d76a533bbd6a12eba51b4f5374 -File: /usr/lib64/cmake/cpp-jwt/cpp-jwtConfigVersion.cmake 100644 root:root b34ed4f6d2022dc11987e33623b7f112 -File: /usr/lib64/cmake/cpp-jwt/cpp-jwtTargets.cmake 100644 root:root 85353033ef4f3dbb4eec0790c6362ce9 +File: /usr/lib64/cmake/cpp-jwt/cpp-jwtConfig.cmake 100644 root:root 9ca05a68785d9ae0f55cecba39839c1b +File: /usr/lib64/cmake/cpp-jwt/cpp-jwtConfigVersion.cmake 100644 root:root 228973016769fa14e5aceeb25f23ae75 +File: /usr/lib64/cmake/cpp-jwt/cpp-jwtTargets.cmake 100644 root:root c6808f221b1a48162b0e347b104498a6 File: /usr/share/doc/libcpp-jwt-devel-1.4 40755 root:root @@ -65,2 +65,2 @@ File: /usr/share/doc/libcpp-jwt-devel-1.4/README.md 100644 root:root df73b5f13a20fe9ab6e01a95a5660d77 -RPMIdentity: 559a5bea1c9a23440960ea1fe15ab1565e0d6a55220d3746d2e3859a91fb0557af72665dcfaa2fcbfbaa071ec48de88e23180e0e3ebd03bf0d43f2cc77fc87f0 +RPMIdentity: d7b21c12951e125a7d4cc32b173600fd8b0338ba94072ba72ea628377e85dbc4d97dfb41b85936c2c44a5751d7320215a40f4c61321fc6730350f664da699bb7