******************************************************************************** conan install botan/3.0.0@#dba884dcadfc57fb8b1e7c6cfe7e0d10 --build=botan -pr /home/conan/w/prod/BuildSingleReference/259271/c6e37ab0-ef19-4de3-8859-2268b7e2da53/profile_linux_11_libstdcpp11_gcc_release_64.botan-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) Found gcc 11.1 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=11 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] botan:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True botan/3.0.0: Forced build from source Installing package: botan/3.0.0 Requirements botan/3.0.0 from local cache - Cache Packages botan/3.0.0:e0d6cc558551a81909fd4c7863e2bc3165e48e45 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK botan/3.0.0: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/botan/3.0.0/_/_/source/src botan/3.0.0: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK botan/3.0.0: Copying sources to build folder botan/3.0.0: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/botan/3.0.0/_/_/build/e0d6cc558551a81909fd4c7863e2bc3165e48e45 botan/3.0.0: Generator txt created conanbuildinfo.txt botan/3.0.0: Calling generate() botan/3.0.0: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK botan/3.0.0: Calling build() botan/3.0.0: apply_conandata_patches(): No patches defined in conandata ----Running------ > . "/home/conan/w/prod/BuildSingleReference/.conan/data/botan/3.0.0/_/_/build/e0d6cc558551a81909fd4c7863e2bc3165e48e45/build-release/conan/conanbuild.sh" && ./configure.py --build-targets=shared --distribution-info="Conan" --without-documentation --cc-abi-flags="-m64" --extra-cxxflags="-fPIC" --cc=gcc --cpu=x86_64 --prefix=/home/conan/w/prod/BuildSingleReference/.conan/data/botan/3.0.0/_/_/package/e0d6cc558551a81909fd4c7863e2bc3165e48e45 --os=linux --amalgamation --without-pkg-config --without-os-feature=getrandom --without-os-feature=getentropy ----------------- INFO: ./configure.py invoked with options "--build-targets=shared --distribution-info=Conan --without-documentation --cc-abi-flags=-m64 --extra-cxxflags=-fPIC --cc=gcc --cpu=x86_64 --prefix=/home/conan/w/prod/BuildSingleReference/.conan/data/botan/3.0.0/_/_/package/e0d6cc558551a81909fd4c7863e2bc3165e48e45 --os=linux --amalgamation --without-pkg-config --without-os-feature=getrandom --without-os-feature=getentropy" INFO: Configuring to build Botan 3.0.0 (revision unknown) INFO: Running under 3.7.13 (default, Jun 21 2023, 22:00:42) [GCC 5.4.0 20160609] INFO: Autodetected platform information: OS="Linux" machine="x86_64" proc="x86_64" INFO: Using /etc/ssl/certs/ca-certificates.crt as system certificate store INFO: Auto-detected compiler version 11.1 INFO: Auto-detected compiler arch x86_64 INFO: Target is gcc:11.1-linux-x86_64 INFO: Assuming target x86_64 is little endian INFO: Skipping (dependency failure): asio certstor_sqlite3 sessions_sqlite3 INFO: Skipping (disabled due to compiler bug): argon2_avx2 INFO: Skipping (incompatible CPU): aes_armv8 aes_power8 sha1_armv8 sha2_32_armv8 shacal2_armv8 sm4_armv8 INFO: Skipping (incompatible OS): certstor_system_macos certstor_system_windows commoncrypto getentropy win32_stats INFO: Skipping (no enabled compression schemes): compression INFO: Skipping (requires external dependency): boost bzip2 lzma sqlite3 tpm zlib INFO: Loading modules: adler32 aead aes aes_ni aes_vperm argon2 argon2_ssse3 argon2fmt aria asn1 auto_rng base base32 base58 base64 bcrypt bcrypt_pbkdf bigint blake2 blake2mac block blowfish camellia cascade cast128 cbc ccm certstor_flatfile certstor_sql certstor_system cfb chacha chacha20poly1305 chacha_avx2 chacha_rng chacha_simd32 checksum cmac comb4p cpuid crc24 crc32 cryptobox ctr curve25519 des dh dilithium dilithium_aes dilithium_common dl_algo dl_group dlies dsa dyn_load eax ec_group ec_h2c ecc_key ecdh ecdsa ecgdsa ecies eckcdsa ed25519 elgamal eme_oaep eme_pkcs1 eme_raw emsa_pkcs1 emsa_pssr emsa_raw emsa_x931 entropy fd_unix ffi filters fpe_fe1 gcm ghash ghash_cpu ghash_vperm gmac gost_28147 gost_3410 gost_3411 hash hash_id hex hkdf hmac hmac_drbg hotp http_util idea idea_sse2 iso9796 kdf kdf1 kdf1_iso18033 kdf2 keccak keypair kyber kyber_90s kyber_common lion locking_allocator mac mce md4 md5 mdx_hash mem_pool mgf1 mode_pad modes mp nist_keywrap noekeon noekeon_simd numbertheory ocb ofb par_hash passhash9 pbes2 pbkdf pbkdf2 pem pgp_s2k pk_pad pkcs11 poly1305 poly_dbl prf_tls prf_x942 processor_rng psk_db pubkey raw_hash rc4 rdseed rfc3394 rfc6979 rmd160 rng roughtime rsa salsa20 scrypt seed serpent serpent_avx2 serpent_simd sessions_sql sha1 sha1_sse2 sha1_x86 sha2_32 sha2_32_bmi2 sha2_32_x86 sha2_64 sha2_64_bmi2 sha3 sha3_bmi2 shacal2 shacal2_avx2 shacal2_simd shacal2_x86 shake shake_cipher simd simd_avx2 siphash siv skein sm2 sm3 sm4 socket sodium sp800_108 sp800_56a sp800_56c srp6 stateful_rng stream streebog system_rng thread_utils threefish_512 tls tls12 tls13 tls_cbc trunc_hash tss twofish utils uuid whirlpool x509 x919_mac xmss xts zfec zfec_sse2 zfec_vperm INFO: Using symlink to link files into build dir (use --link-method to change) INFO: Writing amalgamation header to botan_all.h INFO: Writing amalgamation source to botan_all.cpp WARNING: Unless you are building a DLL or .so from the amalgamation, use --disable-shared as well INFO: Botan 3.0.0 (revision unknown) (unreleased undated) build setup is complete ----Running------ > . "/home/conan/w/prod/BuildSingleReference/.conan/data/botan/3.0.0/_/_/build/e0d6cc558551a81909fd4c7863e2bc3165e48e45/build-release/conan/conanbuild.sh" && /usr/bin/make -j3 ----------------- g++ -fPIC -fvisibility=hidden -fstack-protector -m64 -pthread -m64 -std=c++20 -D_REENTRANT -O3 -fPIC -DBOTAN_IS_BEING_BUILT -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -Wold-style-cast -Wsuggest-override -Wshadow -Wextra-semi -I build/include -isystem build/include/external -c botan_all.cpp -o build/obj/lib/botan_all.o Makefile:96: recipe for target 'build/obj/lib/botan_all.o' failed botan/3.0.0: botan_all.cpp: In member function 'void Botan::TLS::Channel_Impl::close()': botan_all.cpp:16625:48: error: 'Botan::TLS::AlertType Botan::TLS::Alert::CloseNotify' is private within this context 16625 | void close() { send_warning_alert(Alert::CloseNotify); } | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'Botan::TLS::Signature_Scheme Botan::TLS::{anonymous}::choose_signature_scheme(const Botan::Private_Key&, const std::vector&, const std::vector&)': botan_all.cpp:98351:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 98351 | throw TLS_Exception(Alert::HandshakeFailure, "Failed to agree on a signature algorithm"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Certificate_Verify_13::Certificate_Verify_13(const Botan::TLS::Certificate_13&, const std::vector&, std::string_view, const Transcript_Hash&, Botan::TLS::Connection_Side, Botan::Credentials_Manager&, const Botan::TLS::Policy&, Botan::TLS::Callbacks&, Botan::RandomNumberGenerator&)': botan_all.cpp:98379:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 98379 | { throw TLS_Exception(Alert::InternalError, "Application did not provide a private key for its certificate"); } | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ In file included from botan_all.cpp:8: botan_all.cpp:98383:69: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 98383 | BOTAN_ASSERT_NOMSG(m_scheme.is_compatible_with(Protocol_Version::TLS_V13)); | ^~~~~~~ botan_all.h:825:12: note: in definition of macro 'BOTAN_ASSERT_NOMSG' 825 | if(!(expr)) \ | ^~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In constructor 'Botan::TLS::Certificate_Verify_13::Certificate_Verify_13(const std::vector&, Botan::TLS::Connection_Side)': botan_all.cpp:98400:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 98400 | { throw TLS_Exception(Alert::HandshakeFailure, "Peer sent unknown signature scheme"); } | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:98402:54: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 98402 | if(!m_scheme.is_compatible_with(Protocol_Version::TLS_V13)) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:98403:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 98403 | { throw TLS_Exception(Alert::IllegalParameter, "Peer sent signature algorithm that is not suitable for TLS 1.3"); } | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'bool Botan::TLS::Certificate_Verify_13::verify(const Botan::X509_Certificate&, Botan::TLS::Callbacks&, const Transcript_Hash&) const': botan_all.cpp:98419:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 98419 | { throw TLS_Exception(Alert::IllegalParameter, "Signature algorithm does not match certificate's public key"); } | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'Botan::TLS::Protocol_Version Botan::TLS::Client_Hello_Internal::version() const': botan_all.cpp:98560:81: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 98560 | !extensions().get()->supports(Protocol_Version::TLS_V13)) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:98565:36: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 98565 | ? Protocol_Version::DTLS_V12 | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:98566:36: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 98566 | : Protocol_Version::TLS_V12; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:98571:35: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 98571 | return Protocol_Version::TLS_V13; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In constructor 'Botan::TLS::Client_Hello_12::Client_Hello_12(std::unique_ptr)': botan_all.cpp:98879:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 98879 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Client_Hello_13::Client_Hello_13(std::unique_ptr)': botan_all.cpp:99065:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 99065 | throw TLS_Exception(Alert::DecodeError, | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99076:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 99076 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99089:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::MissingExtension' is private within this context 99089 | throw TLS_Exception(Alert::MissingExtension, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99099:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 99099 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99122:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::MissingExtension' is private within this context 99122 | throw TLS_Exception(Alert::MissingExtension, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99129:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::MissingExtension' is private within this context 99129 | throw TLS_Exception(Alert::MissingExtension, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99175:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 99175 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Client_Hello_13::Client_Hello_13(const Botan::TLS::Policy&, Botan::TLS::Callbacks&, Botan::RandomNumberGenerator&, std::string_view, const std::vector >&, std::optional&)': botan_all.cpp:99202:49: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 99202 | m_data->m_legacy_version = Protocol_Version::TLS_V12; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:99204:65: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 99204 | m_data->m_suites = policy.ciphersuite_list(Protocol_Version::TLS_V13); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:99208:76: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 99208 | const auto legacy_suites = policy.ciphersuite_list(Protocol_Version::TLS_V12); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:99231:70: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 99231 | m_data->extensions().add(new Supported_Versions(Protocol_Version::TLS_V13, policy)); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:99288:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 99288 | throw TLS_Exception(Alert::InternalError, | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Hello_13::validate_updates(const Botan::TLS::Client_Hello_13&)': botan_all.cpp:99374:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 99374 | throw TLS_Exception(Alert::IllegalParameter, "Client Hello core values changed after Hello Retry Request"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99405:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 99405 | throw TLS_Exception(Alert::IllegalParameter, "Extension removed in updated Client Hello"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99434:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnsupportedExtension' is private within this context 99434 | throw TLS_Exception(Alert::UnsupportedExtension, "Added an extension in updated Client Hello"); | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:99443:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 99443 | throw TLS_Exception(Alert::IllegalParameter, "Updated Client Hello indicates early data"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'Botan::TLS::Protocol_Version Botan::TLS::Server_Hello_Internal::version() const': botan_all.cpp:99745:37: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 99745 | ? Protocol_Version::TLS_V13 | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In constructor 'Botan::TLS::Server_Hello_12::Server_Hello_12(std::unique_ptr)': botan_all.cpp:99993:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 99993 | throw TLS_Exception(Alert::ProtocolVersion, "Expected server hello of (D)TLS 1.2 or lower"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'std::optional Botan::TLS::Server_Hello_12::random_signals_downgrade() const': botan_all.cpp:100069:34: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V11' is private within this context 100069 | { return Protocol_Version::TLS_V11; } | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100071:34: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 100071 | { return Protocol_Version::TLS_V12; } | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In static member function 'static std::variant Botan::TLS::Server_Hello_13::create(const Botan::TLS::Client_Hello_13&, bool, Botan::TLS::Session_Manager&, Botan::RandomNumberGenerator&, const Botan::TLS::Policy&, Botan::TLS::Callbacks&)': botan_all.cpp:100133:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 100133 | throw TLS_Exception(Alert::HandshakeFailure, "Client did not offer any acceptable group"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In static member function 'static std::variant Botan::TLS::Server_Hello_13::parse(const std::vector&)': botan_all.cpp:100163:36: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 100163 | if(version == Protocol_Version::TLS_V13) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100171:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 100171 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ In file included from botan_all.cpp:8: botan_all.cpp: In member function 'void Botan::TLS::Server_Hello_13::basic_validation() const': botan_all.cpp:100180:62: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 100180 | BOTAN_ASSERT_NOMSG(m_data->version() == Protocol_Version::TLS_V13); | ^~~~~~~ botan_all.h:825:12: note: in definition of macro 'BOTAN_ASSERT_NOMSG' 825 | if(!(expr)) \ | ^~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100198:45: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 100198 | if(legacy_version() != Protocol_Version::TLS_V12) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100200:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 100200 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:100208:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 100208 | throw TLS_Exception(Alert::DecodeError, "compression is not supported in TLS 1.3"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:100215:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::MissingExtension' is private within this context 100215 | throw TLS_Exception(Alert::MissingExtension, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:100223:47: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 100223 | if(selected_version() != Protocol_Version::TLS_V13) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100225:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 100225 | throw TLS_Exception(Alert::IllegalParameter, "TLS 1.3 Server Hello selected a different version"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Server_Hello_13::Server_Hello_13(std::unique_ptr, Botan::TLS::Server_Hello_13::Server_Hello_Tag)': botan_all.cpp:100258:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnsupportedExtension' is private within this context 100258 | throw TLS_Exception(Alert::UnsupportedExtension, | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:100268:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::MissingExtension' is private within this context 100268 | throw TLS_Exception(Alert::MissingExtension, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Server_Hello_13::Server_Hello_13(std::unique_ptr, Botan::TLS::Server_Hello_13::Hello_Retry_Request_Tag)': botan_all.cpp:100297:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnsupportedExtension' is private within this context 100297 | throw TLS_Exception(Alert::UnsupportedExtension, | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:100306:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 100306 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'uint16_t Botan::TLS::{anonymous}::choose_ciphersuite(const Botan::TLS::Client_Hello_13&, const Botan::TLS::Policy&)': botan_all.cpp:100320:64: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 100320 | auto other_list = policy.ciphersuite_list(Protocol_Version::TLS_V13); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100358:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 100358 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Server_Hello_13::Server_Hello_13(const Botan::TLS::Client_Hello_13&, std::optional, Botan::TLS::Session_Manager&, Botan::RandomNumberGenerator&, Botan::TLS::Callbacks&, const Botan::TLS::Policy&)': botan_all.cpp:100370:40: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 100370 | Protocol_Version::TLS_V12, | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100372:70: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 100372 | make_server_hello_random(rng, Protocol_Version::TLS_V13, cb, policy), | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100385:70: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 100385 | m_data->extensions().add(new Supported_Versions(Protocol_Version::TLS_V13)); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In member function 'std::optional Botan::TLS::Server_Hello_13::random_signals_downgrade() const': botan_all.cpp:100426:34: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V11' is private within this context 100426 | { return Protocol_Version::TLS_V11; } | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100428:34: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 100428 | { return Protocol_Version::TLS_V12; } | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In constructor 'Botan::TLS::Hello_Retry_Request::Hello_Retry_Request(const Botan::TLS::Client_Hello_13&, Botan::TLS::Named_Group, const Botan::TLS::Policy&, Botan::TLS::Callbacks&)': botan_all.cpp:100447:43: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 100447 | Protocol_Version::TLS_V12 /* legacy_version */, | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:100476:70: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 100476 | m_data->extensions().add(new Supported_Versions(Protocol_Version::TLS_V13)); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In constructor 'Botan::TLS::New_Session_Ticket_13::New_Session_Ticket_13(const std::vector&, Botan::TLS::Connection_Side)': botan_all.cpp:100572:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 100572 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:100588:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 100588 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual void Botan::TLS::Callbacks::tls_verify_cert_chain(const std::vector&, const std::vector >&, const std::vector&, Botan::Usage_Type, std::string_view, const Botan::TLS::Policy&)': botan_all.cpp:101022:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadCertificate' is private within this context 101022 | throw TLS_Exception(Alert::BadCertificate, | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual std::unique_ptr Botan::TLS::Callbacks::tls_generate_ephemeral_key(const std::variant&, Botan::RandomNumberGenerator&)': botan_all.cpp:101127:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 101127 | throw TLS_Exception(Alert::DecodeError, "cannot create a key offering without a group definition"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual Botan::secure_vector Botan::TLS::Callbacks::tls_ephemeral_key_agreement(const std::variant&, const Botan::PK_Key_Agreement_Key&, const std::vector&, Botan::RandomNumberGenerator&, const Botan::TLS::Policy&)': botan_all.cpp:101158:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 101158 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:101184:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 101184 | throw TLS_Exception(Alert::HandshakeFailure, "Invalid X25519 key size"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:101194:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 101194 | throw TLS_Exception(Alert::IllegalParameter, "Did not recognize the key exchange group"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Client::Client(const std::shared_ptr&, const std::shared_ptr&, const std::shared_ptr&, const std::shared_ptr&, const std::shared_ptr&, Botan::TLS::Server_Information, Botan::TLS::Protocol_Version, const std::vector >&, std::size_t)': botan_all.cpp:101449:42: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 101449 | if(offer_version == Protocol_Version::TLS_V13) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In member function 'void Botan::TLS::Extensions::deserialize(Botan::TLS::TLS_Data_Reader&, Botan::TLS::Connection_Side, Botan::TLS::Handshake_Type)': botan_all.cpp:101716:45: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 101716 | throw TLS_Exception(TLS::Alert::DecodeError, | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Application_Layer_Protocol_Notification::Application_Layer_Protocol_Notification(Botan::TLS::TLS_Data_Reader&, uint16_t, Botan::TLS::Connection_Side)': botan_all.cpp:101942:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 101942 | throw TLS_Exception(Alert::DecodeError, | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual std::vector Botan::TLS::Application_Layer_Protocol_Notification::serialize(Botan::TLS::Connection_Side) const': botan_all.cpp:101961:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 101961 | throw TLS_Exception(Alert::InternalError, "ALPN name too long"); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Supported_Versions::Supported_Versions(Botan::TLS::Protocol_Version, const Botan::TLS::Policy&)': botan_all.cpp:102249:37: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 102249 | if(offer >= Protocol_Version::DTLS_V12 && policy.allow_dtls12()) | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:102250:49: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 102250 | m_versions.push_back(Protocol_Version::DTLS_V12); | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:102256:37: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 102256 | if(offer >= Protocol_Version::TLS_V13 && policy.allow_tls13()) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:102257:49: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 102257 | m_versions.push_back(Protocol_Version::TLS_V13); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:102260:37: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 102260 | if(offer >= Protocol_Version::TLS_V12 && policy.allow_tls12()) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:102261:49: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 102261 | m_versions.push_back(Protocol_Version::TLS_V12); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In constructor 'Botan::TLS::Record_Size_Limit::Record_Size_Limit(Botan::TLS::TLS_Data_Reader&, uint16_t, Botan::TLS::Connection_Side)': botan_all.cpp:102312:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 102312 | throw TLS_Exception(Alert::DecodeError, "invalid record_size_limit extension"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:102332:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 102332 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:102342:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 102342 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::EarlyDataIndication::EarlyDataIndication(Botan::TLS::TLS_Data_Reader&, uint16_t, Botan::TLS::Handshake_Type)': botan_all.cpp:102494:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 102494 | throw TLS_Exception(Alert::DecodeError, | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:102503:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 102503 | throw TLS_Exception(Alert::DecodeError, | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Certificate_Status_Request::Certificate_Status_Request(Botan::TLS::TLS_Data_Reader&, uint16_t, Botan::TLS::Handshake_Type, Botan::TLS::Connection_Side)': botan_all.cpp:102676:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnsupportedExtension' is private within this context 102676 | throw TLS_Exception(Alert::UnsupportedExtension, "Server sent a Certificate_Status_Request extension in an unsupported context"); | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'uint32_t Botan::TLS::{anonymous}::bitmask_for_handshake_type(Botan::TLS::Handshake_Type)': botan_all.cpp:102793:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 102793 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual void Botan::TLS::Policy::check_peer_key_acceptable(const Botan::Public_Key&) const': botan_all.cpp:103162:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InsufficientSecurity' is private within this context 103162 | throw TLS_Exception(Alert::InsufficientSecurity, | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual bool Botan::TLS::Policy::acceptable_protocol_version(Botan::TLS::Protocol_Version) const': botan_all.cpp:103192:36: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 103192 | if(version == Protocol_Version::TLS_V13 && allow_tls13()) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:103197:36: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 103197 | if(version == Protocol_Version::TLS_V12 && allow_tls12()) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:103200:36: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 103200 | if(version == Protocol_Version::DTLS_V12 && allow_dtls12()) | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In member function 'virtual Botan::TLS::Protocol_Version Botan::TLS::Policy::latest_supported_version(bool) const': botan_all.cpp:103211:56: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 103211 | if(acceptable_protocol_version(Protocol_Version::DTLS_V12)) | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:103212:35: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 103212 | return Protocol_Version::DTLS_V12; | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:103218:56: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 103218 | if(acceptable_protocol_version(Protocol_Version::TLS_V13)) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:103219:35: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 103219 | return Protocol_Version::TLS_V13; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:103221:56: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 103221 | if(acceptable_protocol_version(Protocol_Version::TLS_V12)) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:103222:35: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 103222 | return Protocol_Version::TLS_V12; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In member function 'bool Botan::TLS::Protocol_Version::operator>(const Botan::TLS::Protocol_Version&) const': botan_all.cpp:105685:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 105685 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Certificate_12::Certificate_12(const std::vector&, const Botan::TLS::Policy&)': botan_all.cpp:105855:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadCertificate' is private within this context 105855 | throw TLS_Exception(Alert::BadCertificate, | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Client_Key_Exchange::Client_Key_Exchange(Botan::TLS::Handshake_IO&, Botan::TLS::Handshake_State&, const Botan::TLS::Policy&, Botan::Credentials_Manager&, const Botan::Public_Key*, std::string_view, Botan::RandomNumberGenerator&)': botan_all.cpp:105964:42: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InsufficientSecurity' is private within this context 105964 | { throw TLS_Exception(Alert::InsufficientSecurity, "DH group validation failed"); } | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:105997:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 105997 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106024:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 106024 | throw TLS_Exception(Alert::InternalError, | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106071:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 106071 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Client_Key_Exchange::Client_Key_Exchange(const std::vector&, const Botan::TLS::Handshake_State&, const Botan::Private_Key*, Botan::Credentials_Manager&, const Botan::TLS::Policy&, Botan::RandomNumberGenerator&)': botan_all.cpp:106150:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnknownPSKIdentity' is private within this context 106150 | throw TLS_Exception(Alert::UnknownPSKIdentity, | ^~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106204:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 106204 | throw TLS_Exception(Alert::IllegalParameter, e.what()); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Server_Key_Exchange::Server_Key_Exchange(Botan::TLS::Handshake_IO&, Botan::TLS::Handshake_State&, const Botan::TLS::Policy&, Botan::Credentials_Manager&, Botan::RandomNumberGenerator&, const Botan::Private_Key*)': botan_all.cpp:106344:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 106344 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106353:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 106353 | throw TLS_Exception(Alert::InternalError, "Application did not provide a Diffie-Hellman key"); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106370:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 106370 | throw TLS_Exception(Alert::HandshakeFailure, "No shared ECC group with client"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106379:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 106379 | throw TLS_Exception(Alert::InternalError, | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106390:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 106390 | throw TLS_Exception(Alert::InternalError, "Application did not provide a EC-Diffie-Hellman key"); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'Botan::TLS::Handshake_State& Botan::TLS::Channel_Impl_12::create_handshake_state(Botan::TLS::Protocol_Version)': botan_all.cpp:106646:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 106646 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual std::size_t Botan::TLS::Channel_Impl_12::from_peer(std::span)': botan_all.cpp:106854:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::RecordOverflow' is private within this context 106854 | throw TLS_Exception(Alert::RecordOverflow, | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106871:46: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 106871 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106879:46: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 106879 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106887:46: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 106887 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106896:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 106896 | throw TLS_Exception(Alert::UnexpectedMessage, "Received handshake data after connection closure"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106902:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 106902 | throw TLS_Exception(Alert::UnexpectedMessage, "Received application data after connection closure"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106904:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 106904 | throw TLS_Exception(Alert::UnexpectedMessage, "Can't interleave application and handshake data"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106926:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadRecordMac' is private within this context 106926 | send_fatal_alert(Alert::BadRecordMac); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106931:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 106931 | send_fatal_alert(Alert::DecodeError); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:106936:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 106936 | send_fatal_alert(Alert::InternalError); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Channel_Impl_12::process_alert(Botan::secure_vector&)': botan_all.cpp:107022:35: error: 'Botan::TLS::AlertType Botan::TLS::Alert::NoRenegotiation' is private within this context 107022 | if(alert_msg.type() == Alert::NoRenegotiation) | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107039:35: error: 'Botan::TLS::AlertType Botan::TLS::Alert::CloseNotify' is private within this context 107039 | if(alert_msg.type() == Alert::CloseNotify) | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107044:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::CloseNotify' is private within this context 107044 | send_warning_alert(Alert::CloseNotify); // reply in kind | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107047:35: error: 'Botan::TLS::AlertType Botan::TLS::Alert::CloseNotify' is private within this context 107047 | if(alert_msg.type() == Alert::CloseNotify || alert_msg.is_fatal()) | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual void Botan::TLS::Channel_Impl_12::send_alert(const Botan::TLS::Alert&)': botan_all.cpp:107132:30: error: 'Botan::TLS::AlertType Botan::TLS::Alert::NoRenegotiation' is private within this context 107132 | if(alert.type() == Alert::NoRenegotiation) | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107148:30: error: 'Botan::TLS::AlertType Botan::TLS::Alert::CloseNotify' is private within this context 107148 | if(alert.type() == Alert::CloseNotify || alert.is_fatal()) | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Channel_Impl_12::secure_renegotiation_check(const Botan::TLS::Client_Hello_12*)': botan_all.cpp:107163:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107163 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107172:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107172 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Channel_Impl_12::secure_renegotiation_check(const Botan::TLS::Server_Hello_12*)': botan_all.cpp:107186:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107186 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107195:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107195 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Client_Impl_12::Client_Impl_12(std::shared_ptr, std::shared_ptr, std::shared_ptr, std::shared_ptr, std::shared_ptr, Botan::TLS::Server_Information, bool, const std::vector >&, std::size_t)': botan_all.cpp:107337:54: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 107337 | const auto version = datagram ? Protocol_Version::DTLS_V12 : Protocol_Version::TLS_V12; | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:107337:83: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 107337 | const auto version = datagram ? Protocol_Version::DTLS_V12 : Protocol_Version::TLS_V12; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In constructor 'Botan::TLS::Client_Impl_12::Client_Impl_12(const Botan::TLS::Channel_Impl::Downgrade_Information&)': botan_all.cpp:107353:70: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 107353 | Handshake_State& state = create_handshake_state(Protocol_Version::TLS_V12); | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In member function 'virtual void Botan::TLS::Client_Impl_12::initiate_handshake(Botan::TLS::Handshake_State&, bool)': botan_all.cpp:107404:27: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 107404 | ? Protocol_Version::DTLS_V12 | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:107405:27: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 107405 | : Protocol_Version::TLS_V12; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In member function 'virtual void Botan::TLS::Client_Impl_12::process_handshake_msg(const Botan::TLS::Handshake_State*, Botan::TLS::Handshake_State&, Botan::TLS::Handshake_Type, const std::vector&, bool)': botan_all.cpp:107521:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107521 | throw TLS_Exception(Alert::HandshakeFailure, "Cannot renegotiate during a handshake"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107533:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107533 | throw TLS_Exception(Alert::HandshakeFailure, "Client policy prohibits insecure renegotiation"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107540:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::NoRenegotiation' is private within this context 107540 | throw TLS_Exception(Alert::NoRenegotiation, "Client policy prohibits renegotiation"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107545:39: error: 'Botan::TLS::AlertType Botan::TLS::Alert::NoRenegotiation' is private within this context 107545 | send_warning_alert(Alert::NoRenegotiation); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107575:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 107575 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107581:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107581 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107588:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107588 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107594:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107594 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107600:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 107600 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107616:77: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V11' is private within this context 107616 | requested.has_value() && requested.value() <= Protocol_Version::TLS_V11) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:107617:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 107617 | throw TLS_Exception(Alert::IllegalParameter, "Downgrade attack detected"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107637:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnsupportedExtension' is private within this context 107637 | throw TLS_Exception(Alert::UnsupportedExtension, msg.str()); | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107643:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107643 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107668:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107668 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107674:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107674 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107681:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107681 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107707:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 107707 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107713:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107713 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107723:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 107723 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107729:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107729 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107735:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 107735 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107741:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 107741 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107782:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 107782 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107798:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadCertificate' is private within this context 107798 | throw TLS_Exception(Alert::BadCertificate, "Server certificate changed during renegotiation"); | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107807:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 107807 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107811:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadCertificate' is private within this context 107811 | throw TLS_Exception(Alert::BadCertificate, | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107849:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 107849 | throw TLS_Exception(Alert::InternalError, e.what()); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107886:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 107886 | throw TLS_Exception(Alert::DecryptError, | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107901:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 107901 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107931:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 107931 | throw TLS_Exception(Alert::InternalError, e.what()); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:107972:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 107972 | throw TLS_Exception(Alert::InternalError, "Failed to get private key for signing"); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:108009:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 108009 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:108015:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 108015 | throw TLS_Exception(Alert::DecryptError, | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual Botan::TLS::Protocol_Version Botan::TLS::Stream_Handshake_IO::initial_record_version() const': botan_all.cpp:108174:29: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 108174 | return Protocol_Version::TLS_V12; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In member function 'virtual Botan::TLS::Protocol_Version Botan::TLS::Datagram_Handshake_IO::initial_record_version() const': botan_all.cpp:108270:29: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 108270 | return Protocol_Version::DTLS_V12; | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In function 'const char* Botan::TLS::handshake_type_to_string(Botan::TLS::Handshake_Type)': botan_all.cpp:108697:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 108697 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'std::pair, Botan::Signature_Format> Botan::TLS::Handshake_State::choose_sig_format(const Botan::Private_Key&, Botan::TLS::Signature_Scheme&, bool, const Botan::TLS::Policy&) const': botan_all.cpp:108920:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 108920 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'std::pair, Botan::Signature_Format> Botan::TLS::Handshake_State::parse_sig_format(const Botan::Public_Key&, Botan::TLS::Signature_Scheme, const std::vector&, bool, const Botan::TLS::Policy&) const': botan_all.cpp:108963:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 108963 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:108969:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 108969 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:108978:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 108978 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:108993:52: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 108993 | if(!scheme.is_compatible_with(Protocol_Version::TLS_V12)) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:108994:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 108994 | { throw TLS_Exception(Alert::IllegalParameter, "Peer sent unexceptable signature scheme"); } | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:108998:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 108998 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'void Botan::TLS::{anonymous}::decrypt_record(Botan::secure_vector&, uint8_t*, std::size_t, uint64_t, Botan::TLS::Protocol_Version, Botan::TLS::Record_Type, Botan::TLS::Connection_Cipher_State&)': botan_all.cpp:109304:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadRecordMac' is private within this context 109304 | throw TLS_Exception(Alert::BadRecordMac, "AEAD packet is shorter than the tag"); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'Botan::TLS::Record_Header Botan::TLS::{anonymous}::read_tls_record(Botan::secure_vector&, const uint8_t*, std::size_t, std::size_t&, Botan::secure_vector&, Botan::TLS::Connection_Sequence_Numbers*, const get_cipherstate_fn&)': botan_all.cpp:109364:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109364 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109370:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109370 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109383:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109383 | throw TLS_Exception(Alert::ProtocolVersion, oss.str()); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109389:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109389 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109396:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::RecordOverflow' is private within this context 109396 | throw TLS_Exception(Alert::RecordOverflow, | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109400:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 109400 | throw TLS_Exception(Alert::DecodeError, | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'std::optional Botan::TLS::{anonymous}::check_for_resume(const Botan::TLS::Session_Handle&, Botan::TLS::Session_Manager&, Botan::TLS::Callbacks&, const Botan::TLS::Policy&, const Botan::TLS::Client_Hello_12*)': botan_all.cpp:109665:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 109665 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109677:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 109677 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'uint16_t Botan::TLS::{anonymous}::choose_ciphersuite(const Botan::TLS::Policy&, Botan::TLS::Protocol_Version, const std::map, std::vector >&, const Botan::TLS::Client_Hello_12&)': botan_all.cpp:109698:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 109698 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109768:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 109768 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109776:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 109776 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'Botan::TLS::Protocol_Version Botan::TLS::{anonymous}::select_version(const Botan::TLS::Policy&, Botan::TLS::Protocol_Version, Botan::TLS::Protocol_Version, const std::vector&)': botan_all.cpp:109874:106: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 109874 | if(policy.allow_dtls12() && value_exists(supported_versions, Protocol_Version(Protocol_Version::DTLS_V12))) | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:109875:38: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 109875 | return Protocol_Version::DTLS_V12; | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:109876:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109876 | throw TLS_Exception(Alert::ProtocolVersion, "No shared DTLS version"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109880:105: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 109880 | if(policy.allow_tls12() && value_exists(supported_versions, Protocol_Version(Protocol_Version::TLS_V12))) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:109881:38: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 109881 | return Protocol_Version::TLS_V12; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:109882:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109882 | throw TLS_Exception(Alert::ProtocolVersion, "No shared TLS version"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109897:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109897 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109911:69: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 109911 | if(policy.allow_dtls12() && client_offer >= Protocol_Version::DTLS_V12) | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:109912:35: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::DTLS_V12' is private within this context 109912 | return Protocol_Version::DTLS_V12; | ^~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:109916:68: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 109916 | if(policy.allow_tls12() && client_offer >= Protocol_Version::TLS_V12) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:109917:35: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V12' is private within this context 109917 | return Protocol_Version::TLS_V12; | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:109920:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109920 | throw TLS_Exception(Alert::ProtocolVersion, | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_12::process_client_hello_msg(const Botan::TLS::Handshake_State*, Botan::TLS::Server_Handshake_State&, const std::vector&, bool)': botan_all.cpp:109940:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::NoRenegotiation' is private within this context 109940 | throw TLS_Exception(Alert::NoRenegotiation, "Server policy prohibits renegotiation"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109942:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::NoRenegotiation' is private within this context 109942 | send_warning_alert(Alert::NoRenegotiation); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109949:33: error: 'Botan::TLS::AlertType Botan::TLS::Alert::NoRenegotiation' is private within this context 109949 | send_warning_alert(Alert::NoRenegotiation); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109954:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 109954 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109964:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109964 | throw TLS_Exception(Alert::ProtocolVersion, "Client offered DTLS version with major version 0xFF"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109969:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109969 | throw TLS_Exception(Alert::ProtocolVersion, "Client offered TLS version with major version under 3"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109971:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 109971 | throw TLS_Exception(Alert::ProtocolVersion, "Client offered SSLv3 which is not supported"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:109993:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 109993 | throw TLS_Exception(Alert::IllegalParameter, "Client did not offer NULL compression"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110024:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 110024 | throw TLS_Exception(Alert::HandshakeFailure, "Reuse of DTLS association requires DTLS cookie secret be set"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_12::process_certificate_msg(Botan::TLS::Server_Handshake_State&, const std::vector&)': botan_all.cpp:110073:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 110073 | throw TLS_Exception(Alert::HandshakeFailure, "Policy requires client send a certificate, but it did not"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_12::process_certificate_verify_msg(Botan::TLS::Server_Handshake_State&, Botan::TLS::Handshake_Type, const std::vector&)': botan_all.cpp:110109:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 110109 | throw TLS_Exception(Alert::DecodeError, "No client certificate sent"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110112:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadCertificate' is private within this context 110112 | throw TLS_Exception(Alert::BadCertificate, "Client certificate does not support signing"); | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110125:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 110125 | throw TLS_Exception(Alert::DecryptError, "Client cert verify failed"); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110141:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadCertificate' is private within this context 110141 | throw TLS_Exception(Alert::BadCertificate, e.what()); | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_12::process_finished_msg(Botan::TLS::Server_Handshake_State&, Botan::TLS::Handshake_Type, const std::vector&)': botan_all.cpp:110154:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 110154 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110160:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 110160 | throw TLS_Exception(Alert::DecryptError, | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_12::session_create(Botan::TLS::Server_Handshake_State&)': botan_all.cpp:110381:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnrecognizedName' is private within this context 110381 | send_warning_alert(Alert::UnrecognizedName); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'std::vector > Botan::TLS::{anonymous}::filter_signature_schemes(const std::vector&)': botan_all.cpp:110620:54: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 110620 | scheme.is_compatible_with(Protocol_Version::TLS_V13)) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:110628:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 110628 | throw TLS_Exception(Alert::HandshakeFailure, "Failed to agree on any signature algorithm"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Certificate_13::validate_extensions(const std::set&, Botan::TLS::Callbacks&) const': botan_all.cpp:110654:39: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 110654 | { throw TLS_Exception(Alert::IllegalParameter, "Certificate Entry contained an extension that was not offered"); } | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Certificate_13::verify(Botan::TLS::Callbacks&, const Botan::TLS::Policy&, Botan::Credentials_Manager&, std::string_view, bool) const': botan_all.cpp:110697:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadCertificate' is private within this context 110697 | throw TLS_Exception(Alert::BadCertificate, | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Certificate_13::setup_entries(std::vector, const Botan::TLS::Certificate_Status_Request*, Botan::TLS::Callbacks&)': botan_all.cpp:110724:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 110724 | throw TLS_Exception(Alert::InternalError, "Application didn't provide the correct number of OCSP responses"); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Certificate_13::Certificate_13(const std::vector&, const Botan::TLS::Policy&, Botan::TLS::Connection_Side)': botan_all.cpp:110805:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 110805 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110813:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 110813 | throw TLS_Exception(Alert::DecodeError, "Certificate: Message malformed"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110836:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadCertificate' is private within this context 110836 | throw TLS_Exception(Alert::BadCertificate, "The leaf certificate must be v3"); | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110862:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 110862 | throw TLS_Exception(Alert::IllegalParameter, "Certificate Entry contained an extension that is not allowed"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110880:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 110880 | throw TLS_Exception(Alert::DecodeError, "No certificates sent by server"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110892:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::HandshakeFailure' is private within this context 110892 | throw TLS_Exception(Alert::HandshakeFailure, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Certificate_Request_13::Certificate_Request_13(const std::vector&, Botan::TLS::Connection_Side)': botan_all.cpp:110956:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 110956 | throw TLS_Exception(Alert::UnexpectedMessage, "Received a Certificate_Request message from a client"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110969:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::MissingExtension' is private within this context 110969 | throw TLS_Exception(Alert::MissingExtension, "Certificate_Request message did not provide a signature_algorithms extension"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:110993:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 110993 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Encrypted_Extensions::Encrypted_Extensions(const Botan::TLS::Client_Hello_13&, const Botan::TLS::Policy&, Botan::TLS::Callbacks&)': botan_all.cpp:111144:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::MissingExtension' is private within this context 111144 | throw TLS_Exception(Alert::MissingExtension, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Encrypted_Extensions::Encrypted_Extensions(const std::vector&)': botan_all.cpp:111182:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 111182 | throw TLS_Exception(Alert::DecodeError, | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:111213:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 111213 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::Key_Update::Key_Update(const std::vector&)': botan_all.cpp:111243:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 111243 | throw TLS_Exception(Alert::DecodeError, "malformed key_update"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:111252:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 111252 | throw TLS_Exception(Alert::IllegalParameter, "unexpected key_update parameter"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'bool {anonymous}::is_user_canceled_alert(const Botan::TLS::Alert&)': botan_all.cpp:111279:46: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UserCanceled' is private within this context 111279 | return alert.type() == Botan::TLS::Alert::UserCanceled; | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'bool {anonymous}::is_close_notify_alert(const Botan::TLS::Alert&)': botan_all.cpp:111284:46: error: 'Botan::TLS::AlertType Botan::TLS::Alert::CloseNotify' is private within this context 111284 | return alert.type() == Botan::TLS::Alert::CloseNotify; | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual std::size_t Botan::TLS::Channel_Impl_13::from_peer(std::span)': botan_all.cpp:111457:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadRecordMac' is private within this context 111457 | send_fatal_alert(Alert::BadRecordMac); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:111462:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 111462 | send_fatal_alert(Alert::DecodeError); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:111467:31: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 111467 | send_fatal_alert(Alert::InternalError); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Channel_Impl_13::process_alert(Botan::secure_vector&)': botan_all.cpp:111681:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 111681 | throw TLS_Exception(Alert::DecodeError, "Error alert not marked fatal"); // will shutdown in send_alert | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'bool Botan::TLS::Cipher_State::is_compatible_with(const Botan::TLS::Ciphersuite&) const': botan_all.cpp:112068:51: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 112068 | if(!cipher.usable_in_version(Protocol_Version::TLS_V13)) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp: In member function 'virtual void Botan::TLS::Client_Impl_13::process_dummy_change_cipher_spec()': botan_all.cpp:112474:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 112474 | throw TLS_Exception(Alert::UnexpectedMessage, "Received an unexpected dummy Change Cipher Spec"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Impl_13::handle(const Botan::TLS::Server_Hello_12&)': botan_all.cpp:112524:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 112524 | throw TLS_Exception(Alert::UnexpectedMessage, "Version downgrade received after Hello Retry"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112533:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 112533 | throw TLS_Exception(Alert::ProtocolVersion, "Received an unexpected legacy Server Hello"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112548:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112548 | throw TLS_Exception(Alert::IllegalParameter, "Downgrade attack detected"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112559:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112559 | throw TLS_Exception(Alert::IllegalParameter, "Unexpected extension received"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112570:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 112570 | throw TLS_Exception(Alert::ProtocolVersion, "Protocol version was not offered"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112580:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112580 | throw TLS_Exception(Alert::IllegalParameter, "Unexpected session ID during downgrade"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'void Botan::TLS::{anonymous}::validate_server_hello_ish(const Botan::TLS::Client_Hello_13&, const Botan::TLS::Server_Hello_13&)': botan_all.cpp:112599:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112599 | throw TLS_Exception(Alert::IllegalParameter, "echoed session id did not match"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112607:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112607 | throw TLS_Exception(Alert::IllegalParameter, "Server replied with ciphersuite we didn't send"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112619:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112619 | throw TLS_Exception(Alert::IllegalParameter, "Protocol version was not offered"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Impl_13::handle(const Botan::TLS::Server_Hello_13&)': botan_all.cpp:112640:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnsupportedExtension' is private within this context 112640 | throw TLS_Exception(Alert::UnsupportedExtension, "Unsupported extension found in Server Hello"); | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112653:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112653 | throw TLS_Exception(Alert::IllegalParameter, "server changed its chosen ciphersuite"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112662:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112662 | throw TLS_Exception(Alert::IllegalParameter, "server changed its chosen protocol version"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112673:52: error: 'Botan::TLS::Version_Code Botan::TLS::Protocol_Version::TLS_V13' is private within this context 112673 | if(!cipher->usable_in_version(Protocol_Version::TLS_V13)) | ^~~~~~~ In file included from botan_all.cpp:8: botan_all.h:27497:30: note: declared private here 27497 | using enum Version_Code; | ^ botan_all.cpp:112675:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112675 | throw TLS_Exception(Alert::IllegalParameter, "Server replied using a ciphersuite not allowed in version it offered"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112690:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112690 | throw TLS_Exception(Alert::IllegalParameter, "Server Hello did not contain a key share extension"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Impl_13::handle(const Botan::TLS::Hello_Retry_Request&)': botan_all.cpp:112748:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnsupportedExtension' is private within this context 112748 | throw TLS_Exception(Alert::UnsupportedExtension, "Unsupported extension found in Hello Retry Request"); | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Impl_13::handle(const Botan::TLS::Encrypted_Extensions&)': botan_all.cpp:112780:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnsupportedExtension' is private within this context 112780 | { throw TLS_Exception(Alert::UnsupportedExtension, | ^~~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Impl_13::handle(const Botan::TLS::Certificate_Request_13&)': botan_all.cpp:112826:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 112826 | throw TLS_Exception(Alert::DecodeError, "Certificate_Request context must be empty in the main handshake"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Impl_13::handle(const Botan::TLS::Certificate_13&)': botan_all.cpp:112840:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 112840 | throw TLS_Exception(Alert::DecodeError, "Received a server certificate message with non-empty request context"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Impl_13::handle(const Botan::TLS::Certificate_Verify_13&)': botan_all.cpp:112869:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 112869 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:112881:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 112881 | { throw TLS_Exception(Alert::DecryptError, "Server certificate verification failed"); } | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Client_Impl_13::handle(const Botan::TLS::Finished_13&)': botan_all.cpp:112933:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 112933 | { throw TLS_Exception(Alert::DecryptError, "Finished message didn't verify"); } | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::{anonymous}::Key_Share_Entry::Key_Share_Entry(Botan::TLS::Group_Params, Botan::TLS::Callbacks&, Botan::RandomNumberGenerator&)': botan_all.cpp:113064:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 113064 | throw TLS_Exception(Alert::InternalError, | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113073:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 113073 | throw TLS_Exception(Alert::InternalError, | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::{anonymous}::Key_Share_ClientHello::Key_Share_ClientHello(Botan::TLS::TLS_Data_Reader&, uint16_t)': botan_all.cpp:113218:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 113218 | throw TLS_Exception(Alert::DecodeError, "Not enough data to read another KeyShareEntry"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113232:43: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 113232 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::{anonymous}::Key_Share_ClientHello::retry_offer(Botan::TLS::Group_Params, Botan::TLS::Callbacks&, Botan::RandomNumberGenerator&)': botan_all.cpp:113287:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 113287 | throw TLS_Exception(Alert::IllegalParameter, "group was already offered"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'Botan::secure_vector Botan::TLS::{anonymous}::Key_Share_ClientHello::exchange(const Botan::TLS::{anonymous}::Key_Share_ServerHello&, const Botan::TLS::Policy&, Botan::TLS::Callbacks&, Botan::RandomNumberGenerator&) const': botan_all.cpp:113363:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 113363 | throw TLS_Exception(Alert::IllegalParameter, "Server selected an unexpected key exchange group."); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Key_Share::retry_offer(const Botan::TLS::Key_Share&, const std::vector&, Botan::TLS::Callbacks&, Botan::RandomNumberGenerator&)': botan_all.cpp:113557:42: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 113557 | { throw TLS_Exception(Alert::IllegalParameter, "group was not advertised as supported"); } | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::PSK::PSK(Botan::TLS::TLS_Data_Reader&, uint16_t, Botan::TLS::Handshake_Type)': botan_all.cpp:113629:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 113629 | throw TLS_Exception(Alert::DecodeError, "Server provided a malformed PSK extension"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113661:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 113661 | throw TLS_Exception(Alert::DecodeError, "Empty PSK list"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113666:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 113666 | throw TLS_Exception(Alert::DecodeError, "Inconsistent PSK identity list"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113674:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 113674 | throw TLS_Exception(Alert::DecodeError, "Empty PSK binders list"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113681:40: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 113681 | throw TLS_Exception(Alert::IllegalParameter, "Not enough PSK binders"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113689:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 113689 | throw TLS_Exception(Alert::IllegalParameter, "Too many PSK binders"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113696:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 113696 | throw TLS_Exception(Alert::DecodeError, "Found a PSK extension in an unexpected handshake message"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'std::unique_ptr Botan::TLS::PSK::select_cipher_state(const Botan::TLS::PSK&, const Botan::TLS::Ciphersuite&)': botan_all.cpp:113780:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 113780 | throw TLS_Exception(Alert::IllegalParameter, "PSK identity selected by server is out of bounds"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:113796:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 113796 | throw TLS_Exception(Alert::IllegalParameter, "PSK and ciphersuite selected by server are not compatible"); | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'std::unique_ptr Botan::TLS::PSK::select_offered_psk(const Botan::TLS::Ciphersuite&, Botan::TLS::Session_Manager&, Botan::TLS::Callbacks&, const Botan::TLS::Policy&)': botan_all.cpp:113825:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::InternalError' is private within this context 113825 | throw TLS_Exception(Alert::InternalError, "Application chose a ticket that is not compatible with the negotiated ciphersuite"); | ^~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'Botan::TLS::Record_Type Botan::TLS::{anonymous}::read_record_type(uint8_t)': botan_all.cpp:114254:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 114254 | throw TLS_Exception(Alert::UnexpectedMessage, "TLS record type had unexpected value"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In constructor 'Botan::TLS::{anonymous}::TLSPlaintext_Header::TLSPlaintext_Header(std::vector, bool)': botan_all.cpp:114276:42: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 114276 | { throw TLS_Exception(Alert::IllegalParameter, "Received unexpected record version"); } | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114282:42: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 114282 | { throw TLS_Exception(Alert::IllegalParameter, "Received unexpected record version"); } | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114291:42: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 114291 | { throw TLS_Exception(Alert::DecodeError, "empty record received"); } | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114305:45: error: 'Botan::TLS::AlertType Botan::TLS::Alert::RecordOverflow' is private within this context 114305 | { throw TLS_Exception(Alert::RecordOverflow, "Received an encrypted record that exceeds maximum size"); } | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114319:45: error: 'Botan::TLS::AlertType Botan::TLS::Alert::RecordOverflow' is private within this context 114319 | { throw TLS_Exception(Alert::RecordOverflow, "Received a record that exceeds maximum size"); } | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'Botan::TLS::Record_Layer::ReadResult Botan::TLS::Record_Layer::next_record(Botan::TLS::Cipher_State*)': botan_all.cpp:114529:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 114529 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114544:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 114544 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114557:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 114557 | throw TLS_Exception(Alert::UnexpectedMessage, "premature Application Data received"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114561:39: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadRecordMac' is private within this context 114561 | { throw TLS_Exception(Alert::BadRecordMac, "incomplete record mac received"); } | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114564:39: error: 'Botan::TLS::AlertType Botan::TLS::Alert::RecordOverflow' is private within this context 114564 | { throw TLS_Exception(Alert::RecordOverflow, "Received an encrypted record that exceeds maximum plaintext size"); } | ^~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114575:39: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 114575 | { throw TLS_Exception(Alert::DecodeError, "No content type found in encrypted record"); } | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:114585:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 114585 | throw TLS_Exception(Alert::UnexpectedMessage, "protected change cipher spec received"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual void Botan::TLS::Server_Impl_13::process_dummy_change_cipher_spec()': botan_all.cpp:114755:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 114755 | throw TLS_Exception(Alert::UnexpectedMessage, "Received an unexpected dummy Change Cipher Spec"); | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_13::handle_reply_to_client_hello(Botan::TLS::Server_Hello_13)': botan_all.cpp:114855:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 114855 | throw TLS_Exception(Alert::DecryptError, "PSK binder does not check out"); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_13::handle(const Botan::TLS::Client_Hello_12&)': botan_all.cpp:115002:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::UnexpectedMessage' is private within this context 115002 | throw TLS_Exception(Alert::UnexpectedMessage, | ^~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:115014:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 115014 | throw TLS_Exception(Alert::ProtocolVersion, "Received a legacy Client Hello"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_13::handle(const Botan::TLS::Client_Hello_13&)': botan_all.cpp:115031:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::ProtocolVersion' is private within this context 115031 | throw TLS_Exception(Alert::ProtocolVersion, "No shared TLS version"); | ^~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:115039:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 115039 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:115065:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 115065 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_13::handle(const Botan::TLS::Certificate_13&)': botan_all.cpp:115088:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecodeError' is private within this context 115088 | throw TLS_Exception(Alert::DecodeError, "Received a client certificate message with non-empty request context"); | ^~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:115105:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::CertificateRequired' is private within this context 115105 | throw TLS_Exception(Alert::CertificateRequired, "Policy requires client send a certificate, but it did not"); | ^~~~~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_13::handle(const Botan::TLS::Certificate_Verify_13&)': botan_all.cpp:115149:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 115149 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:115166:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 115166 | { throw TLS_Exception(Alert::DecryptError, "Client certificate verification failed"); } | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'void Botan::TLS::Server_Impl_13::handle(const Botan::TLS::Finished_13&)': botan_all.cpp:115179:36: error: 'Botan::TLS::AlertType Botan::TLS::Alert::DecryptError' is private within this context 115179 | { throw TLS_Exception(Alert::DecryptError, "Finished message didn't verify"); } | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'std::size_t Botan::TLS::{anonymous}::find_client_hello_truncation_mark(std::span)': botan_all.cpp:115373:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::IllegalParameter' is private within this context 115373 | throw TLS_Exception(Alert::IllegalParameter, | ^~~~~~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In member function 'virtual void Botan::TLS::TLS_CBC_HMAC_AEAD_Decryption::finish_msg(Botan::secure_vector&, std::size_t)': botan_all.cpp:115855:34: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadRecordMac' is private within this context 115855 | throw TLS_Exception(Alert::BadRecordMac, "Message authentication failure"); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:115881:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadRecordMac' is private within this context 115881 | throw TLS_Exception(Alert::BadRecordMac, "Message authentication failure"); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:115892:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadRecordMac' is private within this context 115892 | throw TLS_Exception(Alert::BadRecordMac, "Message authentication failure"); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp:115964:37: error: 'Botan::TLS::AlertType Botan::TLS::Alert::BadRecordMac' is private within this context 115964 | throw TLS_Exception(Alert::BadRecordMac, "Message authentication failure"); | ^~~~~~~~~~~~ In file included from botan_all.cpp:8: botan_all.h:28617:27: note: declared private here 28617 | using enum AlertType; | ^ botan_all.cpp: In function 'void Botan::secure_scrub_memory(void*, std::size_t)': botan_all.cpp:118077:6: error: '::explicit_bzero' has not been declared 118077 | ::explicit_bzero(ptr, n); | ^~~~~~~~~~~~~~ make: *** [build/obj/lib/botan_all.o] Error 1 botan/3.0.0: ERROR: Package 'e0d6cc558551a81909fd4c7863e2bc3165e48e45' build failed botan/3.0.0: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/botan/3.0.0/_/_/build/e0d6cc558551a81909fd4c7863e2bc3165e48e45/build-release ERROR: botan/3.0.0: Error in build() method, line 237 self.run(self._make_cmd) ConanException: Error 2 while executing /usr/bin/make -j3