aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-11-07 09:11:06 -0500
committerJack Lloyd <[email protected]>2018-11-07 09:11:06 -0500
commitd7f0634af763484bca5ce1992d1c187a7e003e03 (patch)
treeb8ba76f42c13467c44136552117934f967248a7f /src/cli
parent506fa234b9ffced313fae452d6d1f06dee51a796 (diff)
Avoid using std::invalid_argument
See #1726
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/tls_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/tls_client.cpp b/src/cli/tls_client.cpp
index aef8e2512..7834d9328 100644
--- a/src/cli/tls_client.cpp
+++ b/src/cli/tls_client.cpp
@@ -330,7 +330,7 @@ class TLS_Client final : public Command, public Botan::TLS::Callbacks
{
if(cert_chain.empty())
{
- throw std::invalid_argument("Certificate chain was empty");
+ throw Botan::Invalid_Argument("Certificate chain was empty");
}
Botan::Path_Validation_Restrictions restrictions(