bool handshake_complete(const Botan::TLS::Session& session) { std::cout << "Handshake complete, " << session.version().to_string() << " using " << session.ciphersuite().to_string() << std::endl; if(!session.session_id().empty()) std::cout << "Session ID " << Botan::hex_encode(session.session_id()) << std::endl; if(!session.session_ticket().empty()) std::cout << "Session ticket " << Botan::hex_encode(session.session_ticket()) << std::endl; return true; }
bool MumbleClient::OnHandshake(const Botan::TLS::Session& session) { trace("[mumble] got session %s %s\n", session.version().to_string().c_str(), session.ciphersuite().to_string().c_str()); return true; }