Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cpp-jwt.spec'], chrootPath='/var/lib/mock/f38-build-711137-93626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cpp-jwt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/cpp-jwt-1.4-2.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cpp-jwt.spec'], chrootPath='/var/lib/mock/f38-build-711137-93626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cpp-jwt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DYRsE6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cpp-jwt-1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cpp-jwt-1.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cpp-jwt-1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Z9j2nm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-jwt-1.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/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_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -- The C compiler identification is GNU 13.0.1 -- The CXX compiler identification is GNU 13.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.8") -- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.13.0") -- Configuring done (8.4s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/cpp-jwt-1.4 -B/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/CMakeFiles /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /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 gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests/CMakeFiles/test_jwt_object.dir/DependInfo.cmake --color= cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests/CMakeFiles/test_jwt_encode.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests/CMakeFiles/test_jwt_decode.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests/CMakeFiles/test_jwt_decode_verifiy.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/test_jwt_encode.dir/build.make tests/CMakeFiles/test_jwt_encode.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /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_object.dir/build.make tests/CMakeFiles/test_jwt_object.dir/build /usr/bin/gmake -f tests/CMakeFiles/test_jwt_decode_verifiy.dir/build.make tests/CMakeFiles/test_jwt_decode_verifiy.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 15%] Building CXX object tests/CMakeFiles/test_jwt_decode.dir/test_jwt_decode.cc.o [ 15%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy.dir/test_jwt_decode_verifiy.cc.o [ 15%] Building CXX object tests/CMakeFiles/test_jwt_encode.dir/test_jwt_encode.cc.o cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_decode_verifiy.cc cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_encode.cc cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_decode.cc [ 20%] Building CXX object tests/CMakeFiles/test_jwt_object.dir/test_jwt_object.cc.o cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_object.cc In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_decode_verifiy.cc:5: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_object.cc:2: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_decode.cc:3: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_encode.cc:5: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [ 25%] Linking CXX executable test_jwt_object cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_object.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 25%] Built target test_jwt_object /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 gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /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 gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 30%] Building CXX object tests/CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/test_jwt_decode_verifiy_with_exception.cc.o cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_decode_verifiy_with_exception.cc In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_decode_verifiy_with_exception.cc:5: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [ 35%] Linking CXX executable test_jwt_decode cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 [ 40%] Linking CXX executable test_jwt_encode cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_encode.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 [ 45%] Linking CXX executable test_jwt_decode_verifiy cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode_verifiy.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 45%] Built target test_jwt_decode /usr/bin/gmake -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests/CMakeFiles/test_jwt_rsa.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/test_jwt_rsa.dir/build.make tests/CMakeFiles/test_jwt_rsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 50%] Building CXX object tests/CMakeFiles/test_jwt_rsa.dir/test_jwt_rsa.cc.o cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_rsa.cc [ 55%] Linking CXX executable test_jwt_decode_verifiy_with_exception cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_decode_verifiy_with_exception.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 55%] Built target test_jwt_decode_verifiy In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_rsa.cc:7: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 55%] Built target test_jwt_encode /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/bin/gmake -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests/CMakeFiles/test_jwt_es.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /usr/bin/gmake -f tests/CMakeFiles/test_jwt_es.dir/build.make tests/CMakeFiles/test_jwt_es.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 60%] Building CXX object tests/CMakeFiles/test_jwt_es.dir/test_jwt_es.cc.o cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_es.cc /usr/bin/gmake -f examples/CMakeFiles/simple_ex1.dir/build.make examples/CMakeFiles/simple_ex1.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/examples /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples/CMakeFiles/simple_ex1.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/simple_ex1.dir/build.make examples/CMakeFiles/simple_ex1.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 65%] Building CXX object examples/CMakeFiles/simple_ex1.dir/simple_ex1.cc.o cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/examples/simple_ex1.cc In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/examples/simple_ex1.cc:2: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/tests/test_jwt_es.cc:7: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 65%] Built target test_jwt_decode_verifiy_with_exception /usr/bin/gmake -f examples/CMakeFiles/simple_ex2.dir/build.make examples/CMakeFiles/simple_ex2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/examples /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples/CMakeFiles/simple_ex2.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/simple_ex2.dir/build.make examples/CMakeFiles/simple_ex2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 70%] Building CXX object examples/CMakeFiles/simple_ex2.dir/simple_ex2.cc.o cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/examples/simple_ex2.cc In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/examples/simple_ex2.cc:4: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [ 75%] Linking CXX executable simple_ex2 cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/simple_ex2.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/examples/rsa_256\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/simple_ex2.dir/simple_ex2.cc.o -o simple_ex2 /usr/lib64/libssl.so /usr/lib64/libcrypto.so gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 75%] Built target simple_ex2 /usr/bin/gmake -f examples/CMakeFiles/simple_ex3_rsa.dir/build.make examples/CMakeFiles/simple_ex3_rsa.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/cpp-jwt-1.4 /builddir/build/BUILD/cpp-jwt-1.4/examples /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples/CMakeFiles/simple_ex3_rsa.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /usr/bin/gmake -f examples/CMakeFiles/simple_ex3_rsa.dir/build.make examples/CMakeFiles/simple_ex3_rsa.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 80%] Building CXX object examples/CMakeFiles/simple_ex3_rsa.dir/simple_ex3_rsa.cc.o cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples && /usr/bin/g++ -DCPP_JWT_USE_VENDORED_NLOHMANN_JSON -I/builddir/build/BUILD/cpp-jwt-1.4/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/examples/simple_ex3_rsa.cc In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/jwt.hpp:37, from /builddir/build/BUILD/cpp-jwt-1.4/examples/simple_ex3_rsa.cc:6: /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp: In function 'void jwt::ec_key_deletor(EC_KEY*)': /builddir/build/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 /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/algorithm.hpp:554: /builddir/build/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)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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&)': /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [ 85%] Linking CXX executable test_jwt_rsa cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_rsa.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:267:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:270:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:273:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:276:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:279:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:282:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:222:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:225:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:228:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:231:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:234:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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]': /builddir/build/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]' /builddir/build/BUILD/cpp-jwt-1.4/include/jwt/impl/jwt.ipp:237:33: required from here /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/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:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ [ 90%] Linking CXX executable simple_ex1 cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/simple_ex1.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/examples/rsa_256\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/simple_ex1.dir/simple_ex1.cc.o -o simple_ex1 /usr/lib64/libssl.so /usr/lib64/libcrypto.so [ 95%] Linking CXX executable test_jwt_es cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_jwt_es.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/tests/certs\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 95%] Built target test_jwt_rsa gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [ 95%] Built target simple_ex1 [100%] Linking CXX executable simple_ex3_rsa cd /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/examples && /usr/bin/cmake -E cmake_link_script CMakeFiles/simple_ex3_rsa.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -Wextra -DCERT_ROOT_DIR="\"/builddir/build/BUILD/cpp-jwt-1.4/examples/rsa_256\"" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes 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 '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [100%] Built target test_jwt_es gmake[2]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' [100%] Built target simple_ex3_rsa gmake[1]: Leaving directory '/builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.teATCs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-jwt-1.4 + DESTDIR=/builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "" -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/lib64/cmake/cpp-jwt/cpp-jwtTargets.cmake -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/lib64/cmake/cpp-jwt/cpp-jwtConfig.cmake -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/lib64/cmake/cpp-jwt/cpp-jwtConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/detail -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/detail/meta.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/impl -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/impl/stack_alloc.ipp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/impl/jwt.ipp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/impl/string_view.ipp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/impl/algorithm.ipp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/impl/error_codes.ipp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/json -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/json/test_json.cc -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/json/json.hpp -- Up-to-date: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/config.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/assertions.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/base64.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/stack_alloc.hpp -- Up-to-date: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/json -- Up-to-date: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/json/json.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/error_codes.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/algorithm.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/short_string.hpp -- Up-to-date: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/detail -- Up-to-date: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/detail/meta.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/test -- Up-to-date: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/impl -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/string_view.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/exceptions.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/jwt.hpp -- Installing: /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/include/jwt/parameters.hpp + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mn06Vv + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp-jwt-1.4 + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j4 Internal ctest changing into directory: /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build Test project /builddir/build/BUILD/cpp-jwt-1.4/redhat-linux-build Start 1: test_jwt_object Start 2: test_jwt_encode Start 3: test_jwt_decode Start 4: test_jwt_decode_verifiy 1/10 Test #1: test_jwt_object .......................... Passed 0.02 sec Start 5: test_jwt_decode_verifiy_with_exception 2/10 Test #3: test_jwt_decode .......................... Passed 0.02 sec Start 6: test_jwt_rsa 3/10 Test #2: test_jwt_encode .......................... Passed 0.04 sec Start 7: test_jwt_es 4/10 Test #4: test_jwt_decode_verifiy .................. Passed 0.04 sec Start 8: simple_ex1 5/10 Test #5: test_jwt_decode_verifiy_with_exception ... Passed 0.05 sec Start 9: simple_ex2 6/10 Test #9: simple_ex2 ............................... Passed 0.01 sec Start 10: simple_ex3_rsa 7/10 Test #8: simple_ex1 ............................... Passed 0.04 sec 8/10 Test #10: simple_ex3_rsa ........................... Passed 0.05 sec 9/10 Test #7: test_jwt_es .............................. Passed 0.16 sec 10/10 Test #6: test_jwt_rsa ............................. Passed 2.02 sec 100% tests passed, 0 tests failed out of 10 Total Test time (real) = 2.07 sec + RPM_EC=0 ++ jobs -p + exit 0 Processing files: cpp-jwt-devel-1.4-2.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8HTztD + umask 022 + cd /builddir/build/BUILD + cd cpp-jwt-1.4 + DOCDIR=/builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/share/doc/cpp-jwt-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/share/doc/cpp-jwt-devel + cp -pr README.md /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/share/doc/cpp-jwt-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IT7DYh + umask 022 + cd /builddir/build/BUILD + cd cpp-jwt-1.4 + LICENSEDIR=/builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/share/licenses/cpp-jwt-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/share/licenses/cpp-jwt-devel + cp -pr LICENSE /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64/usr/share/licenses/cpp-jwt-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: cpp-jwt-devel = 1.4-2.fc38 cpp-jwt-devel(riscv-64) = 1.4-2.fc38 cpp-jwt-static Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64 Wrote: /builddir/build/RPMS/cpp-jwt-devel-1.4-2.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OxaAQP + umask 022 + cd /builddir/build/BUILD + cd cpp-jwt-1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cpp-jwt-1.4-2.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.9zOOEH + umask 022 + cd /builddir/build/BUILD + rm -rf cpp-jwt-1.4 cpp-jwt-1.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0