aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_handshake_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_handshake_state.cpp')
-rw-r--r--src/lib/tls/tls_handshake_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_handshake_state.cpp b/src/lib/tls/tls_handshake_state.cpp
index 9f18722d0..0f4c4a378 100644
--- a/src/lib/tls/tls_handshake_state.cpp
+++ b/src/lib/tls/tls_handshake_state.cpp
@@ -293,7 +293,7 @@ const Ciphersuite& Handshake_State::ciphersuite() const
{
if (!m_ciphersuite.has_value())
{
- throw Decoding_Error("Cipher suite is not set");
+ throw Invalid_State("Cipher suite is not set");
}
return m_ciphersuite.value();
}