/* * TLS 1.3 Preshared Key Container * (C) 2023 Fabian Albert, René Meusel - Rohde & Schwarz Cybersecurity * 2025 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include #include #include namespace Botan::TLS { secure_vector ExternalPSK::extract_master_secret() { BOTAN_STATE_CHECK(!m_master_secret.empty()); return std::exchange(m_master_secret, {}); } } // namespace Botan::TLS