aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tls_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/tls_client.cpp')
-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(