diff options
Diffstat (limited to 'src/lib/tls/tls_handshake_state.cpp')
-rw-r--r-- | src/lib/tls/tls_handshake_state.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/tls/tls_handshake_state.cpp b/src/lib/tls/tls_handshake_state.cpp index b085e378a..3799c9e7d 100644 --- a/src/lib/tls/tls_handshake_state.cpp +++ b/src/lib/tls/tls_handshake_state.cpp @@ -325,12 +325,16 @@ Handshake_State::get_next_handshake_msg() std::string Handshake_State::srp_identifier() const { +#if defined(BOTAN_HAS_SRP6) + // Authenticated via the successful key exchange if(ciphersuite().valid() && ciphersuite().kex_algo() == "SRP_SHA") return client_hello()->srp_identifier(); +#endif return ""; } + std::vector<byte> Handshake_State::session_ticket() const { if(new_session_ticket() && !new_session_ticket()->ticket().empty()) |