aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/ecdh/ecdh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/ecdh/ecdh.cpp')
-rw-r--r--src/lib/pubkey/ecdh/ecdh.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/ecdh/ecdh.cpp b/src/lib/pubkey/ecdh/ecdh.cpp
index a4791e15e..f3da737bb 100644
--- a/src/lib/pubkey/ecdh/ecdh.cpp
+++ b/src/lib/pubkey/ecdh/ecdh.cpp
@@ -64,10 +64,10 @@ ECDH_PrivateKey::create_key_agreement_op(RandomNumberGenerator& /*rng*/,
{
return make_openssl_ecdh_ka_op(*this, params);
}
- catch(Exception& e)
+ catch(Lookup_Error&)
{
if(provider == "openssl")
- throw Exception("OpenSSL ECDH refused key or params", e.what());
+ throw;
}
}
#endif