From 0fae1884079518e4f6d1c049cc7f341cd96c8a65 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 19 Dec 2015 16:09:17 -0500 Subject: Remove all remaining uses of throwing a std:: exception directly See GH #340 and 6b9a3a5 for background --- src/lib/tls/tls_policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/tls') 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 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 ciphersuite_codes; for(auto i : ciphersuites) -- cgit v1.2.3