aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_policy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_policy.cpp')
-rw-r--r--src/lib/tls/tls_policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_policy.cpp b/src/lib/tls/tls_policy.cpp
index 7d1af71ef..374c5f12b 100644
--- a/src/lib/tls/tls_policy.cpp
+++ b/src/lib/tls/tls_policy.cpp
@@ -306,7 +306,7 @@ std::vector<u16bit> Policy::ciphersuite_list(Protocol_Version version,
}
if(ciphersuites.empty())
- throw std::logic_error("Policy does not allow any available cipher suite");
+ throw Exception("Policy does not allow any available cipher suite");
std::vector<u16bit> ciphersuite_codes;
for(auto i : ciphersuites)