diff options
author | René Meusel <[email protected]> | 2021-11-15 16:52:32 +0100 |
---|---|---|
committer | René Meusel <[email protected]> | 2021-11-15 16:52:32 +0100 |
commit | 8dde3d0431a5f22d5f8dcf184177e10b2e6a1cc1 (patch) | |
tree | 0bffcd2d3a6300c592bf038dca293a1453cc9c8b /src/lib | |
parent | bdd1fc92b9abecdad972921e2424db5b51ccbc5b (diff) |
FIX: review comment
Co-Authored-By: Hannes Rantzsch <[email protected]>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/tls/tls_handshake_state.cpp | 2 |
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(); } |