aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/cert/x509/x509_obj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cert/x509/x509_obj.cpp')
-rw-r--r--src/lib/cert/x509/x509_obj.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cert/x509/x509_obj.cpp b/src/lib/cert/x509/x509_obj.cpp
index 0f5999b5b..4dae68607 100644
--- a/src/lib/cert/x509/x509_obj.cpp
+++ b/src/lib/cert/x509/x509_obj.cpp
@@ -176,7 +176,7 @@ std::string X509_Object::hash_used_for_signature() const
bool X509_Object::check_signature(const Public_Key* pub_key) const
{
if(!pub_key)
- throw std::runtime_error("No key provided for " + PEM_label_pref + " signature check");
+ throw Exception("No key provided for " + PEM_label_pref + " signature check");
std::unique_ptr<const Public_Key> key(pub_key);
return check_signature(*key);
}